Ultasonic Measure with U1



Description
Ultasonic Measure with U1


Step 1: Connect ultasonic
To make things simple for connection, in the sketch I use D4 as a 5v and D7 as ground.

That way you can connect the ultrasonic module direct to the U1. You can use wires or get the power from the power plug, but this makes it easier.



Step 2: Upload sketch, edi code!
The sketch will be included in the Examples/InvIoT_U1/applications/Ultasonic ,


Just play with it, and improve the code to do anything. Like calculate the area of a room, or alarm you with the ESP 8266 WiFi module if you have a change in distance, or log the distance and time to the SD card, or.....

Have Fun!