I think of adding a RTC Module to my Raspberry Pi. I found the following tutorial.
In general it's clear how I could connect it.
But I already have another thing connected to pin 5.
In short words:
- a 10k resistor between Pin#1 and Pin#5
- a pushbutton between Pin #5 and Pin #6
- I left out the LED on Pin #7
- Pin #5 is configured as IN, listening for a low signal
I need to have the 10k Pullup Connected to Pin #5 and I need a pushbutton between #5 and ground. This is used to power the raspi up or initiate a shut down.
So my basic question is:
Can I connect the RTC to Pin 5 anyway or does that interfere with the wiring above?
If I cannot connect the RTC to Pin 5, is there any alternative wiring i could use?
Either connecting the RTC to an different pin, or using an alternative layout for the wiring above. One thought on that would be connecting the pushbutton to 2 pins, perhaps adding a diode if needed. And splitting the logic a bit.
Shortcircuit between #5 and ground for power up (there is no alternative) and listening for low on any other free pin for shutting down.
Thanks in advance :)