AskSensors
Published © MIT

HC-SR04 Ultrasonic Distance with ESP8266 & AskSensors IoT

How to monitor the distance using an HC-SR04 ultrasonic sensor and ESP8266 NodeMCU connected to the AskSensors IoT cloud.

BeginnerFull instructions provided12,202
HC-SR04 Ultrasonic Distance with ESP8266 & AskSensors IoT

Things used in this project

Hardware components

ESP8266 ESP-12E
Espressif ESP8266 ESP-12E
×1
Ultrasonic Sensor - HC-SR04 (Generic)
Ultrasonic Sensor - HC-SR04 (Generic)
×1
Solderless Breadboard Half Size
Solderless Breadboard Half Size
×1
Jumper wires (generic)
Jumper wires (generic)
×1
USB-A to Micro-USB Cable
USB-A to Micro-USB Cable
×1
Resistor 1k ohm
Resistor 1k ohm
×2

Software apps and online services

AskSensors
Arduino IDE
Arduino IDE

Story

Read more

Schematics

HC-SR04 pins

Code

Github - ultrasonic HC-SR04 distance with ESP8266 and AskSensors

Credits

AskSensors

AskSensors

9 projects • 14 followers
IoT Maker

Comments