Introduction: Running LED Airport Runway
This is a revise and inspiration from https://www.instructables.com/id/Running-LEDs-Ardu...
I change the source code to make the light twinkle back and forth, and slower.
This is an hand-made model of Airport Runway.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Tools
To make a model of Running LED airport runway, you need:
1 Arduino (Leonardo)
24 Extension Wires
1 empty shoes box
1 Standard Type-A USB
1 100 Ohm resistor
After having these tools, you can decorating the box by color paper.
Step 2: Make It Up!
First you have to connect the LEDs to the Arduino by using wires. Each LED should be connect by two wires, one links to the Arduino, one links to the negative electrode. And putting a resistor to throttling the current pass through the LED.
Step 3: Programming Up!
Than lets programming up! First, you have write the outputs for pins, there have 12 pins in this source code, from 2 to 13. Second, you have to write one high digitals writes and one low to each LEDS, each LEDS will be delay 100ms. Third, you have to follow the previous steps to write it from LED NO.2 to LED NO.13, and write it back from NO.13 to NO.2. If you are still confusing how to program it, you can follow the steps by looking up the screenshots up there or download the source code, the links are below.
Source code: https://create.arduino.cc/editor/Hans1210/6495b64e-ecc1-46de-b213-10140f647e27/preview
Step 4: Change the Wires to Extension Wires
After finish programming, you can upload your source code in to your Arduino board, and checks if the light can twinkle back and forth. Because we are going to put the Arduino board in the box, so we have to put the LEDS on the extension wires. Each LEDS will be connect on two extension wires.I recommend you to choose the same color extension wires to links to the same LED, it will helps you to put the LEDS in order faster and more efficiency. After finish changing the wires, you can tape two extension wires together to make it looks organized.
Step 5: Putting It in a Box!
First, you have to drill 12 holes (6 on each side) on the surface of the box, the hole should fit a LED. After drilling it, you can put the Arduino in the box.Then you can put the LEDS into the hole in order, there are 12 LEDS connect to the breadboard, you should divide 2 LEDS in to a group, and put it in an opposite direction. After finish putting it, there should have 6 groups of LEDS facing each other.
Step 6: Drill a Hole for Type-A USB Line!
Letting the LEDS light, we have to charging it. You can drill a hole on the side of the box to letting the charging cable comes out. By the way, Arduino is fit with Type-A line.
Step 7: Close the Box and Finish!!
After drilling a hole for charging cable, you can connect your charging cable to a power bank. Lastly you can close the box and finish!!!
Participated in the
First Time Author Contest