SkillAgentSearch skills...

AmbiSense

AmbiSense: Radar-controlled LED system using ESP32 and LD2410 sensor. Creates responsive lighting that reacts to proximity and movement. Features customizable colors, brightness, and range settings via web interface. Ideal for smart homes, hallways, and interactive installations. No cameras, just intelligent ambient lighting.

Install / Use

/learn @Techposts/AmbiSense
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

AmbiSense - Radar-Controlled LED System

<p align="center"> <img src="https://raw.githubusercontent.com/Techposts/AmbiSense/refs/heads/main/Assets/AmbiSense.webp" width="300" alt="AmbiSense Logo"> </p>

AmbiSense is an innovative smart lighting solution that uses radar sensing technology to create responsive ambient lighting experiences. The system detects movement and distance using an LD2410 radar sensor and dynamically controls NeoPixel LED strips in real-time, creating an interactive lighting environment.

The core of AmbiSense is built around an ESP32 microcontroller that interfaces with an LD2410 radar module and NeoPixel LED strips. The system creates a moving light pattern that responds to a person's proximity, with the illuminated section of the LED strip changing based on detected distance.

We also developed a Custom Home Assistant Integration allowing you to integrate and control the AmbiSense from the Home Assistant and also run powerful automations.

<p align="center"> <img src="https://i.imgur.com/6YUbPAu.png" width="500" alt="Custom HA Integration"> </p>

AmbiSense: Radar-Controlled LED System

<p align="center"> <a href="https://www.youtube.com/watch?v=1fmlwl2iujk"> <img src="https://img.youtube.com/vi/1fmlwl2iujk/0.jpg" alt="AmbiSense v4.1 Release - Intelligent DIY Motion-Tracking Lights That Illuminate Path Dynamically" width="600"> </a> <br> <em>Click the image above to watch the AmbiSense v4.1 Release video</em> </p> <p align="center"> <a href="https://www.youtube.com/watch?v=_xYEh8xkq1c"> <img src="https://img.youtube.com/vi/_xYEh8xkq1c/0.jpg" alt="AmbiSense - Radar-Controlled LED System" width="600"> </a> <br> <em>Click the image above to watch the video Guide</em> </p> <p align="center"> <a href="https://www.youtube.com/watch?v=AcjSumdNSIs"> <img src="https://img.youtube.com/vi/AcjSumdNSIs/0.jpg" alt="AmbiSense - Radar-Controlled LED System" width="600"> </a> <br> <em>Click the image above to watch the demo video</em> </p>

📋 Table of Contents


📚 Version History

Current Version: v5.1 (Latest)

Released: June 2025
Status: Stable Release

<p align="center"> <img src="https://raw.githubusercontent.com/Techposts/AmbiSense/refs/heads/main/Assets/AmbiSense-Mesh.jpg" width="300" alt="AmbiSense Logo"> </p> <p align="center"> <img src="https://raw.githubusercontent.com/Techposts/AmbiSense/refs/heads/main/Assets/AmbISense-mesh-2.jpg" width="300" alt="AmbiSense Logo"> </p>

🚀 What's New in v5.1

  • 🔗 Multi-Sensor ESP-NOW Support: Connect multiple AmbiSense devices for complex layouts
  • 📊 Enhanced Diagnostics: Real-time monitoring and troubleshooting tools
  • 🛠️ Critical Bug Fixes: Resolved compilation and stability issues
  • 🌐 Improved Network Management: Better WiFi handling and connection reliability
  • 🎨 Advanced LED Features: Enhanced background mode and directional trails

Previous Versions

  • v4.1 (April 2024): Added expanded light effects, motion smoothing, Home Assistant compatibility
  • v4.0 (Initial Release): Core radar-controlled LED functionality

💡 Upgrade Recommendation: If you're using v4.1 or earlier, upgrading to v5.1 is strongly recommended for bug fixes and new multi-sensor capabilities.


🆕 What's New in v5.1

🔗 Multi-Sensor ESP-NOW Support

AmbiSense v5.1 introduces support for multiple devices working together using ESP-NOW wireless communication. Perfect for:

  • L-shaped Staircases: Place sensors at each turn for seamless lighting transitions
  • U-shaped Staircases: Multiple sensors ensure complete coverage without dead zones
  • Long Hallways: Distribute LED strips across multiple devices for extended coverage
  • Complex Layouts: Handle any architectural configuration with intelligent sensor switching
<p align="center"> <img src="https://github.com/Techposts/AmbiSense/blob/main/Assets/multi-sensor-diagram.png" width="600" alt="Multi-Sensor Setup Diagram"> <br> <em>Example: L-shaped staircase with master and slave sensors working together</em> </p>

🎯 Sensor Priority Modes

Choose how your multi-sensor system prioritizes readings:

  • 🧠 Zone-Based (Recommended): Intelligent switching perfect for L-shaped layouts
  • ⏱️ Most Recent: Uses whichever sensor detected motion most recently
  • 🔝 Slave First: Prioritizes slave sensors over master for upper-level priority
  • 🏠 Master First: Prioritizes master sensor for main-area control

