![]() | ![]() | ![]() |
| |||||||
| 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? |
![]() |
| | Tools |
| | #1 |
|
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 | |
| |
| | #2 |
|
A 555 and a 4026 would be easy to use. Heres an example cct from my Livewire program. Just omit the second display. Brett. | |
| |
| | #3 |
|
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 | |
| |
| | #4 |
|
would i place it where the variable resistor is?
| |
| |
| | #5 |
|
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 | |
| |
| | #6 |
|
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 !!! | |
| |
| | #7 |
|
ok thanks is the clock output pin 3? (the "output" pin) i presumed it was but just making surebtw, 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 | |
| |
| | #8 |
|
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. | |
| |
| | #9 |
|
ok thanks
| |
| |
| | #10 |
|
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?
| |
| |
| | #11 |
|
Make sure the reset is connected to 0volts via the rsistor. Brett. | |
| |
| | #12 |
|
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)
| |
| |
| | #13 |
|
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. | |
| |
| | #14 |
|
thanks for that is CE pin 14? i found this: http://eu.st.com/stonline/books/pdf/docs/2038.pdf (page 2) Thanks, mike | |
| |
| | #15 | |
| Quote:
| ||
| |
|
| Tags |
| counter, led |
| Thread Tools | |
| Display Modes | |
| |