Author Topic: Solution For Making 7 Seg. Clock  (Read 10764 times)

0 Members and 1 Guest are viewing this topic.

Offline skillz21Topic starter

  • Frequent Contributor
  • **
  • Posts: 311
  • Country: au
Solution For Making 7 Seg. Clock
« on: January 21, 2016, 05:07:44 am »
I am looking for a way to make a 7 segment clock. Without arduino. :palm:. is there a certain ic or something that i can use to drive 4 seven segment displays? and an ic to keep the time. i need to display the time on the displays. I know that it would be much easier to just use an arduino but i don't want to.
Thanks!
 ;)
 

Offline Skimask

  • Super Contributor
  • ***
  • Posts: 1433
  • Country: us
Re: Solution For Making 7 Seg. Clock
« Reply #1 on: January 21, 2016, 05:27:07 am »
I didn't take it apart.
I turned it on.

The only stupid question is, well, most of them...

Save a fuse...Blow an electrician.
 

Offline rdl

  • Super Contributor
  • ***
  • Posts: 3667
  • Country: us
Re: Solution For Making 7 Seg. Clock
« Reply #2 on: January 21, 2016, 06:01:26 am »
Here is a link where one that Dave made is discussed. there is a link to the video in the first post.

https://www.eevblog.com/forum/blog/eevblog-801-how-to-design-a-digital-clock/

Here is one that can be a wristwatch or you could use larger displays and a power supply and make a table version.

http://www.oldradiobuilder.com/LED%20Wristwatch.html
 

Offline MrSlack

  • Frequent Contributor
  • **
  • Posts: 880
  • Country: gb
Re: Solution For Making 7 Seg. Clock
« Reply #3 on: January 21, 2016, 07:08:08 am »
4060 oscillator/divider with a 32.768KHz watch xtal. Then you chain two 74HC390 dual decade counters off it so you have 4x 4 bit couters. Use diode logic (1n4148) to programming the resets so you roll over at 12/24 for the last pair of counters and 6 for the second. Then connect the 4x4 bit outputs from the counters into 74ls47 bcd->7seg and then into 4x 7seg led displays.

To set the clock, add some buttons to short the earlier divider stages to the first counter input. Do one at 2Hz for 'slow set' and one at 32/64Hz for fast set.

This was the lowest and therefore cheapest part count I could muster when I did this about 20 years ago. Total 7 ICs, 4 LED displays, a few caps, about 7 diodes and about 35 resistors, an xtal and a roll of kynar :)

If you buy 4x TIL311 displays you can lose 28 resistors and the 4 7447s. But they are wuite expensive even if they look cool.
« Last Edit: January 21, 2016, 07:10:06 am by MrSlack »
 

Offline skillz21Topic starter

  • Frequent Contributor
  • **
  • Posts: 311
  • Country: au
Re: Solution For Making 7 Seg. Clock
« Reply #4 on: January 21, 2016, 09:04:24 am »
i forgot to add, is there a simple solution?
 

Offline jeroen79

  • Frequent Contributor
  • **
  • Posts: 529
Re: Solution For Making 7 Seg. Clock
« Reply #5 on: January 21, 2016, 09:58:34 am »
i forgot to add, is there a simple solution?
Simple in terms of less parts: A microntroller.
 

Offline MrSlack

  • Frequent Contributor
  • **
  • Posts: 880
  • Country: gb
Re: Solution For Making 7 Seg. Clock
« Reply #6 on: January 21, 2016, 10:41:28 am »
Well more parts in one IC package...
 

Offline rdl

  • Super Contributor
  • ***
  • Posts: 3667
  • Country: us
Re: Solution For Making 7 Seg. Clock
« Reply #7 on: January 21, 2016, 10:56:26 am »
Years ago, many of the semiconductor manufacturers used to make specialized chips that would contain most of the circuitry needed for a basic digital clock. I don't think they're made any more, but sometimes you can find them on ebay.

Try searching for "clock chip"

http://www.ebay.com/itm/Vintage-MK-50250-MK50250N-Clock-Chip-Mostek-6-Digit-LED-VFD-NEW-NOS-/291659130147

