Video není dostupné.
Omlouváme se.
Programming Your Own Pedestrian Crossing Signal With COUNTDOWN!!!!
Vložit
- čas přidán 16. 08. 2024
- In this video we learn how to wire, and program an Arduino to make this pedestrian signal function like it does in your city! This particular signal is a Dialight 430-6479-001x
----CODE-----
int W = 7;
int DW = 6;
//W is Walk, DW is Dont Walk
void setup() {
// put your setup code here, to run once:
pinMode(W,OUTPUT);
pinMode(DW,OUTPUT);
}
void loop() {
for (int x=0;x (LESS THAN SIGN HERE)30;x++)
{
digitalWrite(DW,HIGH);
delay(500);
digitalWrite(DW,LOW);
delay(500);}
digitalWrite(DW,HIGH);
delay(10000);
digitalWrite(DW,LOW);
digitalWrite(W,HIGH);
delay(10000);
digitalWrite(W,LOW);
}
Nice information. I've searched about the count down function all over the net. Thanks very helpful. thanks
Nice work Carson! Great video and information. I can't wait to get my shop put together and my lights functioning. I'll be sure to share this video with others!
Oh this is awesome I picked up a double head crosswalk signal you know the one that has the hand and the man combination on one head and then your timer is on the other head anyway I couldn't figure out how to get the stupid thing to light and you basically answer my question because I had a hunch that this thing uses some type of a pulse in order to count I did get the timer to light up and but yeah without some type of programming it's not going to operate however the bad thing is on the crosswalk part for the hand and the don't walk but don't walk doesn't light up but the hand does but flat when I get burned at a flea market but whatever so thanks for your video at least now you answered my question
Carson, do you know of a pre-programmed Arduino that will do something similar to the cycle you did? I can do the wiring but have NO ABILITY to do the programming.
If you're using the controller Carson listed in the comments from Amazon, here's the code I used. I had to modify it because the new controller is a bit different. I also adjusted the values for W/DW and DW flash. Hope this helps.
int W = 3;
int DW = 4;
//W is Walk, DW is Dont Walk
void setup() {
// put your setup code here, to run once:
pinMode(W,OUTPUT);
pinMode(DW,OUTPUT);
}
void loop() {
for (int x=0;x
where is the link for the relay aaaaa
@@charleserror9788 relay???
@@thetonytolbert yeah the arduino relay the hi tech thingy
i have an old controller but it don't really have that much timing choice.
@@charleserror9788 he literally tells you the arduino to use in the video 🤦🏻♂️
Will you ever upload a video on the flashing yellow arrow? I really want to learn how after I figured out how to program my pedestrian signal
I am going to try to do this with a esp8266 and make it wifi controllable, also the one I have has separate countdown and hand so I am going to change out the led hand with rainbow leds... :) party hand !
I got 2 for free from local city as the white leds get dim going to make a video of led replacement.
Would you be willing to make a tutorial on how to wire it properly? It would help out a lot if you did
If you skip to 1:20 in the video I talk about it. Basically you take an extension chord from wall power, the positive (black) and negative (white) from the extension chord go to the proper terminals labeled on the Arduino.
The Walk sign is the blue wire, and the don't walk is the orange wire coming off the crossing unit. Those wires are the positive for the walk and don't walk. You put those wires in whatever pin out from the Arduino and then the code is used to tell the Arduino which pin out is for which command. So in my video pin 6 is the output for don't walk, and pin 7 is for walk. The white wire coming off the crossing unit goes to common ground that comes from wall power. If you look closely in the video you can see where I spliced it in. I hope that helps.
@@ToolsWTools I tried to program it but it wasn’t working. I downloaded the ch40g, and went to the arduino program, but it didn’t show up in the board manager. I tried downloading the genuino 101 and it gave me an error code
What configuration are the dip switches on the countdown set to?
Really cool, Carson! I just acquired my very own LED man/hand/ countdown Crossing signal!! (GE PS7-CFF!_VLA D/C-3/2020 Where do I get the full coolness Arduino pcb just like the one you got? I looked on ebay and dint see anything like yours. (sort of) Doesn't seem too expensive, though. And to set the code do I USB it to my desktop? Thanks again, Carson!!..........or a raspberry pie?.........just gregg(can't wait to hook it up!!!)
I got mine on amazon. Yeah, you just plug the Arduino into your computer and write the code to the Arduino using the software.
Here is the link for the Arduino. www.amazon.com/Channel-Light-Controller-programmable-Control/dp/B07JD3ZH3M/ref=sr_1_4?crid=W5ONQEDY6NPD&keywords=traffic+light+arduino&qid=1650668612&sprefix=traffic+light+arduous%2Caps%2C225&sr=8-4
Thanks again, Carson~~I'm on it!!
@@ToolsWTools OK!! Otta-sight, Carson!! It works GREAT!! .....but I want the man to flash and blink as well---I tried to copy your code for the hand but its not working for the man---tell me why or write me some cool code for that, will ya?
@@ToolsWTools is this link still accurate?
@@JM-og4sc it's not the same controller I used, but that one should work based on the specs.
GREAT VIDEO
Do you think this could work with an external source, like the crosswalk button, when I oress the button it starts the cycle?
Do you have a link to purchase the Arduino that you used in this video?
Any hints for if the countdown doesn't show after mulultiple cycles? I have mine set to half a second on/off but the numbers never show.
It will only work if you set it to 1 second on and 1 second off.
@@CarsonCreatesStuff Turns out an IC on the board for the countdown LEDs is burnt out. Time to see if Dialight has any I can grab :D
@@vect0r858 at least you know what the problem is. When you do get it figured out you have to set the countdown to 1 second intervals otherwise the onboard computer can't learn the sequence if that makes sense. So you had 2 separate problems. A hardware issue and a coding issue.
Initially I was doing the same thing and when I changed it to 1sec intervals the countdown worked. So just keep that in mind
Just acquired a complete double head setup. I assume I'll need the 6 channel controller if I want them to operate opposite each other.
What would be code for that?
Thank you.
When you say double head do you mean a stop sign as well as the crossing sign? You will need one output for each function.
Thumbnail says 69 lol
Im glad at least one person caught this lol
I keep getting this message (LESS was not declared in this scope )
never mind. i got it
my issue is just wiring it. I'm using an arduino uno. What am I doing wrong?
Im definitely no expert, but if I had to guess id say your Arduino Uno may not be able to handle the output amperage. In mine and as well as my traffic lights, I use an Arduino with built in relays to help with the increased output. Arduinos aren't meant for high output like that, so its most likely a function of burning up your board.
Also it could be that in the Arduino software you don't have the correct board selected in what you are writing to so check that as well.
try adding some relays
i built a controller and some relays added to it. you need relays for it to work.
@@charleserror9788 thank you. I appreciate the advice. I did get the relay and I’m also in an electrical techniques program. I eventually learned about terminals and how to wire them. Now I just need to know how to do the flashing yellow arrow traffic light programming and I’m all set