Sunrise alarm clock

A place to document your own projects.

Sunrise alarm clock

Postby herpderp » Tue Apr 02, 2013 1:18 pm

Hi,

Here is my sunrise alarm clock; nothing exceptional: a 2 layers PCB with a PIC32, some power switching regulators, a FM radio and a µSD for sounds playback.

You can download the whole project http://herptronix.blogspot.fr/2013/04/diy-sunrise-alarm-clock.html (eagle schematics, MPLAB project, WAV files, etc... files too large to be uploaded here). The "explanations" are in french, I didn't translated it yet. There is also a short video showing this alarm clock (I didn't found a way to integrate it in this post, sorry :s)

You will find schematics (pdf), source code (only sources, in zip) and some pictures in attachment.

Regards,
herp
Attachments
layout.png
mainboard.jpg
src.zip
(224.2 KiB) Downloaded 277 times
alarm_clock.pdf
(136.27 KiB) Downloaded 326 times
global.png
User avatar
herpderp
Newbie
Newbie
 
Posts: 23
Joined: Tue Apr 02, 2013 12:21 pm

Re: Sunrise alarm clock

Postby nickjohnson » Wed Apr 03, 2013 5:28 pm

Lovely project! Are you going to sell the PCB, maybe along with a nice enclosure? I'd certainly like one.
nickjohnson
Sr. Member
Sr. Member
 
Posts: 296
Joined: Mon Nov 26, 2012 4:32 am

Re: Sunrise alarm clock

Postby jph » Wed Apr 03, 2013 9:00 pm

Where did you source the VFD display?
jph
Newbie
Newbie
 
Posts: 4
Joined: Sun Mar 11, 2012 6:51 am

Re: Sunrise alarm clock

Postby herpderp » Thu Apr 04, 2013 12:35 am

nickjohnson wrote:Lovely project! Are you going to sell the PCB, maybe along with a nice enclosure? I'd certainly like one.

"Sell the PCB"? I'm not sure to understand, I freely provide the eagle files which are OSHW...
About the enclosure: sorry, but I don't have any skill to design it ><"

jph wrote:Where did you source the VFD display?

Ebay, item "2002 Sumsung VFD display module unit NEC UL compliant", seller "sure-display", new, for about $14, one or two months ago; apparently, they don't sell this item anymore (momentarily out of stock?)
User avatar
herpderp
Newbie
Newbie
 
Posts: 23
Joined: Tue Apr 02, 2013 12:21 pm

Re: Sunrise alarm clock

Postby herpderp » Sun Jun 23, 2013 11:22 am

Hi,

I finally built a case (a simple PVC pipe ⌀65mm) for this project:

sunrise_alarm_clock_01.jpg

sunrise_alarm_clock_02.jpg

sunrise_alarm_clock_03.jpg

sunrise_alarm_clock_04.jpg
User avatar
herpderp
Newbie
Newbie
 
Posts: 23
Joined: Tue Apr 02, 2013 12:21 pm

Re: Sunrise alarm clock

Postby Markus Gritsch » Sun Jun 23, 2013 1:09 pm

Excellent project and solid build. Congratulations! Well done.
User avatar
Markus Gritsch
Sr. Member
Sr. Member
 
Posts: 297
Joined: Tue Feb 09, 2010 6:54 am

Re: Sunrise alarm clock

Postby ferdinandk » Mon Jun 24, 2013 7:05 am

Very nice design. Using simple PVC pipe for a case is really clever!

I have one question still: how do get the station name from the TEA5767? Looks to me like you are using RDS.
ferdinandk
Newbie
Newbie
 
Posts: 30
Joined: Fri Apr 27, 2012 5:21 am
Location: Germany

Re: Sunrise alarm clock

Postby herpderp » Mon Jun 24, 2013 11:46 am

Markus Gritsch wrote:Excellent project and solid build. Congratulations! Well done.

Thanks you, but it is not as clean as it seems… believe me, you wouldn’t wish seeing the inside :p

ferdinandk wrote:I have one question still: how do get the station name from the TEA5767? Looks to me like you are using RDS.

AFAIK, it is not possible to get station name with the only TEA5767, you need an additional chip. So station names are actually stored into a file, located on the µSD card. Then, a fake RDS software uses this list to display information... Sorry, it's quite a dirty way... :/
User avatar
herpderp
Newbie
Newbie
 
Posts: 23
Joined: Tue Apr 02, 2013 12:21 pm

Re: Sunrise alarm clock

Postby matseng » Mon Jun 24, 2013 12:02 pm

How, and of what, did you do the window in the pvc pipe?
User avatar
matseng
Hero Member
Hero Member
 
Posts: 876
Joined: Sat Oct 15, 2011 12:29 pm
Location: Kuala Lumpur, Malaysia

Re: Sunrise alarm clock

Postby herpderp » Mon Jun 24, 2013 12:28 pm

matseng wrote:How, and of what, did you do the window in the pvc pipe?


1) I put black duct tape on the whole pipe
2) I drilled holes (rectangular for display & LED)
3) to mask all defects, I finally covered the pipe with a transparent-black plastic sheet (an exercice-book cover in fact :s)

As you can see in the picture, the PVC pipe is a common one (the light grey color)...
I'm not very proud of this solution, but at least, the PCB is no longer dusty ><
Attachments
inside.jpg
User avatar
herpderp
Newbie
Newbie
 
Posts: 23
Joined: Tue Apr 02, 2013 12:21 pm


Return to Project logs