9/1/2023 0 Comments Ds1307 bascom program for rf![]() ![]() ![]() The SQW pin is used to provide a PWM square wave of programmable frequencies in the range of 1Hz, 4KHz, 8KHZ or 32KHz. The pins X1 and X2 are used to connect the crystal oscillator typically a 32.7KHz Quartz crystal is used. The IC can be powered by providing 5V on the Vcc pin, when the power fails it will automatically switch to battery operated mode in which it will obtain power with Lithium cell connected to pin Vbat and ground. A typical application circuit for the DS1307 from DS1307 datasheet is shown below.Īs you can see the IC has SCL (Serial Clock) and SDA (Serial Data) pins using which it communicates to the CPU, both these pins has to be pulled high using a resistor. The DS1307 is a 8-pin IC which operates on 5V and communicates with CPU though I2C protocol. Less than 500nA current when operating with batteryĮquivalent for DS1307: PCF8523, DS1820, DS1338.Square wave output driver pin to obtain square wave frequencies. ![]() The IC can work from directly supply on Vcc and switch to Battery automatically when required.Ĭrystal Oscillator should be connected to these pinsĬonnected to Positive terminal of the battery The DS1307 is a low power Full Binary (BCD) Real Time Clock (RTC) IC with 56 bytes of SVRAM that communicates through I2C Protocol. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |