srakaheaven.blogg.se

Smart reminder water bottle
Smart reminder water bottle















Also, this multiplexing technique turns the massive amount of microcontroller pins necessary to control a display into just eleven or twelve (in place of thirty-two)! This allows each digit to be turned on or off independently. And each of the four digits in the module have their own common cathode connection point. Must be grounded if not used.įor the display module here I used a self-contained, compact common-cathode module containing four 7-segment LED numeric displays good for displaying numerical data with some simple character.Įach segment in the display module is multiplexed, meaning it shares the same anode connection points. VBAT : Battery input for any standard 3V lithium cell or other energy source.SDA : It is the I2C data pin - which communicates with the microcontroller.SCL : It is the I2C clock pin - which communicates with the microcontroller.Both the ground of the battery and the power supply are tied together. GND : This is the ground pin for the module.5V Pin : When this pin is high, then the ds1307 sends the data, and when it is low, it runs on the backup button cell.

smart reminder water bottle

As the complete system will be operate from battery, for that reason I connected VBAT pin of the RTC to ground without using coin cell. You may also buy a ready-made tiny RTC module if you don't like to make it own. So, you need not to add any external crystal. You can use DS3231 instead of DS1307 and the IC has an internal crystal oscillator. During soldering I tried to keep the module as small as possible because space is limited for my circuit. The value of the resistor may be around 2k to 10k. Two pull-up resistors are required for SCL & SDA pin of the IC. DS1307 RTC requires an external crystal to operate correctly. Let's make the real time clock module according to the attached schematic. The 24-hour/12-hour format clock/calendar provides seconds, minutes, hours, day, date, month, and year information, including corrections for leap year.

smart reminder water bottle

Address and data are transferred serially through an I2C, bidirectional bus.

#Smart reminder water bottle serial#

The DS1307 serial real-time clock (RTC) is a low power, full binary coded decimal (BCD) clock/calendar plus 56 bytes of NV SRAM. Here is the design of a compact RTC module, based on the popular RTC IC DS1307, for your everyday microcontroller projects.















Smart reminder water bottle