Wi-Fi Enabled Distance Measurement System using ESP8266 and HC-SR04
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that integrates an ESP8266 NodeMCU microcontroller with an HC-SR04 Ultrasonic Sensor. The ESP8266 NodeMCU is used to control and read data from the ultrasonic sensor, which is used for distance measurement. The document includes a list of components, wiring details, and code (if any) for the microcontroller.
Component List
ESP8266 NodeMCU
- Description: A low-cost Wi-Fi microcontroller with GPIO, ADC, and other features.
- Pins: D0, D1, D2, D3, D4, 3V3, GND, D5, D6, D7, D8, RX, TX, A0, RSV, SD3, SD2, SD1, CMD, SD0, CLK, EN, RST, VIN
HC-SR04 Ultrasonic Sensor
- Description: An ultrasonic sensor used for distance measurement.
- Pins: VCC, TRIG, ECHO, GND
Wiring Details
ESP8266 NodeMCU
- D5: Connected to TRIG of HC-SR04 Ultrasonic Sensor
- D6: Connected to ECHO of HC-SR04 Ultrasonic Sensor
- GND: Connected to GND of HC-SR04 Ultrasonic Sensor
- VIN: Connected to VCC of HC-SR04 Ultrasonic Sensor
HC-SR04 Ultrasonic Sensor
- TRIG: Connected to D5 of ESP8266 NodeMCU
- ECHO: Connected to D6 of ESP8266 NodeMCU
- GND: Connected to GND of ESP8266 NodeMCU
- VCC: Connected to VIN of ESP8266 NodeMCU
Code
No code is provided for this circuit.
This document provides a comprehensive overview of the circuit, including the components used and their interconnections. The ESP8266 NodeMCU microcontroller is interfaced with the HC-SR04 Ultrasonic Sensor to measure distances, with specific pins connected as detailed above.