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.

LED counter

Status
Not open for further replies.

madmikejt12

New Member
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
 
A 555 and a 4026 would be easy to use. Heres an example cct from my Livewire program. Just omit the second display.
Brett.
 

Attachments

  • timer_621.jpg
    timer_621.jpg
    33.9 KB · Views: 988
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
 
would i place it where the variable resistor is?
 
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.
 
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
 
ok thanks :D 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
 
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.
 
ok thanks
 
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?
 
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)
 
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.
 

Attachments

  • led_counter.gif
    led_counter.gif
    11.3 KB · Views: 740
thanks for that :) is CE pin 14?
i found this: **broken link removed** (page 2)

Thanks, mike
 
madmikejt12 said:
thanks for that :) is CE pin 14?
i found this: **broken link removed** (page 2)

Thanks, mike
CE on your schematic is what ST calls Clock Inhibit. It's pin 2.
 
ah :oops: ok thanks :d
 
Status
Not open for further replies.

Latest threads

Back
Top