Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
Tools
Old 24th October 2005, 03:52 PM   #1
Default LED counter

hi, i want a circuit to count from 1-9 on a 7 segment LED display (the figure 8 one) and i was wondering, could i do this with a 555 and a 4017?

Thanks, Mike
madmikejt12 is offline  
Old 24th October 2005, 05:21 PM   #2
Default

A 555 and a 4026 would be easy to use. Heres an example cct from my Livewire program. Just omit the second display.
Brett.
Attached Thumbnails
LED counter-timer_621.jpg  
oliverb is offline  
Old 24th October 2005, 05:55 PM   #3
Default

ok, thanks.
If i were to place a switch in this circuit so when the switch is pressed, the number goes up, where would i place it? thanks, Mike
madmikejt12 is offline  
Old 24th October 2005, 05:57 PM   #4
Default

would i place it where the variable resistor is?
madmikejt12 is offline  
Old 24th October 2005, 06:14 PM   #5
Default

The I/P of the 4026 is Pin 1 you can use a debounced switch in there but disconnect the O/P from the 555 first ( a 3 way switch). There may be a way of switching the 555 with a switch as well but you would need to check out the data sheet. Just do a search on Google etc.
Here a tutorial found on Google.

Brett.
http://www.uoguelph.ca/~antoon/gadgets/555/555.html
oliverb is offline  
Old 24th October 2005, 09:54 PM   #6
Default

just replace the 555 clock out put with a press button. someone else may be able to explain how to do a debouce circuit to make it less receptice to false contacts
__________________
I AM the exeption that disproves the rule in many ways but the rules still apply (unfortunately)

www.simonsphotography.org.uk/ - My other hobby
www.rushdenrotaract.org.uk/ - make a difference and have fun !


Never buy "Trust" products, all mine broke !!!
Thunderchild is offline  
Old 24th October 2005, 10:39 PM   #7
Default

ok thanks is the clock output pin 3? (the "output" pin) i presumed it was but just making sure


btw, if i replaced the output of the 555 with a push button, would i still need the 555 or could i do it with just a 4026 or would i connect the switch from the output, is this what you mean
Thanks again for all your help
Mike
madmikejt12 is offline  
Old 25th October 2005, 07:16 AM   #8
Default

You do not need the 555 timer the 4026 just needs a connection to the +ve at pin 1 to count. Don't forget to debounce the switch or you will get loads of false counts.
Brett.
oliverb is offline  
Old 25th October 2005, 04:29 PM   #9
Default

ok thanks
madmikejt12 is offline  
Old 29th October 2005, 11:22 AM   #10
Default

hi again, when i connect the battery i get a number 8 (all 7 segments lit), when i press the switch to make it go up, i get only the top left vertical line lit and when the reset is pressed, i get the middle horizontal line and top left vertical line lit any ideas plaese?
madmikejt12 is offline  
Old 29th October 2005, 11:59 AM   #11
Default

Make sure the reset is connected to 0volts via the rsistor.
Brett.
oliverb is offline  
Old 29th October 2005, 01:12 PM   #12
Default

ok, thanks for the quick reply, i have done that but now when battery is connected, fig. 8 shows, when reset is pressed, nothing happens and when the count switch is pressed, the vertical line lights up (same as before)
madmikejt12 is offline  
Old 29th October 2005, 04:01 PM   #13
Default

I think this will work. The 4026 has a Schmitt trigger clock input, so you just need RC filtering for debouncing.
Notice that the CE input to the 4026 needs to be tied to GND (the negative side of the battery), and I have added a 0.1uF cap across the battery for decoupling.
Attached Thumbnails
LED counter-led_counter.gif  
__________________
Ron

Roff is offline  
Old 29th October 2005, 05:04 PM   #14
Default

thanks for that is CE pin 14?
i found this: http://eu.st.com/stonline/books/pdf/docs/2038.pdf (page 2)

Thanks, mike
madmikejt12 is offline  
Old 29th October 2005, 05:16 PM   #15
Default

Quote:
Originally Posted by madmikejt12
thanks for that is CE pin 14?
i found this: http://eu.st.com/stonline/books/pdf/docs/2038.pdf (page 2)

Thanks, mike
CE on your schematic is what ST calls Clock Inhibit. It's pin 2.
__________________
Ron

Roff is offline  
Reply

Tags
counter, led

Thread Tools
Display Modes




All times are GMT. The time now is 11:14 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker