This is very interesting, is it possible to operate each LED via a digital timer which can precisely control the time that particular light is on for? In other words if I wanted that green light to be on at say 10pm to 7am then switch to yellow for 7am to 2pm - then red 2pm to 8pm then back to yellow at 8pm completing the 24hr cycle for Mon,T,W,T,F & have a different cycle at the weekends? Is it possible? I would really appreciate it if you could help me out I'm working on a project for college
Making 2 sets of lights work like a real intersection is easy. youd have to implement a finite state machine to synchronize everything correctly. we did it in my embedded systems class. we even added a dont walk light
Making 2 sets of lights work like a real intersection is easy. youd have to implement a finite state machine to synchronize everything correctly. we did it in my embedded systems class. we even added a dont walk light
Making 2 sets of lights work like a real intersection is easy. youd have to implement a finite state machine to synchronize everything correctly. we did it in my embedded systems class. we even added a dont walk light
i have a two push button controlled, 3 regular led, 1 bi-color, soon to have sound, alarm i made myself after i got the BS2 Home Work board for Christmas.
where's the code?
MrMaestro14231 6 months ago
This has been flagged as spam show
here is a code i wrote for this project
BasicStamp.webs.com
pdkrace 8 months ago
Comment removed
pdkrace 8 months ago
Comment removed
pdkrace 8 months ago
This is very interesting, is it possible to operate each LED via a digital timer which can precisely control the time that particular light is on for? In other words if I wanted that green light to be on at say 10pm to 7am then switch to yellow for 7am to 2pm - then red 2pm to 8pm then back to yellow at 8pm completing the 24hr cycle for Mon,T,W,T,F & have a different cycle at the weekends? Is it possible? I would really appreciate it if you could help me out I'm working on a project for college
ScrapMetalJoe 10 months ago
@ScrapMetalJoe You would need something with a real time clock, like a GPS module.
qazxsw21000 1 month ago
to slow....
AhileyGusani 10 months ago
can i have your code plz? im intrested to see what u did
kracker45meha 1 year ago
@kracker45meha Unable to copy and past code. Youtube only gives you a certain limited characters
tdavisjr 11 months ago
This has been flagged as spam show
Making 2 sets of lights work like a real intersection is easy. youd have to implement a finite state machine to synchronize everything correctly. we did it in my embedded systems class. we even added a dont walk light
scamacho5 1 year ago
This has been flagged as spam show
Making 2 sets of lights work like a real intersection is easy. youd have to implement a finite state machine to synchronize everything correctly. we did it in my embedded systems class. we even added a dont walk light
scamacho5 1 year ago
Making 2 sets of lights work like a real intersection is easy. youd have to implement a finite state machine to synchronize everything correctly. we did it in my embedded systems class. we even added a dont walk light
scamacho5 1 year ago
i have a two push button controlled, 3 regular led, 1 bi-color, soon to have sound, alarm i made myself after i got the BS2 Home Work board for Christmas.
Tamazon19 2 years ago
what happened to flashing yellow?
vanepico 2 years ago
Comment removed
Obifour1 2 years ago
Try using the LOOP and DO commands e.g.
DO PULSOUT 1, 20000 PULSOUT 3, 20000 PULSOUT 2, 10000
LOOP
KenshinRyuichi 3 years ago
If you put that on Homework board on a BOE-BOT. It technically becomes something else, I call the HOBO-BOT. (HOmework BOard - roBOT)
KenshinRyuichi 3 years ago
very basic
pietzeekoe 3 years ago
add a second set of lights (for the other road) then ill be slightly impressed.
geolej 3 years ago
The goal was not to impress anybody. It was to learn how to use the board. I'll leave it up to you to impress others with the things you do.
tdavisjr 3 years ago
pretty sweet 4/5
how much did the entire board(plus the BS2) cost?
3mustardMoNkEyS 3 years ago
About $90
tdavisjr 3 years ago
ok im gonna get it a radio shack(they have it for $80)
3mustardMoNkEyS 3 years ago
no advanced green? lol
deathrail 3 years ago
I did the same thing except i had to trafic lights with the BOE.
Atomic101Heli 3 years ago
Yeah, 2 traffic lights would be an advanced setup. I haven't had any time to work on something like that. Mabye you an post your setup.
tdavisjr 3 years ago
@tdavisjr Uhhhh, no it definitely wouldn't It isn't attached to a sensor like they have underneath the road, there isn't even a randomization...
chickenpoper 1 month ago