Collective Logic Nodes
Traivimiya Hub

Collective Logic Nodes

Where thousand maker minds converge to architect the next standard in hardware innovation.

Community Projects

Made by Makers.

Explore hardware assemblies, verified logic scripts, and brilliant inventions built purely by the Traivimiya collective.

WiFi Controlled RC Robot using ESP8266
J
Jagannath Panigrahi

WiFi Controlled RC Robot using ESP8266

# RC Robot using ESP8266 (Wemos D1 Mini) with Ultrasonic Obstacle Avoidance ## Overview This project is a WiFi-controlled robotic car built using the ESP8266-based Wemos D1 Mini. It supports both manual control through a web interface and autonomous obstacle avoidance using an ultrasonic sensor. The robot creates its own WiFi hotspot, allowing any smartphone or laptop to connect and control it directly via a browser without requiring a dedicated mobile application. --- ## Features * WiFi Access Point mode (no router required) * Web-based control interface * Manual control (forward, backward, left, right, stop) * Autonomous obstacle avoidance mode * Real-time response * Simple and low-cost hardware setup --- ## Hardware Requirements * Wemos D1 Mini (ESP8266) * HC-SR04 Ultrasonic Sensor * L298N Motor Driver Module * 2 DC Motors with wheels * Robot chassis * Battery pack (7.4V or 9V recommended) * Jumper wires --- ## Pin Configuration ### Ultrasonic Sensor | Sensor Pin | Wemos D1 Mini | | ---------- | ------------- | | VCC | 5V | | GND | GND | | TRIG | D5 | | ECHO | D6 | ### Motor Driver (L298N) | L298N Pin | Wemos Pin | | --------- | --------- | | IN1 | D1 | | IN2 | D2 | | IN3 | D3 | | IN4 | D4 | | ENA | D7 | | ENB | D8 | --- ## How It Works ### Manual Mode * User connects to robot WiFi * Opens web interface * Sends movement commands * Robot responds instantly ### Auto Mode * Ultrasonic sensor measures distance continuously * If obstacle is detected: * Robot stops * Moves backward * Turns to avoid collision * Otherwise, moves forward --- ## Getting Started ### 1. Upload Code * Open Arduino IDE * Select board: **Wemos D1 Mini (ESP8266)** * Upload the provided code ### 2. Power the Robot * Use battery pack or external power supply ### 3. Connect to WiFi * SSID: `RC_Robot` * Password: `12345678` ### 4. Open Web Interface Open browser and go to: http://192.168.4.1 --- ## Project Structure RC-Robot-ESP8266/ * robot_code.ino * README.md * circuit_diagram.png * robot_image.jpg --- ## Applications * Robotics learning projects * IoT-based vehicle control * Obstacle avoidance systems * Educational demonstrations --- ## Future Improvements * Mobile app control (Android / iOS) * Camera integration for live streaming * Voice command support * AI-based navigation * Line following feature --- ## License This project is open-source and free to use for educational and personal purposes. --- ## Author Developed as a DIY IoT robotics project using ESP8266 and basic electronic components.

0
DIY ESP32 Based Lightning System (Beta) Inspired By Philips Hue Bridge
J
Jagannath Panigrahi

DIY ESP32 Based Lightning System (Beta) Inspired By Philips Hue Bridge

A fully-featured Philips Hue Bridge emulator built on ESP32-S3 using the Arduino framework. Control smart lights, create scenes, and enjoy entertainment sync—all without proprietary hardware! Features Core Functionality Full Hue API v1 Compatibility - Works with official Philips Hue apps and third-party integrations HTTPS Support - Secure communication with SSL/TLS encryption for official app pairing Automatic Discovery - SSDP and mDNS for seamless device discovery WiFi Configuration Portal - Easy setup via captive portal (no hardcoded credentials) Persistent Storage - NVS-based configuration with auto-save functionality Light Management Up to 50 Lights - Control multiple smart lights simultaneously Full Color Control - RGB, HSV, XY color space, and color temperature Automatic Light Discovery - Network scanning to find compatible lights Manual Light Addition - Add lights via web dashboard Light Groups - Organize lights into rooms and zones (up to 16 groups) Advanced Features Scene Manager - Create and manage up to 100 custom scenes Entertainment Mode - High-speed UDP streaming for Hue Sync (screen mirroring, gaming, music visualization) Dynamic Scenes - Animated color transitions and effects Schedules & Timers - Automate lighting based on time (up to 100 schedules) Rules Engine - Create custom automation rules (up to 200 rules) Sensors Support - Motion sensors, switches, and more (up to 60 sensors) Hardware Features Status LED - WS2812B RGB LED for visual feedback 🔵 Blue: Booting 🟢 Green: Link mode (pairing) 🔴 Red: Error 🟣 Purple: Entertainment streaming 🩵 Teal: Idle/Ready Physical Link Button - GPIO 0 (Boot button) for pairing Short press: Enable pairing mode (30 seconds) Long press (5s): Factory reset Additional: Web Dashboard Real-time bridge status monitoring Light management interface Manual light scanning Configuration management Scene testing Hardware ESP32-S3 DevKit (or compatible board) WS2812B RGB LED (optional, for status indication) WiFi Network (2.4 GHz) Software PlatformIO (recommended) or Arduino IDE ESP32 Arduino Core v2.x or higher 1. Clone the Repository git clone https://github.com/LEDGNDARYbrahmin/hueduino.git cd hueduino 2. Install Dependencies Using PlatformIO (recommended): pio lib install Build and Upload pio run --target upload

2
Smart Switch
J
Jagannath Panigrahi

Smart Switch

Smart Switch is a comprehensive IoT home automation solution built on the ESP32 platform. It provides intelligent control of up to 5 AC/DC appliances with advanced features including environmental monitoring, scheduling, temperature-based automation, and seamless integration with Alexa and Google Home. Features Core Functionality 5-Channel Relay Control: Independent control of up to 5 appliances (16A capacity per relay) Web-Based Interface: Intuitive web dashboard for device management RESTful API: Complete API for third-party integrations WiFi Configuration: Captive portal for easy WiFi setup State Persistence: Automatic saving/restoring of switch states across power cycles Environmental Monitoring Temperature & Humidity Sensing: Real-time DHT22 sensor readings OLED Display: 3 rotating screens showing: Environment data (Temperature, Humidity) Device status (Switch states) Network information (IP, WiFi status) Automation & Scheduling Time Schedules: Up to 10 programmable schedules per device Alarms: 3 configurable alarms with buzzer notifications Temperature-Based Control: Automatic relay control based on temperature thresholds Countdown Timers: Per-switch countdown timers for auto-off functionality Smart Home Integration Alexa Integration: Full Amazon Alexa support via fauxmoESP Google Home Compatible: Works with Google Assistant UDP Discovery: Automatic device discovery on local network Voice Control: Control all switches via voice commands Security Features HTTP Authentication: User/password protection for all endpoints Configurable Credentials: Change admin password via API WiFi Credential Management: Secure storage in NVS Client Activity Tracking: Monitor connected clients Advanced Features OTA Updates: Wireless firmware updates via web interface NTP Time Sync: Automatic time synchronization (every 24 hours) Watchdog Timer: 30-second watchdog for system stability WiFi Auto-Reconnect: Automatic reconnection on network loss Multi-Screen OLED: Rotating display with real-time information Required Components Component Specification Quantity Purpose ESP32 DevKit 240MHz dual-core, WiFi/BT 1 Main controller 5V Relay Module 4-channel, optocoupled 1 AC/DC switching DHT22 Sensor Temperature/Humidity 1 Environmental sensing OLED Display SSD1306, 128x64, I2C 1 Status display Passive Buzzer 5V 1 Audio alerts LED 3mm/5mm 1 Status indicator Push Button Tactile switch 1 Configuration mode Power Supply 5V 2A minimum 1 System power Resistors 10kΩ pull-up 2-3 Button/sensor Key Libraries Library Version Purpose ESPAsyncWebServer Latest Non-blocking web server AsyncTCP Latest Asynchronous TCP library ArduinoJson v6.x JSON parsing/serialization fauxmoESP Latest Alexa/Google Home emulation DHT Latest DHT22 sensor interface Adafruit_SSD1306 Latest OLED display driver Preferences Built-in NVS storage wrapper ArduinoOTA Built-in Over-the-air updates Library Installation Arduino Library Manager Tools → Manage Libraries → Search and install: ESPAsyncWebServer AsyncTCP ArduinoJson fauxmoESP DHT sensor library Adafruit SSD1306 Adafruit GFX Library Usage Guide Initial Setup Power On Device LED will flash RED during boot OLED displays "TRAIVIMIYA SWITCH" WiFi Configuration Option A: Using Captive Portal If no credentials saved, device creates WiFi AP Connect to traivimiya_switch (password: traivimiya12) Captive portal opens automatically Enter your home WiFi credentials Option B: Factory Reset Hold BOOT button during power-on Credentials cleared, AP mode activated Access Web Interface Device connects to WiFi (LED turns YELLOW, then GREEN) Find IP address from: Serial monitor OLED display (Network screen) Router DHCP list Note -Android and IOS Application will be Available Soon.. Voice Control Setup Alexa: Say "Alexa, discover devices" Wait 45 seconds Switches appear as "Switch 1", "Switch 2", etc. Rename via API for custom names Google Home: Open Google Home app Add device → Works with Google Search for "TVM Smart Switch" Link account and discover devices Scheduling Examples Turn on bedroom light at 7:00 AM: Troubleshooting Common Issues 1. Device won't connect to WiFi Hold BOOT button during power-on to reset credentials Check SSID/password spelling Ensure 2.4GHz WiFi (ESP32 doesn't support 5GHz) Move device closer to router 2. Web interface not accessible Check serial monitor for IP address Verify device on same network Check firewall settings Try http://traivimiya-switch.local (mDNS) 3. Relays not switching Check relay module power (5V required) Verify GPIO connections Test with multimeter Check relay coil voltage 4. OLED display blank Verify I2C address (0x3C default) Check SDA/SCL connections Test with I2C scanner sketch 5. Temperature sensor not working Check DHT22 connections Verify 10kΩ pull-up resistor on data line Replace sensor if faulty More On : https://github.com/LEDGNDARYbrahmin/TVM-SmartSwitch

3