Irish LEGO User Group

Building & Collecting => Members' Creations => Topic started by: David on January 10, 2018, 04:29 pm

Title: LEGO traffic lights using LEDs
Post by: David on January 10, 2018, 04:29 pm
This is a short video of some traffic lights I made with a microprocessor, a small bit of code and some LEDs. Took a little modding some parts with the trusty drill.

Lights change around 0:15 seconds so you have to wait or fast forward a bit to see the change.

(http://minifigtimes.com/wp-content/uploads/2014/11/lego-led-traffic-lights-power-300x169.png)

LEGO traffic lights video (https://youtu.be/Gjtvn-e0ink)
Title: Re: LEGO traffic lights using LEDs
Post by: Daragh on January 14, 2018, 12:42 am
Great idea, looks very neat.

There seems to be a problem with the video link.
Title: Re: LEGO traffic lights using LEDs
Post by: David on January 14, 2018, 12:25 pm
The link works for me but the picture is not a video, its just a picture that should jump to Youtube when you click on it.

Edit - Apologies, I found the problem, Video was set as 'Private' - should be working now.
Title: Re: LEGO traffic lights using LEDs
Post by: Legoman2018 on January 30, 2018, 03:16 pm
How do u do that with the light
Title: Re: LEGO traffic lights using LEDs
Post by: David on January 31, 2018, 03:10 pm
You need to buy a microprocessor (I used an Arduino (https://www.arduino.cc/)) and you'll need some resistors, micro LEDs, fine wire and solder and with a drill and soldering iron. A breadboard recommended to get the circuit working before you solder it all together.

You can code a basic programme on the processor that will set the LED sequence. This you do on a computer and with the right USB cable you download the file to the mircoprocessor.

Here was what it looked like before it was put inside the LEGO.

Microprocessor stored away under the road but you could also make a service box on the footpath or place it in a nearby building with wires hidden (1x1 technic brick with hole useful for 'cabling' ducts).

Drill was used to drill a small hole in the stud on a 2x2 jumper plate which fixes the traffic light to the footpath and to make holes in 2 of the 3 1x1 bricks with stud on one side which house the LEDs.