https://github.com/roshho/kusama-corner-light
Creating RGB Kusama Pumpkin lamp powered by an ESP32 with menu toggling function.
https://github.com/roshho/kusama-corner-light
esp32 kusama lilygo mondrian
Last synced: 3 months ago
JSON representation
Creating RGB Kusama Pumpkin lamp powered by an ESP32 with menu toggling function.
- Host: GitHub
- URL: https://github.com/roshho/kusama-corner-light
- Owner: roshho
- Created: 2024-11-05T03:23:25.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-08T05:46:10.000Z (about 1 year ago)
- Last Synced: 2025-04-10T10:10:04.964Z (7 months ago)
- Topics: esp32, kusama, lilygo, mondrian
- Language: C++
- Homepage: https://medium.com/@rh3210/pumpkins-obsession-how-to-make-your-own-kusama-lamp-final-explanation-feed1f4a9564
- Size: 245 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kusama's Corner Pumpkin Light π¨β«
## π About
Create RGB Kusama pumpkin lamp powered with an ESP32 with menu toggling function built in. This is proof of concept for subsequent project involving making this smart home comptaible either using espressif or homespan via ESP32.
## βοΈ Hardware
### Links to the STL print files
- The following thingiverse contains 3 STL files. You can choose to print the hollowed pumpkin or shelled pumpkin as the shell for the lamp.
- Shelled pumpkin would require a lot of support, however is effective to accomodate for walls with inconsistent corners.
- Hollowed pumpkin requires infill to establish support on the inside of the pumpkin, but can function as a standalone corner lamp. The hollowed pumpkin is used by this project
- The joystick pumpkin is an optional print and is a custom fit print with a complete Yayoi Kusama pumpkin as a joystick cap.
[https://www.thingiverse.com/thing:6820721](https://www.thingiverse.com/thing:6820721)
### Hardwares involved
- Neopixel hw160 or any rgb strip (but may require different transistors)
- ESP32 (using Lilygo ESP32 TTGO in this case)
- Joystick
- Power supplyer for ESP32
- 450ohm resistor for neopixel
- Breadboard
- Male-to-male header cables
- Button
- Potentiometer (optional)
### Circuit diagram
- Referring to the ``rgb_led_circuit.fzz`` or the following screenshot, route the hardware as shown above.

## π₯οΈ Software
### Instructions to toggle between lighting settings
- Menu consists of 3 modes: static, breathing, and color change
- Static allows static color of: Green, Blue, Red, Orange
- Breathing soft modulates color of white
- Color change soft modualtes between colors across the RGB spectrum
- To select mode or colors, click the button
### Instructions to run arduino code
1) Using the [Arduino IDE](https://www.arduino.cc/en/software), open the respective ``.ino`` file
2) Install [TTGO T-display driver](https://github.com/Xinyuan-LilyGO/TTGO-T-Display)
3) Assign Arduino IDE port to the one that Lilygo TTGO is connected to
4) Install TFT_eSPI library (display library)
- Under Arduino IDE/tools/library_manager, search ``tft_espi``
- Navigate to the library, e.g. Documents/Arduino/libraries/tft_espi
- Open up the file Arduino/libraries/TFT_eSPI/User_Setup_Select.h
- comment out the line ``#include ``
- uncomment out the line include ``>``
- note - commenting out means adding ``//`` in front of the line, to uncomment, remove ``//`` but donβt remove the ``#`` sign
5) Install [Adafruit Neopixel](https://github.com/adafruit/Adafruit_NeoPixel) under ``Arduino IDE/Library Manager``
6) Install [SPI](https://docs.arduino.cc/language-reference/en/functions/communication/SPI/) under ``Arduino IDE/Library Manager``
7) Compile and upload the code from the ``.ino`` to your Lilygo TTGO
8) Money πΈπΈπΈ