0

Clock and Shutdown button
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Clock and Shutdown button

by meclark on Tue Mar 02, 2021 4:48 pm

I'm looking at adding a RTC and shutdown button to a raspberry pi 3 B, https://howchoo.com/g/mwnlytk3zmm/how-t ... spberry-pi
"The basics is you short out IO pins 5 and 6 (GPIO3 and GND)." GPIO 3 corresponds to the SLC used for the RTC
https://learn.adafruit.com/adafruit-pcf ... time-clock
Would shorting out the SLC pin damage the clock?

meclark
 
Posts: 1
Joined: Tue Mar 02, 2021 4:25 pm

Re: Clock and Shutdown button

by mikeysklar on Wed Mar 03, 2021 5:10 pm

Stick with our guides and we do have one specifically for the PiRTC using the PCF8523.

https://learn.adafruit.com/adding-a-rea ... ng-the-rtc

Code: Select all | TOGGLE FULL SIZE
 Wiring is simple:

Connect VCC on the breakout board to the 5.0V pin of the Pi (if using DS1307)
Connect VCC on the breakout board to the 3.3V pin of the Pi (if using PCF8523 or DS3231)
Connect GND on the breakout board to the GND pin of the Pi
Connect SDA on the breakout board to the SDA pin of the Pi
Connect SCL on the breakout board to the SCL pin of the Pi


pirtc.gif
pirtc.gif (33.47 KiB) Viewed 189 times

mikeysklar
 
Posts: 4522
Joined: Mon Aug 01, 2016 8:10 pm

Please be positive and constructive with your questions and comments.