| Electronics > Beginners |
| Traffic light circuit |
| (1/9) > >> |
| rthorntn:
Hi All, I'm working with my 7yo daughter to build a traffic light circuit without an MCU, we have this: https://www.jaycar.com.au/led-traffic-light-module-for-arduino/p/XC3720 Perfectly happy for it to just alternate between red, amber and green roughly every second. We have a limited amount of components to use (we have lots of capacitors and resistors). - 1x555 - 3xNPN - 3xPNP - 1xSCR - 1xRelay (Coil, Coil, NC, NO, COM) UPDATE: I just had a thought, I also have rLogic boards that I'm trying to work out what to use for (essentially 10 x Fairchild NC7SV57 and 10 x NC7SV58 on wee BOB's): https://www.eevblog.com/forum/beginners/playing-with-logic/ Is it possible, if so, could you please provide a circuit and/or some pointers? We could buy more of the bits above if required but would like to do it with what we have, we have a system called "Snap Circuits" and most if its flexibility comes from the empty two/three spring and eight pin DIP socket but 8-pins is the most we can easily integrate (so the circuits out there with 16-pin 4017's are no good). Thanks for looking. Richard |
| Rerouter:
It will require a few more of the 555 modules, but yes you can do it, This exact circuit is called a pulse sequencer, The left most is the clock that keeps it going, then the other 3 are each light. http://www.falstad.com/circuit/circuitjs.html?cct=$+3+0.005+1.700203994009402+50+5+50%0A165+160+208+168+208+1+5%0Aw+160+224+152+224+0%0Aw+152+224+152+272+0%0Aw+152+272+160+272+0%0Ac+152+272+152+336+0+0.00009999999999999999+0.5156293756910884%0Aw+152+224+152+192+0%0Ar+152+192+152+136+0+10000%0Ar+112+192+112+136+0+10000%0Aw+112+192+112+256+0%0Aw+112+256+160+256+0%0Aw+112+136+152+136+0%0Aw+152+136+192+136+0%0Aw+192+136+192+192+0%0AR+-56+136+-120+136+0+0+40+5+0+0+0.5%0Ag+152+336+152+352+0%0Aw+224+240+224+256+0%0Ac+224+256+272+256+0+0.00001+-0.0829260490866135%0Aw+272+256+272+192+0%0Ar+272+136+272+192+0+10000%0Ar+312+136+312+192+0+10000%0Aw+192+136+272+136+0%0Aw+272+136+312+136+0%0A165+320+208+352+208+1+5%0Aw+352+192+352+136+0%0Aw+352+136+312+136+0%0Aw+312+224+320+224+0%0Aw+312+192+312+224+0%0Aw+312+224+312+272+0%0Aw+312+272+320+272+0%0Aw+272+256+320+256+0%0Ac+312+272+312+336+0+0.00009999999999999999+0.5156293756910884%0Ag+312+336+312+352+0%0Aw+384+240+384+256+0%0Ac+384+256+432+256+0+0.00001+-0.0829260490866135%0Aw+432+256+432+192+0%0Ar+432+192+432+136+0+10000%0Ar+472+136+472+192+0+10000%0Aw+352+136+432+136+0%0Aw+432+136+472+136+0%0A165+480+208+488+208+1+5%0Aw+472+192+472+224+0%0Aw+472+224+480+224+0%0Aw+472+224+472+272+0%0Aw+472+272+480+272+0%0Aw+512+192+512+136+0%0Aw+512+136+472+136+0%0Aw+432+256+480+256+0%0Ac+472+272+472+336+0+0.00009999999999999999+0.5156293756910884%0Ag+472+336+472+352+0%0AM+224+256+224+328+0+2.5%0AM+384+256+384+328+0+2.5%0AM+544+240+584+240+0+2.5%0A165+-8+208+8+208+3+5%0Aw+24+136+112+136+0%0Aw+24+168+24+136+0%0Aw+-8+272+-24+272+0%0Aw+-24+272+-24+256+0%0Aw+-24+256+-8+256+0%0Ar+-56+224+-56+272+0+1000%0Aw+-56+224+-8+224+0%0Aw+-56+272+-24+272+0%0Ar+-56+224+-56+136+0+47000%0Aw+24+168+24+192+0%0Ac+-56+272+-56+328+0+0.00009999999999999999+0.11171474663694816%0Ag+-56+328+-56+344+0%0AR+56+224+64+224+0+0+40+5+0+0+0.5%0Ac+112+256+56+256+0+0.00001+0.08357540475660663%0Aw+56+240+56+256+0%0Aw+-56+136+24+136+0%0Ao+49+4+0+4102+5.1+0.000048828125+0+1%0Ao+50+4+0+4102+5.1+0.00009765625+0+1%0Ao+51+4+0+4102+5.1+0.00009765625+0+1%0A |
| FlyingHacker:
Something like this one works well, too. Only one 555, but a CD4017 decade counter to boot. |
| Rerouter:
Flying, you missed where he said he didn't want to go to any large dip chips, specifically saying against the 4017 |
| FlyingHacker:
--- Quote from: Rerouter on June 10, 2018, 06:46:58 am ---Flying, you missed where he said he didn't want to go to any large dip chips, specifically saying against the 4017 --- End quote --- Haha. So I did! Sorry... Given the cost of 555s your circuit is almost the same price. Interesting so whatever this Snap Circuits is does not support the 16 pin DIPs? |
| Navigation |
| Message Index |
| Next page |