Thingiverse
Chromotherapy Christmas House by STEMaker
by Thingiverse
Last crawled date: 3 years, 4 months ago
This project is fun because it combines arduino circuits and code with laser cutting and 3d printing. It uses an RGB LED and PWM to make a delightful chromotherapeutic holiday effect.
What you need:
Arduino Uno
Laser Cutter
3d Printer
6mm Birch wood
Plastic house or toy
3 220 Ohm resistors
jumper cables and wires
Step 1: Cut out the wood backing with a laser cutter (file included).
2: Attach the feet to the backing with glue.
3: Fasten the Arduino to backing with 3mm screws.
4: Attach mini breadboard to backing with double sided tape.
5: 3D print the clips.
6: Hook up Arduino circuit like that shown in the diagram.
7: Upload the RBG fade sketch to the Arduino.
8: Find a plastic toy to put on top.
Credits:
For the PWM code for LED:
https://create.arduino.cc/projecthub/Shahirnasar/simple-rgb-led-light-with-fade-635bc2
Code:
// variables to hold the LED color
int rVal = 254;
int gVal = 1;
int bVal = 127;
int rDir = -1;
int gDir = 1;
int bDir = -1;
// constants to name the pins
const int rPin = 11;
const int gPin = 10;
const int bPin = 9;
void setup() {
// declare the pinModes
pinMode(rPin, OUTPUT);
pinMode(gPin, OUTPUT);
pinMode(bPin, OUTPUT);
pinMode(A0, INPUT);
Serial.begin(9600);
}
void loop() {
// PWM the LED
// when using a common anode RGB LED like the ones in
// your kits, you create a voltage difference across
// each diode to light up the LED, that is, a PWM value
// of 255 will turn that light off, while a PWM value of 0
// will turn that light on fully.
Serial.println(analogRead(A0));
if (analogRead(A0) < 400) {
analogWrite(rPin, rVal);
analogWrite(gPin, gVal);
analogWrite(bPin, bVal);
// change the values of the LEDs
rVal = rVal + rDir;
gVal = gVal + gDir;
bVal = bVal + bDir;
// for each color, change direction if
// you reached 0 or 255
if (rVal >= 255 || rVal <= 0) {
rDir = rDir * -1;
}
if (gVal >= 255 || gVal <= 0) {
gDir = gDir * -1;
}
if (bVal >= 255 || bVal <= 0) {
bDir = bDir * -1;
}
} else {
digitalWrite(9, LOW);
digitalWrite(10, LOW);
digitalWrite(11, LOW);
}
// slight delay so it doesn't rotate color too quicky
delay(33);
}
What you need:
Arduino Uno
Laser Cutter
3d Printer
6mm Birch wood
Plastic house or toy
3 220 Ohm resistors
jumper cables and wires
Step 1: Cut out the wood backing with a laser cutter (file included).
2: Attach the feet to the backing with glue.
3: Fasten the Arduino to backing with 3mm screws.
4: Attach mini breadboard to backing with double sided tape.
5: 3D print the clips.
6: Hook up Arduino circuit like that shown in the diagram.
7: Upload the RBG fade sketch to the Arduino.
8: Find a plastic toy to put on top.
Credits:
For the PWM code for LED:
https://create.arduino.cc/projecthub/Shahirnasar/simple-rgb-led-light-with-fade-635bc2
Code:
// variables to hold the LED color
int rVal = 254;
int gVal = 1;
int bVal = 127;
int rDir = -1;
int gDir = 1;
int bDir = -1;
// constants to name the pins
const int rPin = 11;
const int gPin = 10;
const int bPin = 9;
void setup() {
// declare the pinModes
pinMode(rPin, OUTPUT);
pinMode(gPin, OUTPUT);
pinMode(bPin, OUTPUT);
pinMode(A0, INPUT);
Serial.begin(9600);
}
void loop() {
// PWM the LED
// when using a common anode RGB LED like the ones in
// your kits, you create a voltage difference across
// each diode to light up the LED, that is, a PWM value
// of 255 will turn that light off, while a PWM value of 0
// will turn that light on fully.
Serial.println(analogRead(A0));
if (analogRead(A0) < 400) {
analogWrite(rPin, rVal);
analogWrite(gPin, gVal);
analogWrite(bPin, bVal);
// change the values of the LEDs
rVal = rVal + rDir;
gVal = gVal + gDir;
bVal = bVal + bDir;
// for each color, change direction if
// you reached 0 or 255
if (rVal >= 255 || rVal <= 0) {
rDir = rDir * -1;
}
if (gVal >= 255 || gVal <= 0) {
gDir = gDir * -1;
}
if (bVal >= 255 || bVal <= 0) {
bDir = bDir * -1;
}
} else {
digitalWrite(9, LOW);
digitalWrite(10, LOW);
digitalWrite(11, LOW);
}
// slight delay so it doesn't rotate color too quicky
delay(33);
}
Similar models
thingiverse
free
3DX TRAFFIC LIGHT
...digitalwrite(ledg, low);
digitalwrite(ledy, high);
delay(3000);
digitalwrite(ledr, high);
digitalwrite(ledy, low);
delay(1000);
}
thingiverse
free
Motion sensing night light by SteveOst
...talwrite(led1,low);
digitalwrite(led2,low);
}
serial.println("motion");
serial.print(motionvalue);
}
else
{
delay(300);
thingiverse
free
Wheel of Fortune by WillemvD
...yservo.write(pos); delay(15); }
delay(2000);
for (pos = 180; pos >= 0; pos -= 1) { myservo.write(pos); delay(15); }
}
}
thingiverse
free
LikeYouPartyPin by WillemvD
..., low); delay(200);digitalwrite(eye, high);delay(200);
digitalwrite(mouthlow, low); digitalwrite(mouthhigh, low); delay(500); }}}
thingiverse
free
3D printed induction motor controller with arduino by robogio
...write(b, high);
digitalwrite(c, high);
digitalwrite(d, low);
digitalwrite(e, high);
digitalwrite(f, low);
delaymicroseconds(t);
}
thingiverse
free
Lighthouse - Isle of Lewis - Scale Model by CPomeroy
... = 450 ; x >= 0; x--) {
int brightness = 1+(x/7.63);
analogwrite(0, brightness);
delay(1);
}
analogwrite(0, 1);
delay(3800);
}
thingiverse
free
Cat feeder with Tropicana bottle hopper by TheLoupen
...;
cycle();
vibrate(3);
cycle();
vibrate(3);
//delay(20000);
k++;
}
//digitalwrite(led13, low);
write(0,0,0,0);
delay(10752000);
}
thingiverse
free
A Tracking Platform for Astrophotography by alex16
...delay(dl);
digitalwrite( in1, low );
digitalwrite( in2, low );
digitalwrite( in3, high );
digitalwrite( in4, high );
delay(dl);
}
grabcad
free
Harry Vader's fully armed and operational Elder Light Saber Wand
...nalogwrite(blueled, 255);
}
else{
analogwrite(blueled, 0);
}
delay(5);
}
// end mode 5
}
// end main loop
thingiverse
free
Advanced (Arduino controlled) Zoetrope by WillemvD
...); digitalwrite(sb1,high); digitalwrite(sb2,low); delay(s);}
digitalwrite(f,high);
delay(1); //short flash
digitalwrite(f,low);
}
Chromotherapy
grabcad
free
Nokia LED Bulb WiFi Speaker
...speaker listen music led lights music beat colored lights chromotherapy you can hear your phone call or music in...
3dwarehouse
free
Steel shower head CHROMOTHERAPY
...steel shower head chromotherapy
3dwarehouse
3dwarehouse
free
JWP-WHT-ALIVE180CX
...air pump- 0.95 hp • overflow cum filler • chromotherapy • disinfection • electronic control • level sensor •...
3dwarehouse
free
JWP-WHT-VGNT190CX
...air pump- 0.95 hp • overflow cum filler • chromotherapy • disinfection • electronic control • level sensor •...
Christmas
3d_ocean
$3
Christmas bauble
...christmas bauble
3docean
christmas bauble christmas tree merry christmas
christmas bauble
turbosquid
$2
Christmas Ornament Christmas Ornament
... available on turbo squid, the world's leading provider of digital 3d models for visualization, films, television, and games.
3d_ocean
$5
Christmas
...de in 3ds max 2013 3dsmax with vray render included material and light obj file fbx file hope you like it please don’...
3d_export
free
christmas sphere
...christmas sphere
3dexport
christmas sphere to decorate your christmas pine in 3d
3d_export
free
christmas sphere
...christmas sphere
3dexport
christmas sphere to decorate your christmas pine in 3d
3d_export
$5
christmas balls
...christmas balls
3dexport
christmas balls, great decorations for your 3d christmas tree.
3d_ocean
$5
Christmas Ornaments
... ornaments in cinema 4d. it’s very basic, but extremely nice, especially for christmas. this is perfect for your holiday scene...
3d_ocean
$19
Christmas wreath
...christmas wreath
3docean
christmas decoration wreath
high quality christmas wreath with animated lights
turbosquid
$1
christmas
...rbosquid
royalty free 3d model christmas for download as max on turbosquid: 3d models for games, architecture, videos. (1357407)
3d_export
$5
christmas lollipop
...christmas lollipop
3dexport
christmas lollipop.
House
archibase_planet
free
House
...t
house residential house private house wooden house
house wooden n290815 - 3d model (*.gsm+*.3ds) for exterior 3d visualization.
archibase_planet
free
House
...use residential house private house wooden house
house wood stone n140815 - 3d model (*.gsm+*.3ds) for exterior 3d visualization.
archibase_planet
free
House
...ibase planet
house residential house building private house
house n050615 - 3d model (*.gsm+*.3ds) for exterior 3d visualization.
archibase_planet
free
House
...ibase planet
house residential house building private house
house n030615 - 3d model (*.gsm+*.3ds) for exterior 3d visualization.
archibase_planet
free
House
...ibase planet
house residential house building private house
house n230715 - 3d model (*.gsm+*.3ds) for exterior 3d visualization.
archibase_planet
free
House
...ibase planet
house residential house building private house
house n240615 - 3d model (*.gsm+*.3ds) for exterior 3d visualization.
archibase_planet
free
House
...ibase planet
house residential house building private house
house n290815 - 3d model (*.gsm+*.3ds) for exterior 3d visualization.
archibase_planet
free
House
...ibase planet
house residential house building private house
house n110915 - 3d model (*.gsm+*.3ds) for exterior 3d visualization.
archibase_planet
free
House
...ibase planet
house residential house building private house
house n120915 - 3d model (*.gsm+*.3ds) for exterior 3d visualization.
archibase_planet
free
House
...ibase planet
house residential house building private house
house n210915 - 3d model (*.gsm+*.3ds) for exterior 3d visualization.