16f54 LED minute timer

Works done? Proud of it? Show off here! Let's see what you've built can help inspire others.

16f54 LED minute timer

Postby takao21203 » Fri Jun 22, 2012 1:36 am

This is a small project only, built it in one evening.

It is a 2-digit LED display timer, based on 16f54. I have attached the full source code.
Schematics does not exist, basically all PIC I/O pins are used to drive the LED display directly,
there is a 32768 Hz crystal as well. PIC16f54 also needs 4.7K for MCLR.

The purpose is simply to count minutes, and to try out these small SMD LED displays.
There are regular 0.28" LED displays as well, the same height, but the SMD displays are far more flat!
Not multiplexed as well, connected them manually to the PCB.
Same PCB as I use for 4-digit serial LED display!
And I rewrote firmware completely in XC8, was a matter of one hour.

However creating driving/decoding tables for different LED displays can be quite time consuming.

P6210025.jpg


7s16f54_3.zip
(10.44 KiB) Downloaded 401 times
User avatar
takao21203
Discoverer
 
Posts: 111
Joined: Mon Mar 19, 2012 7:52 pm
Location: Ireland, Europe

Re: 16f54 LED minute timer

Postby ober » Fri Jun 22, 2012 9:35 am

Is the base rotatable? You put the cover some more :)
Ober Choo
Cytron Technologies Sdn Bhd
www.cytron.com.my
User avatar
ober
Moderator
 
Posts: 1486
Joined: Wed Apr 15, 2009 1:03 pm

Re: 16f54 LED minute timer

Postby takao21203 » Fri Jun 22, 2012 11:13 am

No haha it's a little small for that.
CR2032 battery holder!

It makes me happy I always wanted a minute timer, and it's so small.
Battery lasts 48 hours now but I guess not more than additional 24 hours.

So maybe this can give proof for these LED display damage/burnout ideas!
I mean using a PIC directly with no resistors or extra parts, for LED display.
How can it become burned out, when the CR2032 button cell lasts 3 days?

Refresh is not very fast however at 32 KHz, due to C language.
I had it in assembler at first, but too much mess to add the short seconds flashing,
while displaying minutes, so I changed over to XC8.
User avatar
takao21203
Discoverer
 
Posts: 111
Joined: Mon Mar 19, 2012 7:52 pm
Location: Ireland, Europe


Return to Project Showcase

Who is online

Users browsing this forum: No registered users and 12 guests

cron