Welcome, curious creator! Lampy isn’t just a lamp; it transforms your desk into a realm of glowing rainbows, twinkling fireflies, and fiery infernos. The magic? Open-source love combined with some spicy, absurd creativity.
Lampy creates jaw-dropping lighting effects, including:
- 🔥 Flickering Fires: For those cozy rainy days.
- 🌈 Infinite Rainbows: Pure magic.
- 🌟 Twinkling Fireflies: Nature-inspired calmness.
- 🌊 Ocean Waves: Flowing tranquility.
- 🌌 Shooting Stars: Wish upon them, maybe?
- 🧵 Matrix Rain: Get lost in code-inspired mystique.
Adjust speed, brightness, or custom settings directly via code tweaks. Whether you're a tinkerer, an artist, or a curious coder, Lampy lets you light the way your own way!
- ESP32 microcontroller (e.g., Xiao ESP32C3)
- WS2812B LED strip (72 LEDs)
- Power supply for the LEDs
- Breadboard and jumper wires for connections
- Connect the WS2812B LED strip to the ESP32:
- Data pin to
D0
- Power and ground to a suitable 5V power supply.
- Data pin to
- Ensure the ESP32 is powered correctly and connected to your computer for programming.
- Install the following Arduino libraries:
WiFi
ESPAsyncWebServer
FastLED
Preferences
ESPmDNS
- Upload the Lampy code to the ESP32 using the Arduino IDE.
- Power on the ESP32 and connect to the Wi-Fi hotspot named
Lampy-Hotspot
(password:password123
). - Open a browser and navigate to
192.168.4.1
to access the Wi-Fi setup page. - Enter your Wi-Fi credentials and submit the form.
- The ESP32 will reboot and connect to the specified Wi-Fi network.
- Once connected to the same network as the ESP32, access Lampy through
http://lampy.local
. - Use the web interface to control the LEDs.
Lampy’s control panel is your gateway to creative lighting magic:
- On/Off: Toggle the LEDs on or off with smooth fade-in and fade-out effects.
- Brightness: Adjust the brightness using a slider.
- Animation Modes: Choose your vibe from the dropdown menu:
- Fire
- Rainbow
- Firefly
- Water
- Matrix Rain
- Aster
- Mandarin
- Direction: Flip the direction of animations forward or backward.
- Speed: Adjust the speed of animations with a slider.
- Fire: Simulates cozy, flickering flames.
- Rainbow: Creates a moving rainbow pattern that’s pure magic.
- Firefly: Twinkling lights mimic nature's calm glow.
- Water: Mimics tranquil, flowing waves.
- Matrix Rain: Get lost in cascading green code.
- Aster: A dynamic field of floral-inspired patterns.
- Mandarin: Alternates between orange and green, like a mandarin orchard.
- Brightness Tuning: Experiment with the brightness slider to create the perfect ambiance.
- Custom Animations: Feeling adventurous? Add your own animation magic by editing the
.ino
file. - Seamless Transitions: Lampy ensures smooth transitions between on/off states for a professional touch.
- Automatic Network Reconnection: Lampy automatically reconnects to your saved Wi-Fi network. If it can’t, it reverts to hotspot mode.
- Modular Animations: All animations are separate functions, making it easy to add your own creative effects.
- Dynamic Control Server: The control server runs a sleek Vue.js app styled with TailwindCSS for a modern look.
- Animation Migration: The modes are super unstable and need to be migrated from lampy GitHub repository to FastLED.
- UI Stability: The UI is unstable and will be fine-tuned over time (e.g., slider interaction needs smoothing).
- Work-in-Progress: The current experience is a placeholder for what’s possible. Please report issues, bugs, or improvement ideas!
Lampy is powered by the GPL v3 License. Feel free to share, modify, and tinker as long as you keep the love open-source.
We’re all about bending rules and making technology FUN! Explore more of our absurd creations:
Created with chaos, code, and a sprinkle of absurdity by absurd.industries!