Another year, another clock, but for the first time for my alarm clocks [1][2][3] I am not using an MSP430 but a PIC24 instead. Standby current is with 5.5 ยตA only slightly higher than that of my MSP430 based ones. Time keeping is done using the RTCC pheripheral, which I also used for the first time.
It can be seen in action in this YouTube video: https://youtu.be/I8K4sLvQby4
Friendly green digits ๐
And of course it has a LiFePO4 battery on its back, being charged every few years using my new USB charger [4].
A photo transistor is also included to dim the display in the dark. Much nices to the eyes when checking what time it is in the middle of the night.
Hereโs a picture from the front side:
- And here is the wiring on the back side:
As always, please find the source code attached.
Have fun,
Markus
- Markus Gritsch
- Sr. Member
- ย
- Posts: 294
- Joined: Tue Feb 09, 2010 6:54 am
Re: PIC24 Bedside Table Alarm Clock
Some more pictures.
Prototyping on a bread board:
- Since the filling of the 7 segment display is concave,
it leaves enough room to place the common anode MOSFETs beneath it:
- Who needs an ICSP connector when using a PDIP package :)Markus Gritsch
Re: PIC24 Bedside Table Alarm Clock
Very nice, Markus. Where could someone source that miniature clock display?
Cheerful regards, Mike
- McLaren
- Newbie
- ย
- Posts: 17
- Joined: Sat Mar 10, 2012 4:53 pm
- Location: Michigan, USA
Re: PIC24 Bedside Table Alarm Clock
http://www.pollin.de/shop/dt/ODQ4ODc4OT โฆ Digit.html
- Markus Gritsch
- Sr. Member
- ย
- Posts: 294
- Joined: Tue Feb 09, 2010 6:54 am
Re: PIC24 Bedside Table Alarm Clock
This is great Markus, Iโve always wanted to make my own alarm clock. Iโve been giving this a go over the past few days but my clock doesnโt dim in the dark. Maybe my photo transistor is broken. Where did you get yours?
Markus Gritsch wrote:Another year, another clock, but for the first time for my alarm clocks [1][2][3] I am not using an MSP430 but a PIC24 instead. Standby current is with 5.5 ยตA only slightly higher than that of my MSP430 based ones. Time keeping is done using the RTCC pheripheral, which I also used for the first time.
It can be seen in action in this YouTube video:
Friendly green digits ๐And of course it has a LiFePO4 battery on its back, being charged every few years using my new USB charger [4].
A photo transistor is also included to dim the display in the dark. Much nices to the eyes when checking what time it is in the middle of the night.
Hereโs a picture from the front side:
For more detail:ย pIC24 Bedside Table Alarm Clock