![]() |
|
Help Easyrelay trafficlights - Printable Version +- ItsMods (https://www.itsmods.com) +-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html) +--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html) +--- Thread: Help Easyrelay trafficlights (/Thread-Help-Easyrelay-trafficlights.html) |
Easyrelay trafficlights - iAegle - 05-31-2013 So I have to make this trafficlight thingy but I cannot seem to get it working correctly There's 5 lights, 3 for the car-trafficlight (red green orange) and 2 for the trafficlight that shows if you can cross the road by foot I have 2 parts which I need to combine but its not working The car-part has to be:5 sec red >> 5 sec green >> 3 sec orange >> back to red now when there is someone crossing the road (when the light is green for him) then the car-trafficlight needs to stay red untill the foot-trafficlight goes back to red.. that probably sounds confusing but if someone can help me that would be great ![]() Here's the car-trafficlight part: ![]() and the other part: ![]() I'm not sure if it matters but the easyrelay is a Moeller 700 Series RE: Easyrelay trafficlights - Ich1994 - 05-31-2013 Use this: http://en.wikipedia.org/wiki/Karnaugh_map For each light: 1x Green 1x Yllw 1x Red you need one Karnaugh map. Model your trafficlight cycle as a finit state maschine. and then apply the Karnaugh map on it. RE: Easyrelay trafficlights - iAegle - 06-03-2013 (05-31-2013, 23:59)Ich1994 Wrote: Use this:I will give it a try, thanks! RE: Easyrelay trafficlights - Ich1994 - 06-06-2013 (06-03-2013, 12:23)iAegle Wrote:(05-31-2013, 23:59)Ich1994 Wrote: Use this:I will give it a try, thanks! If you need the solution PM me. Or i wont get an Notification e-mail
RE: Easyrelay trafficlights - iAegle - 06-14-2013 The k-map idea was nice but to me it seems quite hard to convert to an actual program.. anyway, I did get it pretty much working ![]() the result if anyone cares:
|