|
PIC16F819T-E/SOMICROCHIP TECHNOLOGY
|
x 1 | |
|
TM1637 MODULE |
x 1 | |
|
DS1302时钟模块不带电池 |
x 1 |
|
MPLAB IDE v8.92Microchip
|
|
|
Altium DesignerAltium Designer
|
|
|
Sprint-Layout 6 |
|
|
Proteus 8 |
Let's breathe new LED life into old quartz watches
Good afternoon, dear colleagues.
Let me introduce you to my version of LED watches. Let's breathe new life into old quartz watches.
A pointer clock with LEDs instead of hands. Blue LEDs act as the hour hand, and yellow ones act as the minute hand. Seconds are shown by lighting up the LED on the corresponding character place of the minute scale if the value of seconds is greater than the value of minutes, or by extinguishing the corresponding LED on the minute scale if the value of seconds is less than the value of minutes.
General view of the clock in the picture:
The project is assembled on a PIC16f819 microcontroller based on an old quartz watch. Only the watch case was taken, holes were drilled at the minute marks, LEDs, a screen, and an infrared LED were inserted. The general appearance of the watch can be seen in the photo and video.
The whole circuit consists of a microcontroller and modules: a real-time clock based on DS1302 , a screen based on TM 1637, an infrared receiver, and a shift register board.
DS1302 Real Time Clock Module
TM1637 module
IR sensor
When power is supplied, the date and time are read from the RTC module, and the saved alarm values are read from the MC. The LED scales display the current time. The first view is displayed on the screen.
List of species:
0. Minutes : seconds
1. Hours : minutes
2. Number : month
3. Day of the week ( Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday)
4. Year
5. Ring / Rele – alarm/time relay operating mode
6. On / Off - on/off state item 5
7. ton – turn-on setting
8. toff – trip setting
Controlling the clock via remote control:
* - switching the displayed type from 0 to 8 in a circle;
#- change the setting of the currently displayed value/save the changed value;
↑- increase of the set point ;
↓-decrease the setting ;
View 5 ( Ring / Rele ) indicates which alarm mode is selected :
Ring - "ring" mode (in this mode, view 8 is not displayed) - beeps for 1 minute, then pauses for 1 minute and repeats 10 times, you can reset it earlier by pressing the * button;
Rele - the "relay" mode - performs the work of a time relay - when the time ton is reached
- turns on the relay, when reaching to ff – turns off the relay.
There are 3 possible options for switching on the relay:
1. setting ton > to ff : the relay will turn on today at time ton , and turn off tomorrow at time to ff .
2. setting ton < to ff : the relay will be on while the condition is met
ton < current time <to ff .
3. setting ton = to ff : when time ton is reached, the relay will be switched on in pulse mode for 0.5 sec .
Changing the setting of any kind is carried out as follows.
Select the desired type by pressing the * button, then press the # button, the displayed value starts to blink, use the ↑,↓ buttons to set the desired value, pressing the # button again saves the setting . The alarm settings are saved in the EEPROM of the microcontroller.
The clock is powered by a 5 V power supply. When the power supply is lost, the date and time are saved in the RTC module and the module continues to operate on battery power, and is restored when the power supply is restored.
This project is assembled , debugged and works at my home.
Thank you for your atention.
Let's breathe new LED life into old quartz watches
- Comments(0)
- Likes(2)
- Engineer Nov 04,2024
- Jose Fabian RCIPF Oct 28,2024
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Andreyzan ZAN
-
Build a Walking Robot: Theo Jansen Style 3D Printed Octopod
133 0 3 -
-
-
kmMiniSchield MIDI I/O - IN/OUT/THROUGH MIDI extension for kmMidiMini
141 0 0 -
DIY Laser Power Meter with Arduino
216 0 2 -
-
-
Box & Bolt, 3D Printed Cardboard Crafting Tools
187 0 2