Proto
DIY TV Remote Wristband (Kid-Friendly Guide)
Make your own wearable remote to control your TV. It has buttons, lights, and sounds — and fits right on your wrist!
🧰 What You Need
- ESP32 Dev Board – Buy on Amazon
- IR LED (TSAL6200) – Buy on Amazon
- NPN Transistor (2N2222) – Buy on Amazon
- 220Ω and 1kΩ Resistors – Buy on Amazon
- WS2812B RGB LEDs – Buy on Amazon
- Passive Buzzer – Buy on Amazon
- Tactile Push Buttons (x4) – Buy on Amazon
- LiPo Battery (800mAh) – Buy on Amazon
- TP4056 Charging Module – Buy on Amazon
- Breadboard & Jumper Wires – Buy on Amazon
🔌 Tools Needed
- Computer with USB
- Thonny IDE – Download here
- MicroPython firmware – Get it here
📷 Images
Here's what you're building (upload these images manually to Blogger):
Instruction Diagram:
Final Product Look:
🔧 Step-by-Step Instructions
- Plug your ESP32 into the breadboard
- Connect the IR LED with 220Ω resistor and transistor to a GPIO pin
- Wire 4 push buttons to GPIOs 18, 19, 21, and 22
- Attach RGB LEDs (WS2812B) to a GPIO (e.g., GPIO 23)
- Connect buzzer/speaker to GPIO 25
- Hook up battery to TP4056, and power the ESP32
- Install MicroPython on ESP32
- Open Thonny, paste in the code below, and run it
- Test: Press buttons, see lights, hear beeps, and check IR output
- Print and fit everything into the 3D printed case
🧠Code (MicroPython)
from machine import Pin, PWM
import time
btn_power = Pin(18, Pin.IN, Pin.PULL_UP)
btn_volup = Pin(19, Pin.IN, Pin.PULL_UP)
btn_voldown = Pin(21, Pin.IN, Pin.PULL_UP)
btn_mute = Pin(22, Pin.IN, Pin.PULL_UP)
speaker = PWM(Pin(25))
def beep(freq=1000, duration=100):
speaker.freq(freq)
speaker.duty(512)
time.sleep_ms(duration)
speaker.duty(0)
def send_ir(code_name):
print("Sending IR:", code_name)
beep()
while True:
if not btn_power.value(): send_ir("Power"); time.sleep(0.5)
if not btn_volup.value(): send_ir("Volume Up"); time.sleep(0.5)
if not btn_voldown.value(): send_ir("Volume Down"); time.sleep(0.5)
if not btn_mute.value(): send_ir("Mute"); time.sleep(0.5)
🖨 3D Printable Case
Download the flat-top case STL file: TV_Wristband_Case.stl
✅ Final Checklist
- ✅ ESP32 programmed and working
- ✅ IR, lights, and sounds tested
- ✅ Fully assembled in wristband case
- ✅ Battery charged via TP4056
- ✅ TV responds to wristband control!
You're done! Wear your wristband and control your TV like a tech wizard 🎉
Comments
Post a Comment