Homemade Arduino Dual-Ped Sig Controller

EM, NEMA, whatever - if it controls a traffic signal, you can talk about it here.

Moderator: SignalLab

Homemade Arduino Dual-Ped Sig Controller

Postby pyth on Tue Mar 12, 2013 8:39 pm

The images are all thumbnails, if it isn't obvious. :grin:

Image
Image
Image

Using an old award picture frame thing I didn't use much, I stuck on a reused arduino-relay combo wire-tied to a Lego grid board thing from one of my earliest controllers. The power strip supplies power to the USB adapter (to the Arduino and relays) and to the relays' output areas where it gets directed to the LEDs/bulbs when it's supposed to. That ground bar is there to make it easier to split 1 hot to 4 hots, in the past I would make wire+wirenut webs and those are just messy.

Arduino code for anyone who wants it

Image

Here's the whole board nailed to the wall, the Leotek will block most of it later on.

Image

All wired up, ready to go.

And the end result:



Sure the relays are noisy, but I like it. :grin:
A.J.
Flickr
User avatar
pyth
Crusty Old Salt
Crusty Old Salt
 
Posts: 351
Joined: Sun Feb 12, 2012 10:15 pm
Location: Islip, New York

Re: Homemade Arduino Dual-Ped Sig Controller

Postby steven1981 on Tue Mar 12, 2013 9:16 pm

I see you replicated a very similar sequence (with regards to the red and green pedestrian signals) that could be found in Central Park in Manhattan, New York. Excellent.
Steven G.
User avatar
steven1981
Crusty Old Salt
Crusty Old Salt
 
Posts: 3552
Joined: Tue Jun 29, 2010 1:09 pm
Location: Manahawkin, NJ

Re: Homemade Arduino Dual-Ped Sig Controller

Postby pyth on Tue Mar 12, 2013 9:22 pm

steven1981 wrote:I see you replicated a very similar sequence (with regards to the red and green pedestrian signals) that could be found in Central Park in Manhattan, New York. Excellent.

I was going to reference it but I couldn't find it haha, great catch on that one. :thumbsup:
A.J.
Flickr
User avatar
pyth
Crusty Old Salt
Crusty Old Salt
 
Posts: 351
Joined: Sun Feb 12, 2012 10:15 pm
Location: Islip, New York

Re: Homemade Arduino Dual-Ped Sig Controller

Postby mikerm on Tue Mar 12, 2013 9:59 pm

The best way to replace the relay noise is to get an opto-isolator and a triac :)
Mike
User avatar
mikerm
Crusty Old Salt
Crusty Old Salt
 
Posts: 653
Joined: Mon Sep 19, 2011 8:40 pm
Location: Albuquerque, NM

Re: Homemade Arduino Dual-Ped Sig Controller

Postby 69-cat on Wed Mar 13, 2013 9:49 am

I picked up an Arduino round xmas time and the first sketch I made was a signal controller (go figure). I have been playing with projects for my Halloween props and there is a large amount of forums on line for Arduino. Very helpful just like this forum!
Dave
When I die, I want to go peacefully like my Grandfather did, in his sleep -- not screaming, like the passengers in his car!

Dave B.
User avatar
69-cat
Crusty Old Salt
Crusty Old Salt
 
Posts: 625
Joined: Tue Jul 03, 2007 10:07 pm
Location: Glen Burnie,MD

Re: Homemade Arduino Dual-Ped Sig Controller

Postby Econo101 on Thu Mar 14, 2013 6:02 pm

Very nice!

mikerm wrote:The best way to replace the relay noise is to get an opto-isolator and a triac :)


I designed a PCB that has 3 opto-TRIAC circuits on it, designed to interface 5volt logic to 120VAC signals. PM me if you're interested in buying one. I still have a few kicking around.

Spoiler:
They were designed for my old high school's electronics shop. They now have a full set of signals and the students are able to write codes on the computer to run them. Everybody loves the setup
-Sean B
Image
User avatar
Econo101
Crusty Old Salt
Crusty Old Salt
 
Posts: 1987
Joined: Thu Oct 23, 2008 8:09 pm
Location: Toronto Ontario Canada

Re: Homemade Arduino Dual-Ped Sig Controller

Postby pyth on Thu Mar 14, 2013 6:39 pm

Econo101 wrote:Very nice!

mikerm wrote:The best way to replace the relay noise is to get an opto-isolator and a triac :)


I designed a PCB that has 3 opto-TRIAC circuits on it, designed to interface 5volt logic to 120VAC signals. PM me if you're interested in buying one. I still have a few kicking around.

Spoiler:
They were designed for my old high school's electronics shop. They now have a full set of signals and the students are able to write codes on the computer to run them. Everybody loves the setup

I remember the thread. Thanks for the offer, but I think I'll make one myself just for the experience and knowing more about it than I do now. I like your work though. :grin:
A.J.
Flickr
User avatar
pyth
Crusty Old Salt
Crusty Old Salt
 
Posts: 351
Joined: Sun Feb 12, 2012 10:15 pm
Location: Islip, New York

Re: Homemade Arduino Dual-Ped Sig Controller

Postby justinwebb on Fri Mar 15, 2013 11:05 pm

I have something similar except it controls all of my traffic lights in the intersection. 10 heads in all and some are doghouses, it was a nightmare to program and wire up but it works great.
User avatar
justinwebb
Signal Crazy
Signal Crazy
 
Posts: 134
Joined: Sat Mar 07, 2009 12:33 am
Location: Columbus, OH

Re: Homemade Arduino Dual-Ped Sig Controller

Postby pyth on Sat Mar 16, 2013 12:37 am

justinwebb wrote:I have something similar except it controls all of my traffic lights in the intersection. 10 heads in all and some are doghouses, it was a nightmare to program and wire up but it works great.



This is the most complex I've made so far but I consider it a failure because of the numerous mistakes I made (using romex wires instead of stranded being a big one). It's very sloppy and can't be mounted, but it's something.
A.J.
Flickr
User avatar
pyth
Crusty Old Salt
Crusty Old Salt
 
Posts: 351
Joined: Sun Feb 12, 2012 10:15 pm
Location: Islip, New York

Re: Homemade Arduino Dual-Ped Sig Controller

Postby justinwebb on Sat Mar 16, 2013 9:14 am

My first go at it wasn't that great either but I just improved. I used solid state relays to make it quiter as all the clicking was annoying lol
User avatar
justinwebb
Signal Crazy
Signal Crazy
 
Posts: 134
Joined: Sat Mar 07, 2009 12:33 am
Location: Columbus, OH

Next

Return to Signal Controllers

Who is online

Users browsing this forum: SignalFreak and 0 guests