Note that each Arduino board has different I2C pins that must be connected correctly. Now we are left with the pins that are used for I2C communication. Begin by connecting the VCC pin to the Arduino’s 5V output and the GND pin to ground. Wiring a DS1307 RTC Module to an ArduinoĬonnections are straightforward. You can connect it to a 5 volt power supply.īAT is a backup supply input for any standard 3V lithium cell or other energy source to keep accurate time when the device’s main power is interrupted. SDA is a serial data pin for the I2C interface. SCL is a serial clock pin for the I2C interface. SQW pin outputs one of four square-wave frequencies: 1Hz, 4kHz, 8kHz, or 32kHz.ĭS pin should provide temperature readings if a DS18B20 temperature sensor is installed using the three mounting holes in the upper right corner, close to the battery holder (marked U1).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |