Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: BYO LED segment clock?  (Read 1432 times)

0 Members and 1 Guest are viewing this topic.

Franco B

  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3766
  • Last login:February 15, 2024, 09:14:06 am
BYO LED segment clock?
« on: October 14, 2009, 08:18:15 pm »
After spending far to much time making something to realise it is no longer needed I thought I would try to recycle it.

How hard would it be to make a clock out of LED segments like [these] (there is an anode version too if that makes any difference.)



I imagine I would have to make up some a PCB for it. I probably have a workable area of about 150mm (6") square by a max depth of 10-15mm.

Could anyone help me or point me in the right direction of such a project?

I have been looking for a slim black and white LED clock but I can't seem to find one, hence why I'm thinking about BMO.


MonMotha

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2378
  • Last login:February 19, 2018, 05:45:54 pm
Re: BYO LED segment clock?
« Reply #1 on: October 14, 2009, 08:36:38 pm »
No need to make a custom PCB, though you can if you like.  This should be quite doable on a piece of perfboard or donut board (I gather the Europeans call this "Veroboard").

All you need is a microcontroller with a stable clock source, some resistors, and maybe some transistors, depending on the drive characteristics of your uC's I/O lines.  If you like, you could use a premade development system like an Arduino, but bare microcontrollers (especially AVR) aren't usually too tough to handle.  The program is pretty straightforward, but it'll make extensive use of timers, which can be a little difficult for people new to the field of embedded programming.

If you have sufficient I/O to drive each segment individually, just wire them up, use a lookup table to translate BCD time into 7-segment mappings, and output the data on the port.  If you don't have enough I/O to hook up each segment individually, what you'd do is drive the common line of each digit off a bank of I/Os and then drive each segment from each digit (wired together) off another bank.  You then "scan" the display one digit at a time (turn on each digit for 1/nth of the time where n is the number of digits), thereby reducing the number of I/Os you need.

You can also do this with discrete logic, if you want, but it'll be a lot more wiring, less flexible, and involve a bunch more chips.

Franco B

  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3766
  • Last login:February 15, 2024, 09:14:06 am
Re: BYO LED segment clock?
« Reply #2 on: October 14, 2009, 09:06:29 pm »
Thanks for the input MonMotha but thats completely over my skill set.

I was originally looking at deal extreme and saw [this] but it looks to be red LEDs rather than the white shown on the box.

I may just go with something like [this]. Its not white LEDs on black or the reverse but its thin enough and not $40+ from the other clocks I have seen.

MonMotha

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2378
  • Last login:February 19, 2018, 05:45:54 pm
Re: BYO LED segment clock?
« Reply #3 on: October 14, 2009, 09:21:39 pm »
If you were contemplating making your own PCB, then I would have thought a little MCU programming would be OK, but...

Easiest way would probably be to grab an alarm clock utilizing 7segment LED displays and swap the displays out.  You'd probably have to swap some resistors, too, to account for the different voltage drop and current between red/green and white.  Finding a suitable "donor" clock may take a few tries.

drventure

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4152
  • Last login:April 23, 2024, 06:53:06 pm
  • Laser Death Ray Bargain Bin! Make me an offer!
Re: BYO LED segment clock?
« Reply #4 on: October 14, 2009, 10:13:09 pm »
How bout this

http://www.rasmicro.com/projects.htm#CLOCK



They even provide a kit with the board already done.

Or this

http://cgi.ebay.com/LED-360-7-Segment-Real-Time-Clock,-Date-and-Temp-Kit_W0QQitemZ270467843043QQcmdZViewItem

But it's a bit pricy


I just googled "LED Clock project" and waded through a bunch of gunk. There's lots of projects like that out there.

I'm still wanting to dive into a full on Nixie clock project, but real nixies (as opposed to my fake ones) can get quite pricy too.