http://www.ebay.com/itm/uPD848C-Vintage-NEC-DIGITAL-Clock-Chip-40-Pin-DIP-848C-D848D-NEW-LAST-ONES-/390120522414
 

Offline skillz21Topic starter

  • Frequent Contributor
  • **
  • Posts: 311
  • Country: au
Re: Solution For Making 7 Seg. Clock
« Reply #8 on: January 21, 2016, 03:09:49 pm »
is there any chance of using an attiny? or a few of them?
 

Offline newbrain

  • Super Contributor
  • ***
  • Posts: 1719
  • Country: se
Re: Solution For Making 7 Seg. Clock
« Reply #9 on: January 21, 2016, 03:26:25 pm »
is there any chance of using an attiny? or a few of them?
Yes, and yes.
You could even think of 6 ATtiny (14 pins at least) each taking care of one digit, plus another for clocking and control...

But your OP stated "no Arduino", so µC based solution seemed out of scope.
If you meant "without using the Arduino development environment and library", then any ATmega 328 based board (including Arduino) should provide enough I/Os to support 6 multiplexed 7 segment displays plus a couple of switch for control.
It would be a good programming exercise, definitely not too complicated, even using direct register access.
Nandemo wa shiranai wa yo, shitteru koto dake.
 

Offline skillz21Topic starter

  • Frequent Contributor
  • **
  • Posts: 311
  • Country: au
Re: Solution For Making 7 Seg. Clock
« Reply #10 on: January 21, 2016, 03:40:17 pm »
guys, i am still thinking about what sort of design to use so feel free to tell me all your ideas. even if it concerns a microcontroller.
thanks :-+
 

Offline NivagSwerdna

  • Super Contributor
  • ***
  • Posts: 2495
  • Country: gb
Re: Solution For Making 7 Seg. Clock
« Reply #11 on: January 21, 2016, 04:59:36 pm »
If you are not constrained by your use or non-use of a microcontroller then it's easy... just use multiplexing and get a microcontroller to drive the segments...

e.g.

http://embedded-lab.com/blog/lab-11-multiplexing-seven-segment-led-displays/

That's just a random example, any controller, AVR, PIC whatever would do.




 

Offline klunkerbus

  • Supporter
  • ****
  • Posts: 162
  • Country: us
  • Electrical Engineer (retired early)
Re: Solution For Making 7 Seg. Clock
« Reply #12 on: January 21, 2016, 09:44:58 pm »
Being *simple* likely depends on your ability to search for existing designs, hardware, and software.  Are you wanting to develop your own circuit board, or build a clock by wiring together existing boards/modules?  Are you trying to avoid writing firmware?

I like the Arduino movement since it creates a lot of AVR processor boards that I can use for dirt cheap, even though I never run firmware using the Arduino libraries or built in the Arduino IDE.

Everything I do is for a hobby. I want to focus on my application and not putting effort into a board design that I may only use once, and my retired eyes don't like a lot of intricate wiring.  Tying functions together with an i2c interface makes it easy to hack together something like a clock using existing modules with minimal wiring.

These days, an i2c-based  DS1307 chip is commonly used for the real-time-clock (RTC) function.  You can use a DS1307 chip on your own board design, or find any of several small prebuilt boards using one.  I personally prefer the more precise DS3231 that I can set and forget.   

I have various clocks and time controllers using an AdaFruit Boarduino running my own AVR firmware, an AdaFruit chronodot RTC board using the DS3231, and an LCD display with an AdaFruit i2c-LCD backpack.  For an LED display instead of the small character LCDs, I've thought about trying one of the AdaFruit alphanumeric i2c LED arrays like this red one - https://www.adafruit.com/products/1911.  They have various size i2c-based 7-segment displays as well. 
« Last Edit: January 21, 2016, 09:57:44 pm by klunkerbus »
 

Offline dadler

  • Supporter
  • ****
  • Posts: 851
  • Country: us
Re: Solution For Making 7 Seg. Clock
« Reply #13 on: January 21, 2016, 09:53:51 pm »
MAX7219 + your choice of microcontroller
 

