Hi! I'm trying to create a little 'traffic light' circuit, with just one button and a few red/orange/green LEDs, that I can put on my desk.
(I'll set it to RED when I'm swamped at work and don't want to be harrassed by colleages
)
And no, it isn't a homework project, but i'm an absolute n00b. I wish was taught electronics at school :-(
But i'm trying to learn, and just lurking this forum has been a good help!
So far i've completed a few projects where I could copy the layout one-on-one, but this time I couldnt find an appropriate schema.
Most traffic-lights circuits I found are based on both an CD4017 decade counter AND a 555 timer so it can switch the colours automatically in an endless loop. I do not need that, i just want to press a button to switch the colour.
I think it should be doable with just a 4017, so i've tried to translate this schematic to a breadboard using Fritzing
http://www.clarvis.co.uk/version2/4017.html
(I haven't received the 4017 yet, it's somewhere on a slow boat between Ebay and my doormat, so this is a dry run)
Can you help me check my schema?
I'm especially worried about well.. everything?
(the pinning of the 4017, the button, the 4leds in series, the voltage needed)
And even if this works... what happens the 4th time you press a button? there is nothing wired there, so do i need to press it 6 times for it to start at Green again? It would be most awesome if it would be red->yellow->green->off->start at red again.
I've added a screenshot, the .fzz fritzing file (renamed to .txt), and for your convenience a link to the pinout of the 4017:
http://zleap.net/wp-content/uploads/2014/02/CD4017-Pin-Diagram.jpg
(I'll set it to RED when I'm swamped at work and don't want to be harrassed by colleages
And no, it isn't a homework project, but i'm an absolute n00b. I wish was taught electronics at school :-(
But i'm trying to learn, and just lurking this forum has been a good help!
So far i've completed a few projects where I could copy the layout one-on-one, but this time I couldnt find an appropriate schema.
Most traffic-lights circuits I found are based on both an CD4017 decade counter AND a 555 timer so it can switch the colours automatically in an endless loop. I do not need that, i just want to press a button to switch the colour.
I think it should be doable with just a 4017, so i've tried to translate this schematic to a breadboard using Fritzing
http://www.clarvis.co.uk/version2/4017.html
(I haven't received the 4017 yet, it's somewhere on a slow boat between Ebay and my doormat, so this is a dry run)
Can you help me check my schema?
I'm especially worried about well.. everything?
(the pinning of the 4017, the button, the 4leds in series, the voltage needed)
And even if this works... what happens the 4th time you press a button? there is nothing wired there, so do i need to press it 6 times for it to start at Green again? It would be most awesome if it would be red->yellow->green->off->start at red again.
I've added a screenshot, the .fzz fritzing file (renamed to .txt), and for your convenience a link to the pinout of the 4017:
http://zleap.net/wp-content/uploads/2014/02/CD4017-Pin-Diagram.jpg
Attachments
-
178.3 KB Views: 27
-
15.3 KB Views: 26



