Panel Cookies
Arduino simple watch example

Help me by sharing this post


Arduino watch example    |   NEXT EXAMPLE→




Once you have the PCB from the past tutorial made on this link, you can uplaod the simple watch code example. This code as you can see below can set time, store the values to the real time clok chip, set an alarm with interrumptions, have a stopwatch and more. Read the code for more. The consumption in sleep mode is very low, around 1.3mA so the 100mAh battery could last 2 days.



Downlaod simple watch code:








PART 1 - Specs of the board


This board has a lot of components. After you solder the PCB and make it work, it will ahve all the specs below:

- USB charging circuit (3.7V battery protection)
- LOW power consumption
- Battery voltage read
- USB programming chip (CH340)
- UART programming (extra)
- RTC (real time clock) and get:
       - Day of the week
       - Date: day, month, year
       - Temperature
       - Set alarm interruptions
- Buzzer control
- LED control
- 3 Push buttons
- Bluetooth connection (UART communication)
- OLED dispaly (i2c communication)





PART 2 - Set alarm



Get into the menu and set an alarm and it will beep using the buzzer. Even if the watch is in sleep mode, the interrumption will wake it up and then ring the alarm for a minute or till you press the middle button.






PART 3 - Stopwatch



Get into the menu and set an alarm and it will beep using the buzzer. Even if the watch is in sleep mode, the interrumption will wake it up and then ring the alarm for a minute or till you press the middle button.











Arduino watch example    |   NEXT EXAMPLE→
PREVIOUS TUTORIAL←

Help me by sharing this post








yt_link
insta_link
fb_link
twitter_link

Arduino watch PCB
page 1/2



Affiliate Disclosure

ADVERTISERS



PCBWAY PCB service





Curso Arduino Online nivel Intermedio