PIC24 Bedside Table Alarm Clock

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
Sr. Member
 
Posts: 294
Joined: Tue Feb 09, 2010 6:54 am
Top

Re: PIC24 Bedside Table Alarm Clock

Postby Markus Gritsch » Thu Oct 08, 2015 3:21 am

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
Sr. Member
PIC24 Bedside Table Alarm Clock
Sr. Member
 
Posts: 294
Joined: Tue Feb 09, 2010 6:54 am

Re: PIC24 Bedside Table Alarm Clock

Postby McLaren » Tue Oct 13, 2015 5:52 am

Very nice, Markus. Where could someone source that miniature clock display?

Cheerful regards, Mike

McLaren
Newbie
Newbie
 
Posts: 17
Joined: Sat Mar 10, 2012 4:53 pm
Location: Michigan, USA
Top

Re: PIC24 Bedside Table Alarm Clock

Postby Markus Gritsch » Tue Oct 13, 2015 6:26 am

I used this one from a distributor in Germany:
http://www.pollin.de/shop/dt/ODQ4ODc4OT … Digit.html
Markus Gritsch
Sr. Member
Sr. Member
 
Posts: 294
Joined: Tue Feb 09, 2010 6:54 am

Re: PIC24 Bedside Table Alarm Clock

Postby Archers » Wed Dec 30, 2015 6:05 am

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:

IMG_4912_1600x1200_85.jpg

For more detail:  pIC24 Bedside Table Alarm Clock

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter