Happy Halloween!
“Ratatouille” is a beloved animated film that many people grew up with, and dressing up as Linguini can be a nostalgic and heartwarming choice for movie fans. I witnessed that in the parade as people jumped in to take pictures!
It also fell into place when Jin came along to be my +1 for this costume duo. The ecstatic smiles and just gleams we received at the parade was not less of a compliment.
My intention with the LEDs was to create a lightbox to highlight ‘Remy’ character. As its Halloween, I also wanted to switch it up and make ‘remy pull the wrong nerve’ (evil)


How I made it
- Materials: Parchment paper, velcro, acrylic band + sheet (lazercut mouse) , wire
- Focussing on creating the most optimal lightbox, that could cast the perfect shadow, I began working on creating a study paper hat that would carry the weight of the batteries, past materials


Code
https://www.tinkercad.com/things/b67cPg5DA9G-copy-of-rgbw-strand-test/editel?tenant=circuits
#include <Adafruit_NeoPixel.h>
#define LED_PIN 1 // Define the Gemma’s data pin to which the LED strip is connected.
#define BUTTON_PIN 2 // Define the pin where the button is connected.
#define NUM_LEDS 30 // Change this to the number of LEDs in your strip.
Adafruit_NeoPixel strip = Adafruit_NeoPixel(NUM_LEDS, LED_PIN, NEO_GRB + NEO_KHZ800);
bool buttonPressed = false;
bool isRed = true; // Start with red color
void setup() {
strip.begin();
strip.show(); // Initialize all pixels to ‘off’
pinMode(BUTTON_PIN, INPUT_PULLUP); // Enable the internal pull-up resistor for the button pin
}
void loop() {
if (digitalRead(BUTTON_PIN) == LOW) {
// Button is pressed
if (!buttonPressed) {
// If the button was just pressed, toggle between red and yellow
buttonPressed = true;
isRed = !isRed;
if (isRed) {
setRed();
} else {
setYellow();
}
}
} else {
buttonPressed = false; // Reset the buttonPressed flag
}
}
void setRed() {
for (int i = 0; i < strip.numPixels(); i++) {
strip.setPixelColor(i, strip.Color(255, 0, 0)); // Red
}
strip.show();
}
void setYellow() {
for (int i = 0; i < strip.numPixels(); i++) {
strip.setPixelColor(i, strip.Color(200, 100, 50)); // Yellow
}
strip.show();
}


Things I would like to do differently
- Solder better and effectively us the heat-shrinking tube
- Find a better way to cast a shadow. Maybe?

