Ultrasonic Sensor connection
Ultrasonic Sensor connection forwards measurement data from the ultrasonic sensor to a selected Ozeki connection. Ultrasonic measurement data is in cm. You can always ask the current distance between any object and the sensor. A measurement change threshold can be set that will generate automatic events everytime the measurement passes the threshold.
How to setup
Step 2: Upload programcode to the microcontroller (Here is the code to upload)
Step 3: Start Ozeki on your computer to try the Ultrasonic Sensor
If Ozeki 10 is running on your computer (such as on a Raspberry Pi) and you have plugged a microcontroller to it than Ozeki can be set to find serial devices on windows/linux and place them into a connection list so you can interact and control them through the software GUI. The Ultrasonic Sensor can communicate with Ozeki through the following protocol.