Create this DIY 3d printed heart shaped lamp with NEON LED'S!
Things used in this project
Hardware components
HARDWARE LIST
1 DFRobot Gravity:Digital Push Button (Yellow)
4 LED (generic)
1 Arduino Nano
4 Resistor 330 ohm
1 Resistor 1k ohm
Software apps and online services
Hand tools and fabrication machines
Soldering iron (generic)
Solder Wire, 0.022" Diameter
Hot glue gun (generic)
Story
The top of the Heart Lamp was modeled in Rhino and 3d printed on a makerbot printer. I have the stl file attached below. The base is made out of plywood with a hollow body so that the arduino nano, led's and other components are able to fit seamlessly.
Schematics
Code
Code for DIY LED Heart
Arduino
CODE
int button7 = 8;
int led2 = 2;
int led3 = 3;
int led4 = 4;
int led5 = 5;
int status = false;
void setup(){
pinMode(led2, OUTPUT);
pinMode(led3, OUTPUT);
pinMode(led4, OUTPUT);
pinMode(led5, OUTPUT);
pinMode(button7, INPUT_PULLUP);
}
void loop(){
if (digitalRead(button7) == true) {
status = !status;
digitalWrite(led2, status);
digitalWrite(led3, status);
digitalWrite(led4, status);
digitalWrite(led5, status);
} while(digitalRead(button7) == true);
delay(50);
}
The article was first published in hackster, January 11, 2023
cr: https://www.hackster.io/neopixl/neon-led-heart-lamp-4ca19c
author: Lenna Galanis
License
All Rights
Reserved
0
More from this category