📊 Enhanced Diagnostics & Monitoring

The new Diagnostics Tab provides comprehensive system insights:

  • 📡 Real-time Sensor Data: Live readings from all connected devices
  • 💚 Connection Health: Monitor ESP-NOW signal strength and packet success rates
  • 🧠 System Performance: Track memory usage, uptime, and processing efficiency
  • 🗺️ Network Topology: Visual representation of your multi-sensor setup
  • 🔧 Troubleshooting Tools: Identify and resolve connectivity issues instantly
<p align="center"> <img src="https://github.com/Techposts/AmbiSense/blob/main/Assets/diagnostics-interface.png" width="400" alt="Diagnostics Interface"> <br> <em>Real-time diagnostics showing multi-sensor network status</em> </p>

🛠️ Critical Improvements

  • ✅ Fixed Compilation Issues: Resolved linker errors that prevented building from source
  • 🧠 Better Memory Management: Improved handling of different LED strip configurations
  • 📡 ESP-NOW Stability: Enhanced wireless communication reliability
  • 💾 EEPROM Validation: Robust settings storage with automatic corruption recovery

Key Features

🎯 Core Functionality

  • Radar-Based Motion Detection: Uses the LD2410 24GHz radar module for accurate presence and distance sensing without privacy concerns of cameras
  • Dynamic LED Control: Creates moving light patterns that respond to user proximity
  • 🌈 Multiple Lighting Modes: Choose from 10+ effects including Standard, Rainbow, Color Wave, Breathing, Fire, Theater Chase, and more
  • 🎨 Directional Light Trails: Adds trailing effects that follow movement direction with customizable trail length
  • 🌙 Background Lighting: Optional ambient background illumination when no motion is detected
  • 📍 Center Shift Adjustment: Reposition the active LED zone relative to detected position

🌐 Advanced Connectivity (New in v5.1)

  • 🔗 Multi-Sensor Networks: Connect up to 5 slave devices to one master for complex layouts
  • 📡 ESP-NOW Communication: Low-latency wireless coordination between devices
  • 🎛️ Distributed LED Control: Split long LED strips across multiple devices
  • 🧠 Intelligent Sensor Fusion: Smart algorithms combine data from multiple sensors

💻 Web Interface & Management

  • 📱 Modern Web Interface: Intuitive tab-based configuration with responsive design
  • 📊 Real-Time Visualization: Live distance detection and LED response preview
  • 🌐 WiFi Network Management:
    • Connect to existing networks or create access point
    • Scan for available networks with signal strength indicators
    • mDNS support for easy device discovery (access via http://ambisense-[name].local)
  • 💾 Persistent Settings: All configurations saved to EEPROM with CRC validation

🏠 Smart Home Integration

  • 🏡 Home Assistant Ready: Full compatibility with our custom integration
  • 📊 Enhanced API: Improved endpoints for external automation systems
  • 🔄 Multi-Device Support: Complete support for master-slave configurations

Hardware Requirements

Essential Components

  • ESP32 development board (recommended: ESP32-C3 SuperMini)
  • LD2410 radar sensor module (24GHz frequency)
  • WS2812B (NeoPixel) compatible LED strip
  • 5V power supply (adequate for your LED strip length)
  • Connecting wires and breadboard/PCB for prototyping

Multi-Sensor Setup (Additional)

  • Additional ESP32 + LD2410 modules (up to 5 slaves per master)
  • Individual power supplies for each sensor location
  • Strategic placement at turns, landings, or coverage gaps

Circuit Connections

ESP32-C3 SuperMini to LD2410 Radar

| ESP32-C3 Pin | LD2410 Pin | Function | |--------------|------------|----------------------| | GPIO3 (RX) | TX | Serial Communication | | GPIO4 (TX) | RX | Serial Communication | | 5V | VCC | Power Supply | | GND | GND | Ground |

ESP32-C3 SuperMini to WS2812B LED Strip

| ESP32-C3 Pin | WS2812B Pin | Function | |--------------|-------------|-------------| | GPIO5 | DIN | Data Signal | | 5V | VCC | Power Supply| | GND | GND | Ground |

Power Supply Connections

| Power Supply | ESP32-C3 Pin | Function | |--------------|--------------|-----------------| | +5V | 5V | Positive Supply | | GND | GND | Ground |

<p align="center"> <img src="https://github.com/Techposts/AmbiSense/blob/main/Assets/circuit-diagram.svg" width="800" alt="LD2410C to ESP32C3 SuperMini Circuit Diagram"> <br> <em>Complete wiring diagram for single AmbiSense device</em> </p> <p align="center"> <img src="https://github.com/Techposts/AmbiSense/blob/main/Assets/TTP%20Touch%20sensor.png" width="800" alt="TTP

Related Skills

View on GitHub
GitHub Stars160
CategoryDevelopment
Updated26d ago
Forks10

Languages

C++

Security Score

95/100

Audited on Feb 28, 2026

No findings