Atom Yang
Published © CC BY

Smart Desk Light with Flexible COB LED Strip + mmWave Sensor

Turn 1mm COB strips into real smart lights—proper driving, smooth dimming, and mmWave presence control (ESPHome + Home Assistant).

BeginnerWork in progress5 hours1,303
Smart Desk Light with Flexible COB LED Strip + mmWave Sensor

Things used in this project

Hardware components

COB LED DIY Kit for Seeed Studio XIAO
×1
Seeed Studio Single Ended COB LED Strip - White(6500K) 300mm(5PCS)
×1
MR60FDA2 60GHz mmWave Fall Detection Sensor Kit with XIAO ESP32C6
Seeed Studio MR60FDA2 60GHz mmWave Fall Detection Sensor Kit with XIAO ESP32C6
×1
XIAO ESP32C3
Seeed Studio XIAO ESP32C3
×1
Battery, 3.7 V
Battery, 3.7 V
×1

Software apps and online services

Home Assistant
Home Assistant
ESPhome

Hand tools and fabrication machines

3D Printer (generic)
3D Printer (generic)
Soldering iron (generic)
Soldering iron (generic)
Tape, Foam
Tape, Foam

Story

Read more

Schematics

Sch

Code

HA ESPhome for COB LED

YAML
esphome:
  name: smart-desk-light
  friendly_name: Smart Desk Light

esp32:
  board: seeed_xiao_esp32c3
  framework:
    type: arduino

logger:

api:
ota:

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  ap:
    ssid: "smart-desk-light-fallback"
    password: "12345678"

captive_portal:

# -------------------- PWM Output (Active-Low) --------------------
output:
  - platform: ledc
    id: pwm_output
    pin: 4 
    frequency: 1000Hz       
    inverted: true          

# -------------------- Light Entity for Home Assistant --------------------
light:
  - platform: monochromatic
    id: light_strip
    name: "Light Strip"
    output: pwm_output
    restore_mode: ALWAYS_OFF
    default_transition_length: 1s

Credits

Atom Yang
4 projects • 2 followers
A Hardware Product Manager.

Comments