When I noticed that my kids were measuring their height every day, I got the idea to make such a device. To find out your height, all you have to do is stand under the device and activate a sound that indicates that your height has been measured.
It is very easy to build and consist only a few components:
-Arduino Nano
-HC SR04 ultrasonic sensor
-LCD display
-Buzzer
-Battery
Now let's explain how it works:
First we need to install the device with the help of double-sided adhesive at a certain height, which is previously defined in the code, and is marked with the letter H on the picture
When someone stands under the device, the sensor measures the distance D. Next the code calculates the distance H-D which actually represents the height of the person under the device H1 and displays this value on the LCD. Library "LcdBarGraph" helps draw horizontal bargraph, where the length of the bar is proportional to the values provided. When there is no one under the device, the calculated value is zero because in this case H = D and H-D is zero. The device is mounted in a suitable box with the LCD on the front and the ultrasonic sensor on the bottom.
The required libraries, code and schematic are given below
Comments