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

ESP8266 NodeMCU Controlled Ultrasonic Sensor with Relay and I2C LCD Display

View and Edit Project In Cirkit DesignerImage of ESP8266 NodeMCU Controlled Ultrasonic Sensor with Relay and I2C LCD Display

Circuit Documentation

Summary of the Circuit

This circuit integrates an ESP8266 NodeMCU microcontroller with an HC-SR04 Ultrasonic Sensor, a 5V relay, and a 16x2 I2C LCD display. The ESP8266 NodeMCU serves as the central processing unit, controlling the relay and reading distance measurements from the ultrasonic sensor. The LCD display is used to output information, likely the distance measurements or system status. The relay can be used to control a higher power device, triggered by the microcontroller based on sensor inputs or other logic. The circuit is designed to share a common ground and is powered through the NodeMCU's VIN pin, which distributes power to the other components.

Component List

ESP8266 NodeMCU

HC-SR04 Ultrasonic Sensor

5V Relay

16x2 I2C LCD

Wiring Details

ESP8266 NodeMCU

HC-SR04 Ultrasonic Sensor

5V Relay

16x2 I2C LCD

Documented Code

No code has been provided for the microcontroller. The documentation of the code would typically include a description of the functionality, setup and loop functions, and any functions or libraries used to control the components in the circuit. Since no code is available, this section cannot be completed. If code becomes available, it should be documented here with comments explaining the purpose and functionality of each part of the code.