Offline johnboxall

  • Supporter
  • ****
  • Posts: 652
  • Country: au
  • You do nothing, you get nothing.
    • Books, services and more:
Re: Solution For Making 7 Seg. Clock
« Reply #14 on: January 22, 2016, 03:37:03 am »
I am looking for a way to make a 7 segment clock. Without arduino. :palm:. is there a certain ic or something that i can use to drive 4 seven segment displays? and an ic to keep the time. i need to display the time on the displays. I know that it would be much easier to just use an arduino but i don't want to.
Thanks!
 ;)

I've got a couple of LM8560s around here if you want them.

Offline MrSlack

  • Frequent Contributor
  • **
  • Posts: 880
  • Country: gb
Re: Solution For Making 7 Seg. Clock
« Reply #15 on: January 22, 2016, 06:45:22 am »
I am looking for a way to make a 7 segment clock. Without arduino. :palm:. is there a certain ic or something that i can use to drive 4 seven segment displays? and an ic to keep the time. i need to display the time on the displays. I know that it would be much easier to just use an arduino but i don't want to.
Thanks!
 ;)
There is this design from an old (1980's) magazine called Talking Electronics. http://www.talkingelectronics.com/TE-1-15_pdfs/TE-Issue8.pdf

Dave did a video on a clock he made as a kid. It looks like this was the inspiration for it. Dave made a video talking about it.

Special purpose chips will be hard to find for a clock these days.

Interesting circuit. Never thought of hacking a 4026 to do the job.
 

Offline rdl

  • Super Contributor
  • ***
  • Posts: 3667
  • Country: us
Re: Solution For Making 7 Seg. Clock
« Reply #16 on: January 22, 2016, 07:20:36 am »
Interesting circuit. Never thought of hacking a 4026 to do the job.

What? I thought it was practically what they were made for.

Quote from: TI Datasheet
Applications

   Decade counting 7 segment decimal display
   Frequency counting 7 segment decimal displays
   Clocks, watches, timers
   Counter/display driver for meter applications
 

Offline MrSlack

  • Frequent Contributor
  • **
  • Posts: 880
  • Country: gb
Re: Solution For Making 7 Seg. Clock
« Reply #17 on: January 22, 2016, 09:41:51 am »
Bad choice of words - consider hacking as in the "I hacked up this circuit" as in created something. Basically I never thought of using a 4026. I mainly use 74-series TTL and most of the combined decade counter/driver ICs are/were when I last looked, unobtainium.
« Last Edit: January 22, 2016, 09:47:54 am by MrSlack »
 

Offline skillz21Topic starter

  • Frequent Contributor
  • **
  • Posts: 311
  • Country: au
Re: Solution For Making 7 Seg. Clock
« Reply #18 on: February 14, 2016, 05:22:52 am »
Ok, so one of the main reasons I posted this is because I have this 4 seven seg display panel. I'm not sure of the correct terminology but basically, when power is received to a segment, it turns transparent. I want to make a projector that projects the clock on a wall. so now I don't care if I use the Arduino or not, I really want to make this. so could you guys please point out a chip that I can buy? (preferably cheap because it will probably cost a lot of money to get a backlight because it needs to be strong (because this is a projector)). and could you find a lighting source that I can use? and a power supply for it?
 

Offline skillz21Topic starter

  • Frequent Contributor
  • **
  • Posts: 311
  • Country: au
Re: Solution For Making 7 Seg. Clock
« Reply #19 on: February 14, 2016, 10:18:08 am »
any advice guys?
Thanks! ;)
 

Offline ali6x944

  • Frequent Contributor
  • **
  • Posts: 567
  • Country: sa
Re: Solution For Making 7 Seg. Clock
« Reply #20 on: February 14, 2016, 08:19:00 pm »
see this would help:


 

Offline ali6x944

  • Frequent Contributor
  • **
  • Posts: 567
  • Country: sa
Re: Solution For Making 7 Seg. Clock
« Reply #21 on: February 14, 2016, 08:21:38 pm »
forgot those:


 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf