Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino UNO and ESP8266 WiFi-Controlled Lighting System with Motion and Light Sensing

View and Edit Project In Cirkit DesignerImage of Arduino UNO and ESP8266 WiFi-Controlled Lighting System with Motion and Light Sensing

Circuit Documentation

Summary

This circuit integrates various components to form a system that likely serves as a sensor network with actuation capabilities. The Arduino UNO serves as the central microcontroller, interfacing with an ESP8266 ESP-02 WiFi module for wireless communication, a PIR sensor for motion detection, an LDR (Light Dependent Resistor) for light sensing, and a relay module for controlling an external circuit, which in this case is connected to an LED. The power supply provides the necessary voltage to the relay, which switches the LED on or off based on the control signal from the Arduino.

Component List

Arduino UNO

1 Channel 5V Relay Module

LDR (Light Dependent Resistor)

PIR Sensor

LED: Two Pin (red)

ESP8266 ESP-02 WiFi Module

Power Supply

Wiring Details

Arduino UNO

1 Channel 5V Relay Module

LDR

PIR Sensor

LED: Two Pin (red)

ESP8266 ESP-02 WiFi Module

Power Supply

Documented Code

Arduino UNO Code (sketch.ino)

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

The provided code is a template with empty setup() and loop() functions. The setup() function is intended for initialization code that runs once at startup, such as pin mode configurations. The loop() function contains the main logic of the program, which runs repeatedly after the setup() is complete. Actual implementation details need to be added to these functions based on the desired behavior of the circuit.