Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Countdown Timer

Status
Not open for further replies.
Ive searched the internet and checked some old circuit books around but I cant seem to find a circuit to do what I want. Basically it needs to:
  1. Set a 7-seg display to show up 10 when powered on
  2. Count down from 10 when a certain switch is closed/pressed
  3. When the timer hits zero, the display stays at zero and fires a one-shot
  4. This one-shot triggers a relay on and off, preferably with it on only for about 1-2 seconds
It will be reset by having the power cycled. In case youre wondering, its for a switchboard to launch small explosives. Thanks for your input.
 
I know this seems obvious, but I often look over simple details in complex problems.

Don't forget to display 10, your going to need two seven-seg displays.
 
Yup I know, or a two-digit display. Can you give me a site that would least have examples of PIC code and I could go from there? Ive never done work with microcontrollers before. Also, would it be possible to set up a virtual microcontroller on the computer and simulate circuits and code with it? And would I be looking at a 16F84, 16F873 etc?
 
Anyone interested in writing a bit of code to do that for me? :D Im having a hard time learning PIC code, as with any other code that Ive tried to learn. Or even just a simple countdown from 10 circuit that I could play around with.
 
ParkingLotLust said:
Anyone interested in writing a bit of code to do that for me? :D Im having a hard time learning PIC code, as with any other code that Ive tried to learn. Or even just a simple countdown from 10 circuit that I could play around with.

If you'd looked at my tutorials you would have noticed that they include all the parts you require, and just need putting together as you wish. The 7 segment tutorial should be of particular use to you?, as it counts up on two 7 segment displays.
 
I looked at them, but the problem is that I dont understand any PIC code at all, and since we're coming up to exams very soon, I dont have a lot of time to try and learn it. Mind you, the timer is kind of a side project, but Id still like to have it around in the summer.
 
A discreet solution, try a 4017 decade counter driven by a 555 with the LEDs mapped by diode arrays OR an EPROM . I'd rather use a PIC or 89c2051.
 
Forrest Mims had a circuit in his Engineer’s Notebook II (25 years old) that does exactly what you want with a 74LS192 BCD up down counter and a 74LS47 common anode display driver. The borrow pin could fire your explosives. Try a search for 74LS192 and 74LS193 4 bit counter circuits. If you don’t find what you want, let me know. I will scan it for you.
 
Looks like what I need. All I have to do is set the astable 555 to 1Hz and play around with the switches and it should be good to go right?

EDIT after some reading about timebases, would I be able to omit the 555 and use a 4060 with a 32.768MHz crystal, followed by a 4013 flip flop to get a 1Hz pulse and just feed the 7400 with that?
 
Last edited:
Either way should work. 555s do change frequency some with temperature changes, especially at low frequencies.
 
Its going to be used outdoors, but it doesnt have to be EXACTLY one second per pulse, its just kind of a 'for effects' thing. I think Im just gonna stick with a 555 since I dont have an xtal. Anyone have those chips in the circuit? I cant seem to find them in my stash and I cant get them as samples from TI for some reason.
 
The reason is they are old and there have been many replacements. I used a similar circuit to keep track of floppy drive heads on an Amiga computer, shows how old the chips and I are. There was a chip which had 3*LED drivers and up/down counter section built, I may still have one in my collection, unfortunately I have just shuffled all my gear around and it could take time.
I recall it was a large IC (28-40 pins).

**broken link removed**
might what you're after
 
Last edited by a moderator:
digital timer with 3 digit( help me please)

hi, everyone
i have a project to handin next week , but i still don't have any idea yet how to start this project. i 've to make a digital timer which count from 0.1 second up to 99.9 second, and use 3 seven segment display.
I have to create that using those below:
- 22V10 PLD chips and program in VHDL
- 3 x LED seven segment display (common Cathode)
- 555 timer (provides the clock signal 0.1 second)
- Resisters and capacitors etc. (general electronics components)

can anyone please roughly show me what my circuit should look like ,

Thank you every much:)
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top