Finish BASIC PCB Circuit / SCHEMATIC EasyEDA RTC Clock
Budget: $10 – $50 AUD
Overall this is a LOW POWER USAGE time keeper that has 'TWO Triggers'.
Project Functionality:
- Keep track of time
- Show time on OLED when toggle button/switch is in on position.
(Stop ATMEGA sleeping/lower power usage when toggle button is up as well).
- Set Date / Time with buttons(ESC/BACK, DWN, UP, ENTER)
OPTIONAL:> Set Trigger Times.
-Trigger #1 is for an external relay low to high voltage (OPTOCOUPLED/ISOLATED)
When this trigger is active current should always be 'on'.
- Trigger #2 is to replicate a 'button press', plain signal on the GPIO output pin.
When trigger #2 is 'pressed' 20seconds later Trigger 1 will close off.
I have designed a basic PCB you can see from the attached picture.
It has the following components
- ATMEGA NANO 3.0
- DS1302 (time clock)
- OLED screen 0.96
- Toggle Button
- Buttons x 4
- Connectors
-- Power
-- Trigger 1
-- Trigger 2
CODE EXISTS for the 'clock part', but not the trigger or the buttons, this would be fairly simple code to write.
https://www.hackster.io/stevie135s/oled-clock-on-nano-with-rtc-ds1302-246547
https://www.b4x.com/android/forum/threads/setting-and-reading-date-and-time-of-a-ds1302-rtc-without-a-library.112488/
https://www.codegrepper.com/code-examples/cpp/DS1302
Project Functionality:
- Keep track of time
- Show time on OLED when toggle button/switch is in on position.
(Stop ATMEGA sleeping/lower power usage when toggle button is up as well).
- Set Date / Time with buttons(ESC/BACK, DWN, UP, ENTER)
OPTIONAL:> Set Trigger Times.
-Trigger #1 is for an external relay low to high voltage (OPTOCOUPLED/ISOLATED)
When this trigger is active current should always be 'on'.
- Trigger #2 is to replicate a 'button press', plain signal on the GPIO output pin.
When trigger #2 is 'pressed' 20seconds later Trigger 1 will close off.
I have designed a basic PCB you can see from the attached picture.
It has the following components
- ATMEGA NANO 3.0
- DS1302 (time clock)
- OLED screen 0.96
- Toggle Button
- Buttons x 4
- Connectors
-- Power
-- Trigger 1
-- Trigger 2
CODE EXISTS for the 'clock part', but not the trigger or the buttons, this would be fairly simple code to write.
https://www.hackster.io/stevie135s/oled-clock-on-nano-with-rtc-ds1302-246547
https://www.b4x.com/android/forum/threads/setting-and-reading-date-and-time-of-a-ds1302-rtc-without-a-library.112488/
https://www.codegrepper.com/code-examples/cpp/DS1302