Do you want to measure distances? You have come to the right place! These instructions will help you to create a prototype and start measuring distances.
To follow these instructions, you will need a computer with USB ports. If you are reading this on a phone or a tablet, be aware that you will not complete this project without a computer.
A distance sensor uses ultrasonic or laser to measure the distance among objects. Many different sensors measure distance, and you may find it challenging to choose between them. The needs of your project could determine which is the best sensor to use.
We will describe how to use the sensor you see in the back of the card you have selected, the Grove Ultrasonic Ranger manufactured by SeeedStudio.

Let’s move now to the Table of Contents for this tutorial.
Table of Contents
- Introduction and ToC | page 1
- Hardware | page 2
- Software | page 7
- Cloud service | page 8
- Getting started with the Arduino Cloud | page 9
- Create a Thing | page 10
- Name the Thing | page 11
- Add a Variable | page 12
- Make the microcontroller IoT ready | page 13
- Configure the WiFi access | page 14
- Software for the microcontroller | page 15
- Ultrasonic Range Library | page 16
- Write the software | page 17
- Serial Monitor | page 18
- Create a dashboard | page 19
- Final notes | page 20
Continue to Page 2 – Hardware.