Introduction: Ultrasonic Measure With Inviot U1 (arduino Compatible)
This instructable is using
Connect ultrasonic, upload sketch
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 inviot U1. You can use wires or get the power from the power plug, but this makes it easier.
The sketch will be included in the Examples/InvIoT_U1/applications/Ultasonic ,
Step 1: Connect Ultrasonic, Upload Sketch
To make things simple to connect, 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. The sketch will be included in the Examples/InvIoT_U1/applications/Ultasonic ,
Attachments
Step 2: You Are Done
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!