Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

If you were or are an electronics geek, I have a fun problem

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
This topic is archived.
Home » Discuss » The DU Lounge Donate to DU
 
jmowreader Donating Member (1000+ posts) Send PM | Profile | Ignore Sun Jun-14-09 09:43 PM
Original message
If you were or are an electronics geek, I have a fun problem
I am attempting to build a device which contains three or four digital clocks, all with LCD readouts--a Varitronix 153-1103 display would be just fine.

Clock 1 is just a plain old 24-hour clock, nothing too spectacular. Having an alarm function on it wouldn't be bad.

Clock 2 and 3 would be tied together. These would be more like stopwatches. Clock 2 will run continuously once activated, and it should have an alarm. Clock 3 will be able to be started and stopped without stopping clock 2, and it will also have an alarm.

Clock 4, if I use it, will be another stopwatch. It will run independently of clocks 2 and 3.

Now for the question: should I try to buy regular clock chips like we used back in the 1970s to do this with, or should I use 7490 and 7492 counters?
Printer Friendly | Permalink |  | Top
midnight armadillo Donating Member (1000+ posts) Send PM | Profile | Ignore Sun Jun-14-09 09:59 PM
Response to Original message
1. None of the above.
Now for the question: should I try to buy regular clock chips like we used back in the 1970s to do this with, or should I use 7490 and 7492 counters?

Get a PIC and do it all in assembler. Or C (my pref since I don't do assembler enough to retain it in RAM) - there are free compilers available. I think a programming board w/ a USB connection to your PC will set you back maybe $40 and it should come with maybe 2 PICs of varying capabilities.
Printer Friendly | Permalink |  | Top
 
jmowreader Donating Member (1000+ posts) Send PM | Profile | Ignore Sun Jun-14-09 10:36 PM
Response to Reply #1
2. How much outboard gear do I need to get a PIC to talk to 3-4 displays?
And, more critically, do PICs multitask?

Being able to maintain three or four completely disparate clocks is critical to this operation--this isn't like one of those clocks that shows four time zones. One clock might say 14:43, another 2:25 and a third 5:15. And the one that says 2:25 might start and stop twenty times in one day, whereas the one that says 5:15 will continue running until it's reset and the one that says 14:43 won't ever reset; it will just flip over at midnight. I'm afraid that if I do everything in software, eventually I'll wind up needing a used PC laptop so I can multitask. (I'm trying to be deliberately vague on what this is because as of right now, this product doesn't exist in the form I envision and it's something a lot of people need.) As for the fourth clock...it just needs to count off ten hours and turn on a light. That's easy in hardware--two 74LS90s, a 74LS92, some LCD driver chips and a J/K flip-flop to hold the light high once the clock rolls over past 9:59.

Now let's get REALLY fun: What I would really like to happen is the two or three timers to count down, not up.
Printer Friendly | Permalink |  | Top
 
midnight armadillo Donating Member (1000+ posts) Send PM | Profile | Ignore Sun Jun-14-09 11:35 PM
Response to Reply #2
3. hmmm...
...I'd have to say "not sure" as to how much extra outboard hardware you'd need. Most of my PIC experience has been applications that do things like "flip pin 1 high after reading A->D converter for 10 seconds" which basically all happens in software. I don't see any reason why you couldn't write a loop to run all four clocks while watching a hardware clock for ticks - you might vary by a few milliseconds here and there.

Man, I do too much Labview these days, I sort of miss messing around with real low-level hardware. One thing to keep in mind (and I'm sure you know this) if you have a commercial application in mind is parts count which effects labor needed per board etc. This is where a microcontroller could be handy.
Printer Friendly | Permalink |  | Top
 
csziggy Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Jun-15-09 01:28 AM
Response to Original message
4. My $3 kitchen timer does 1-3 of your list.
You can probably find an kitchen timer that will do all four.

Why do you need to make your own?
Printer Friendly | Permalink |  | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Wed May 01st 2024, 02:11 AM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » The DU Lounge Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC