ESP32-Strobe-Master
Project Information
ESP32-Strobe-Master is a high-precision embedded firmware and real-time web dashboard engineered to exploit the stroboscopic effect, allowing users to visually freeze, reverse, or alter the perceived motion of spinning fan blades or emulate certain frequencies through light.
Flash to Device
Login required: You need to login or create an account to flash this project.
README
β‘ ESP32-Strobe-Master
An ultra-precise, web-controlled ESP32 stroboscopic light generator engineered to exploit the stroboscopic effect. Visually freeze, reverse, or manipulate the perceived rotation speed of spinning ceiling fans, water streams, vibrating strings, and mechanical equipment.
π Key Features
- Sub-Hertz Frequency Precision: Micro-step tuning from 1.00 Hz to 200.00 Hz with 0.01 Hz resolution.
- Microsecond Duty-Cycle Control: Pulse widths down to 0.1% duty cycle to eliminate motion blur and deliver razor-sharp frozen frames.
- Embedded Flash Web App: Single-file HTML5/JS dashboard gzipped directly into ESP32
PROGMEMβ zero external filesystem flashing required. - Real-time Canvas Physics Engine: Integrated 2D optical illusion simulator to model fan RPM, blade counts, and temporal aliasing offline.
- Live System Telemetry: Real-time WebSocket streaming of free heap memory, CPU frequency, uptime, and hardware pin state.
- Profile Manager: Save, load, and delete custom preset profiles stored as JSON inside LittleFS flash memory.
- Hardware Safety Guardrails: Strict GPIO pin mapping that restricts output exclusively to safe PWM pins, protecting bootloader pins.
π How It Works
When a rotating object spins at frequency ftarget, flashing a high-intensity light at frequency fstrobe produces temporal aliasing: fobserved = |ftarget - k Β· fstrobe|
Where k is an integer harmonic.
| Condition | Visual Result |
|---|---|
| fstrobe = ftarget | Frozen Motion β Blade illuminated in the exact same spatial orientation every turn. |
| fstrobe < ftarget | Slow Forward Crawl β Blade illuminated slightly ahead on each pulse. |
| fstrobe > ftarget | Slow Reverse Crawl β Blade illuminated slightly behind on each pulse. |
π οΈ Hardware Requirements & Circuit
β‘ Quick Setup vs. High-Power Setup
Minimal Setup (For Testing & Low-Light Demos):
- For low light expermiments, connect a standard LED directly to an ESP32 GPIO pin with a 220 Ξ© current-limiting resistor in series. You can also test this without extra wiring by targeting the ESP32 onboard LED (typically GPIO 2).
High-Power Setup (Recommended for Freeze Effect):
- To produce flash pulses bright enough to freeze larger targets (like ceiling fans or room lighting) without motion blur, use an external high-power LED driver circuit with a MOSFET.
How to use it?
- Flash the firmware to your ESP32.
- Power on the board and connect to the Wi-Fi Access Point:
- SSID: ESP32-Strobe-Master
- Password: strobe1234
- Navigate to your ESP32's ip address, mostly 192.268.4.1 in any modern web browser.
β οΈ Safety Warning
When the stroboscopic effect visualizes a fast-spinning ceiling fan or mechanical power tool as stationary, the object is still rotating at full speed.
- Physical Danger: Never attempt to touch, clean, or obstruct moving blades or mechanical assemblies that appear frozen by strobe light.
- Photosensitivity Warning: High-brightness flickering light can trigger seizures in individuals with photosensitive epilepsy. Use caution and avoid direct eye exposure.