Video není dostupné.
Omlouváme se.

How to make Countdown Crosswalk PED work using an Arduino and Solid State Relay

Sdílet
Vložit
  • čas přidán 7. 07. 2019
  • I thought it would be good since a few people have asked how can they get their countdown PEDs to start counting down from a given time. In this video I will take you through the Arduino program I made for this video to make a few different Countdown Crosswalks come alive along with a 8" Traffic Signal.
    Here is a link to the Arduino Program..
    github.com/Rad...

Komentáře • 34

  • @jbb3design
    @jbb3design Před 5 lety +2

    Great information video.

  • @raym9691
    @raym9691 Před 5 lety +1

    Thank you very much, this was exactly what I was looking for! Keep up the great work

  • @greensprite6067
    @greensprite6067 Před 4 lety +1

    You should also make animated traffic lights where the walking man is actually shown moving, and then runs when the light is about to turn red, that would be sooo cool!

    • @jrocco36
      @jrocco36  Před 4 lety

      I would really like to add those to my collection.. Someday.....

  • @DeTrafficStreetBeatz
    @DeTrafficStreetBeatz Před 2 lety

    This is so cool 🚦🚦🚦🚦

  • @Bluethunderboom
    @Bluethunderboom Před rokem +1

    Usually I've seen the crosswalk signal countdown some of them has proper 9, 7 and 6, and some of them has q (9), 7, and b (6). And I don't know that is the way it works to do a countdown on the regular basis to let pedestrians know that the time is running out before they can't walk the crosswalk.

    • @jrocco36
      @jrocco36  Před rokem

      Basically they use a type of 7 segment display and really has to do with how the 7 segments are configured. here is a quick video on the 7 segment displays which may help.
      czcams.com/video/L1qN0iPeYqg/video.html

  • @Princethekingofmaster
    @Princethekingofmaster Před 5 lety

    I have Seen Those Countdown Timers With Pedestrian Heads In The City Of Arlington Texas :)

  • @Pondus
    @Pondus Před 4 lety +1

    Nice collection. Just bought a GE ps7 my selves.
    Would like to test out your code, but your website doesn't seem to be up anymore.
    Never the less, love this video

    • @jrocco36
      @jrocco36  Před 4 lety +1

      I updated the weblink to my Github account. enjoy the sketch. If ya make anything cool post it and send a link

    • @Pondus
      @Pondus Před 4 lety

      @@jrocco36 Thanks! I'll take a look at it. Doubt that I will make anything more interesting than you already have :)

    • @jrocco36
      @jrocco36  Před 4 lety

      @@Pondus Jump in and experiment with your Arduino. That's really what the Arduino was made for. They can do so much and when you try to do something that your not as experienced with there are many examples and books that will help! It gets easier as it goes.
      My example is really simple and it can be used to build a full intersection on. We all have to start somewhere. if ya have any questions feel free to ask.

    • @Pondus
      @Pondus Před 4 lety +1

      @@jrocco36 Thats my plan ;)

  • @justincollins1608
    @justincollins1608 Před 3 lety

    Can i get my traffic light to cycle through but the red hand stays red until you press a crosswalk button with this controller?

    • @jrocco36
      @jrocco36  Před 3 lety +1

      Yes, it would be fairly easy to modify the program I have linked above to add a fully actuated PED Signals. It's a good building block to start with!
      On a real system, When you press the PED CALL button it doesn't change the light as some people think, What it does is ADD a PED cycle. Think of the entire program as a ring. and on this ring are loops. When it goes to RED it stays with the RED Loop for the amount of time programmed into the controller. After the time is up it move onto the next loop on the ring. So when the button has not been pressed the controller does not add a PED loop to the ring, But when the PED CALL is pressed then it adds the PED loop to the ring.
      Using an Arduino with a button you just tell the program that when the button is pressed then go to the PEDloop sub routine. once the PED has counted down to Zero (PED CLEAR) then it would return to the part in the program where it left off. Thing to also consider is what happens to the RED during the PED Cycle and when there is no PED Cycle. Say the red is 30 seconds without a PED Loop added. Then if someone presses the PED CALL button it adds the amount of time needed to walk across the street and count down to PED CLEAR.
      Remember to have the PED countdown on the first cycle of your program so it stores the PED CLEAR .... (example have it flash 10 times if you want it to countdown from 10) Even real traffic controllers do one complete cycle .
      Not knowing how well versed you are programming Arduinos but it basically press a button, go to a submenu, do the action in the sub menu and return .
      I should do a video on this very question as it I think it would be interesting

    • @justincollins1608
      @justincollins1608 Před 3 lety

      JRocco 36 Awesome!! This is great because I have a traffic light and PED signal with a button and Galak controller and the green light stays green and the red hand stays red until someone presses the button. When you do press the button the traffic light changes to yellow then red and the walk man will come on then start counting down to zero. Then the traffic light turns green and stays green until someone presses the button again. I’m not to familiar with computer programming and I’ve been looking into the “real deal” traffic light controllers with the load switches and all but are so expensive. The controller in your video is very cheap for all it can do. I would like to set up another traffic light and PED signal to my collection and have it all work together. But that is very useful information and would love to see a video with the PED button! Thank you so much!!

  • @redlinepe3461
    @redlinepe3461 Před rokem

    @jrocco36 how do I easily add another direction so I can make an intersection?

    • @jrocco36
      @jrocco36  Před rokem +1

      You would consider that one direction would be your "Main" Street and the other would be "Cross" Street.
      first step would be all Red for both Main and Cross plus all the PEDs would be set to DONT WALK. and hold that for a few seconds. say 4 seconds.
      Next Main would be Green with the PED WALK and the Cross street would hold Red and DONT WALK. hold for say 15 seconds
      Next Main would still be Green while the PED starts Flashing DONT WALK. Cross would remain the same. Maybe flash 10 times
      Next Main would be Yellow and the PED would be DONT WALK. Cross would remain the same. make that 4 seconds
      Next step would be all Red for both Main and Cross plus all the PEDs would be set to DONT WALK. and hold that for a few seconds. say 4 seconds.
      Next Main would remain RED with PED DONT WALK. Cross would be Green and PED WALK.hold for say 15 seconds
      Next Main would Remain RED with PED DONT WALK. Cross would be Green and the PED starts Flashing DONT WALK. Maybe 10 times.
      Next Main would remain RED with PED DONT WALK. Cross would be Yellow and the PED would be DONT WALK. make that 4 seconds.
      After that the cycle repeats.
      You can use the Arduino Program I supplied above as a good start. Just think of what the other signal should be doing as you move through the cycle.
      Also as you go about your day watch the real traffic signals and PEDs and they will give you a good Idea on how to make a intersection work.
      You can also lay out the whole thing using just LEDs and try different times and maybe add a turn lane.
      Most of all have fun with it.

  • @justincollins1608
    @justincollins1608 Před 3 lety

    Where can I get all the wiring from to do all of this?

    • @jrocco36
      @jrocco36  Před 3 lety

      In the Arduino program It has what each of the output pins do. Keep in mind this is only +5v out so do not ever connect mains current to an arduino.
      // initialize digital pins as output.
      pinMode(2, OUTPUT); //WALK
      pinMode(3, OUTPUT); //DONT WALK
      pinMode(4, OUTPUT); //RED
      pinMode(5, OUTPUT); //YELLOW
      pinMode(6, OUTPUT); //GREEN

  • @tntgaming6234
    @tntgaming6234 Před 3 lety

    Loop that count down to 47

  • @Boy1.2.3.4
    @Boy1.2.3.4 Před rokem

    11 F

  • @Boy1.2.3.4
    @Boy1.2.3.4 Před rokem

    11F

  • @erodz1892
    @erodz1892 Před rokem

    New York City

  • @Boy1.2.3.4
    @Boy1.2.3.4 Před rokem

    TEMMIEVERSE