Video není dostupné.
Omlouváme se.

Programming Your Own Pedestrian Crossing Signal With COUNTDOWN!!!!

Sdílet
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);
    }

Komentáře • 43

  • @michaelbaltzer562
    @michaelbaltzer562 Před rokem

    Nice information. I've searched about the count down function all over the net. Thanks very helpful. thanks

  • @tylerzimmer5342
    @tylerzimmer5342 Před 2 lety +1

    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!

  • @marcdich9279
    @marcdich9279 Před 2 lety +1

    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

  • @scottwaters8015
    @scottwaters8015 Před rokem +2

    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.

  • @thetonytolbert
    @thetonytolbert Před rokem +2

    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

    • @charleserror9788
      @charleserror9788 Před rokem

      where is the link for the relay aaaaa

    • @thetonytolbert
      @thetonytolbert Před rokem

      @@charleserror9788 relay???

    • @charleserror9788
      @charleserror9788 Před rokem

      @@thetonytolbert yeah the arduino relay the hi tech thingy

    • @charleserror9788
      @charleserror9788 Před rokem

      i have an old controller but it don't really have that much timing choice.

    • @thetonytolbert
      @thetonytolbert Před rokem

      @@charleserror9788 he literally tells you the arduino to use in the video 🤦🏻‍♂️

  • @acleumblade76
    @acleumblade76 Před 9 měsíci

    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

  • @unmanaged
    @unmanaged Před rokem

    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 !

  • @unmanaged
    @unmanaged Před rokem

    I got 2 for free from local city as the white leds get dim going to make a video of led replacement.

  • @acleumblade76
    @acleumblade76 Před rokem +1

    Would you be willing to make a tutorial on how to wire it properly? It would help out a lot if you did

    • @ToolsWTools
      @ToolsWTools  Před rokem

      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.

    • @acleumblade76
      @acleumblade76 Před rokem

      @@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

  • @fauxilfox4020
    @fauxilfox4020 Před měsícem

    What configuration are the dip switches on the countdown set to?

  • @maximillionboi
    @maximillionboi Před 2 lety +2

    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!!!)

    • @ToolsWTools
      @ToolsWTools  Před 2 lety +2

      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

    • @maximillionboi
      @maximillionboi Před 2 lety +1

      Thanks again, Carson~~I'm on it!!

    • @maximillionboi
      @maximillionboi Před 2 lety

      @@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?

    • @JM-og4sc
      @JM-og4sc Před 2 měsíci

      @@ToolsWTools is this link still accurate?

    • @ToolsWTools
      @ToolsWTools  Před 2 měsíci +1

      ​@@JM-og4sc it's not the same controller I used, but that one should work based on the specs.

  • @j-specnate4819
    @j-specnate4819 Před 10 měsíci

    GREAT VIDEO

  • @da4467
    @da4467 Před rokem

    Do you think this could work with an external source, like the crosswalk button, when I oress the button it starts the cycle?

  • @zeusdog2763
    @zeusdog2763 Před rokem

    Do you have a link to purchase the Arduino that you used in this video?

  • @vect0r858
    @vect0r858 Před rokem +1

    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.

    • @CarsonCreatesStuff
      @CarsonCreatesStuff Před rokem

      It will only work if you set it to 1 second on and 1 second off.

    • @vect0r858
      @vect0r858 Před rokem

      @@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

    • @CarsonCreatesStuff
      @CarsonCreatesStuff Před rokem +1

      @@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

  • @B81Mack
    @B81Mack Před rokem

    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.

    • @ToolsWTools
      @ToolsWTools  Před rokem

      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.

  • @giggs-chan2004
    @giggs-chan2004 Před 2 lety +2

    Thumbnail says 69 lol

    • @ToolsWTools
      @ToolsWTools  Před rokem +1

      Im glad at least one person caught this lol

  • @salemmejalli
    @salemmejalli Před rokem

    I keep getting this message (LESS was not declared in this scope )

  • @acleumblade76
    @acleumblade76 Před rokem

    my issue is just wiring it. I'm using an arduino uno. What am I doing wrong?

    • @ToolsWTools
      @ToolsWTools  Před rokem

      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.

    • @charleserror9788
      @charleserror9788 Před rokem

      try adding some relays

    • @charleserror9788
      @charleserror9788 Před rokem

      i built a controller and some relays added to it. you need relays for it to work.

    • @acleumblade76
      @acleumblade76 Před rokem

      @@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