Introduction: Basic Breadboard LED Jack O' Lantern
This project creates a 3D Printed Jack O' Lantern that lights up with 3 small LED Lights!
Attachments
Supplies
Materials
3D Printer with any color filament of your choice
Arduino Uno
Breadboard
7 Breadboard wires
3 LED Lights
6 220Ω Resistor
Step 1:
Using your 3D Printer, print any hollow Jack O Lantern. I used this Thingiverse Model: https://www.thingiverse.com/thing:1064249 ! Set the Y on the model to 50mm, and scale the model appropriately. Use a color you want your Jack O Lantern to look like!
Step 2:
As the print finishes, set up the breadboard as shown above!
Use any color LED that matches with your 3D Print. My Jack o Lantern was yellow, so I chose red and yellow LED lights!
Step 3:
Input the following code into the Arduino Uno:
int BASE = 2 ;
int NUM = 3;
void setup()
{
for (int i = BASE; i < BASE + NUM; i ++)
{
pinMode(i, OUTPUT);
}
}
void loop()
{
for (int i = BASE; i < BASE + NUM; i ++)
{
digitalWrite(i, LOW);
delay(30);
}
for (int i = BASE; i < BASE + NUM; i ++)
{
digitalWrite(i, HIGH);
delay(30);
}
}
This program will make your LEDs blink at a rapid pace, imitating a candle! Verify the code by clicking the checkmark button at the top left corner of the window to make sure you did not copy the code incorrectly.
Step 4:
Place the 3D printed jack o lantern on top of the LEDs on the breadboard. You did it!




