Close

Mounting it on the wall

A project log for Traffic Light Restoration

I restored a real traffic light and have it hanging on my living room wall.

jupdykejupdyke 09/15/2015 at 00:590 Comments

Now that the light was cleaned and repainted it was time to put it back together and mount it. I didn't do much with the light for about 6 months. I was working on buying a house, so I waited until I got moved in and settled. I got it mounted on the wall fairly quickly because I was tripping over the dang thing so often. I ordered some special brackets that are made to mount it on the wall like this.

I also punched a whole in the wall and ran the power cable down through the bracket an into the wall, then down to the basement. I also ran an Cat 5 cable through it. Originally I was planning on running this off a rasberry pi, but later I started playing with the Electric Imp.

Power comes in to the terminal block and then is split up. I put in an outlet with a light switch. So I have one outlet inside the bottom box. The light switch cuts all the power to the lights. This way I can turn it off while watching a movie or something like that. The outlet lets me plug in a usb charger. I used one of the thin ones to make sure that the box could close.

The middle box has the Electric Imp and the SainSmart relay board.

There really is not anything too complex about this project. I just took my time to keep it nice and clean. The electric imp runs a program to cycle through the lights. But you can force it any of the lights for a while. You can also send it a command to turn the lights all on, or all off. You can also flash the light a set amount of times. I shared this with my friends so they could send it commands from anywhere. Now they use it to try and get my attention to log in and play some video games with them.

As soon as I added the command to send it a number of times to flash, I had to go back put an upper limit on the number of flashes. My friends were quick to realize that they could send it any number they wanted (which turned out to be a very large number) haha. Now any number over a 100 defaults back to 100.

Discussions