Project Members: Kassia and Stanley
Clock Project Materials
20ft Neon Rope Light (
) x2https://a.co/d/07Wv8LGq Hicarer Quartz Clock Mechanism (
) x2https://a.co/d/0ayWk703 14 INCH Circle Wood Panel (
) x2https://a.co/d/02dNcepE 14 in Diameter 1/8" Acrylic Circle Sheet (
) x2https://a.co/d/0g4jJQRN ESP32 Devkit C Development Boards (
) x2https://www.amazon.com/dp/B089F6LRBS?plpRedirect=mhFallback&ref=clp_hp_h_pc 5V batteries (still not too sure on what power source we want for the clocks [wall plug, power bank, lithium battery, etc.)
Response by Jonathan:
Quartz clock mechanisms are powered by their own battery, typically an AA
ESP32's can be powered by 5-9V on Vin, 5V on the 5V pin, or 3.3V on the 3.3V pin. Since Neopixels are happiest at 5V, I would recommend powering the whole system with 5V, using a USB cable or a 5V power adaptor. Since Neopixels can draw a lot of power, I would recommend a 5V 3A DC adaptor
NeoPixels powered by 5v ideally need a 5V data signal. If using a 3.3V microcontroller you must use a logic level shifter such as a 74AHCT125 or 74HCT245. See the “Logic Level Shifting” page for more details. If you are powering your NeoPixels with 3.7v directly from a LiPoly cell, a 3.3v data signal is OK.
Listed Neon rope uses a 24V 24W power supply
Ed's MIT LED Project
We were hoping there was a previous compiled list of materials to make the project again. We talked with Ed a bit about this, but we were thinking to make the project more portable (and therefore smaller) to carry around and gift to schools, but I don't think we settled on that idea just yet.
Clock Questions:
How do I program an ESP32 Board using Arduino in order to program LED lights to turn a certain color?
How do we connect the LED light to the ESP32 Board to manually change color?
Could we send a message along with a change in color from one clock to another?
How can I permit communication both ways?
How can we creatively design a clock design with numbers and utilize the circular acrylic sheets effectively in the overall appearance of the clock?
Ed's MIT LED Project Questions:
How can we concise the model such that it can be portable or hand held?
How can we use the model we have now to improve on the functionality of the LED Diodes and sensors (i.e. the communication between diode and sensors is really rough, likely due to the outline of the acrylic?)
How could we personalize the model to each school as a gift? Detachable part of the model?
- Why use an ESP32? Are you controlling this remotely?
- 2. What is the neon rope for? the one listed uses its own 24V controller, and cannot be connected to a microcontroller.
For the standard AILBTON 20FT Neon Rope Light, the short answer is no, it cannot be controlled directly using Adafruit NeoPixel / FastLED addressable software.
However, it can be controlled by a microcontroller using standard analog PWM drive circuitry.
Why It Doesn't Work with NeoPixel Software
Analog RGB vs. Digital Addressable (NeoPixel/WS2811):
This specific AILBTON neon light uses the Lotus Lantern app ecosystem with simple DC 24V RGB drive.
It is an analog 4-wire LED strip (+24V, R, G, B) rather than a digital addressable strip. The entire 20-foot rope changes to one color at a time across the whole length; individual LEDs do not have integrated driver ICs (such as WS2811, WS2812B, or SK6812) to decode digital data pulses.
The Adafruit NeoPixel library sends high-speed single-wire NRZ timing signals (
DATA_IN). Because this strip lacks digital decoder ICs, it cannot read or respond to a NeoPixel data line.
Operating Voltage:
This strip operates at 24V DC.
Direct logic outputs from a 3.3V or 5V microcontroller will not drive it.
How to Control It with a Microcontroller
While you cannot address individual segments or run NeoPixel chases, you can fully control the overall color, brightness, and fading transitions using a microcontroller (such as an ESP32 or Arduino) via PWM (Pulse Width Modulation):
Microcontroller (3.3V / 5V)
PWM Pin R ----[ Gate ]--> Logic-Level N-Ch MOSFET ---> Strip R- (Ground switch)
PWM Pin G ----[ Gate ]--> Logic-Level N-Ch MOSFET ---> Strip G- (Ground switch)
PWM Pin B ----[ Gate ]--> Logic-Level N-Ch MOSFET ---> Strip B- (Ground switch)
GND ---------- Common Ground with 24V Supply
24V 2A–3A Power Supply:
+24V -------------------------------------------------> Strip +24V (Common Anode)
GND -------------------------------------------------> MOSFET Sources & MCU GND
Hardware Needed:
3× Logic-level N-channel MOSFETs (e.g., IRLZ44N, AO3400) or a dedicated low-side MOSFET module/shield.
Common-ground reference between the MCU and the 24V supply.
Firmware:
Standard
analogWrite()(on Arduino) orledcWrite()(on ESP32) to generate PWM on the red, green, and blue gates.
1. The "Individually Addressable" Quirk (12V / 24V Pixel Grouping)
In standard 5V strips (like WS2812B), each physical LED package contains its own IC and acts as one individual pixel. In higher voltage strips:
12V WS2811: Typically controls 3 LEDs in series per 1 WS2811 IC.
One "pixel" in code illuminates a 3-LED segment together. 24V WS2811: Typically controls 6 LEDs in series per IC.
Software impact: If you have a strip with 300 physical LEDs run at 12V with 3 LEDs per IC, your code should define 100 pixels, not 300.
2. Microcontroller Wiring Architecture
To wire a 12V/24V WS2811 strip:
Common Ground (GND): Connect the
-/ GND terminal of the external 12V/24V DC power supply to the strip's GND and to the microcontroller's GND pin. Without a shared ground reference, the data signal cannot be decoded.Data Line Protection: Connect your chosen GPIO pin to the strip’s
DIN(Data In) wire through an inline 330 Ω – 470 Ω resistor close to the strip.Power Filtering: Place a 1000 µF capacitor (rated for at least 25V for a 12V setup, or 35V–50V for a 24V setup) across the
+and-terminals where power enters the strip to smooth inrush spikes.Logic Level (3.3V vs 5V):
An Arduino Uno / Mega (5V logic) can drive the WS2811 DIN line directly.
-----------------
Simple Code Example:
No comments:
Post a Comment