Height Measuring Cap

Published on . Written by

Height Measuring Cap
Nowadays we have gadgets for almost every need. This project is about a simplified method of measuring the height of a person. You will also connect the system to the internet and then update the values to the cloud using IoT.

Read more..
For building this project, you need a standard sized cap that will fit almost any person. You will use Arduino Lillypad that acts as the brain of the system along with the Ultrasonic sensor to measure the height and LCD to display the measured height.


Skyfi Labs Projects
Once you wear the cap, the ultrasonic sensor will measure the distance between your head and the ground and displays your height on the LCD.

Project description:

Arduino Lillypad 328: The Arduino Lillypad board contains ATMEGA 328 micro-controller. It is used to interface the ultrasonic sensor and the LCD. It takes input from the ultrasonic sensor and displays output on the LCD. It contains fourteen digital input/output pins and six analog input/output pins.

Arduino IDE: It is an open-source Arduino environment. It allows the user to program the Arduino board for a specific operation. It uses C++ as the programming language. It contains many libraries that include almost all the available sensors.

Ultrasonic sensor (HC-SR04): It measures the distance of an object. It works on the principle of reflection of sound. The frequency of this sound is too high for humans to hear. It records the time taken by the sound to travel to and fro. You have to write the program to convert this time duration into the distance of the object.

LCD: You can use a 16*2 LCD to display the measured height. It uses Liquid Crystal to produce a visible image.

ESP8266: This is the Wi-Fi module. It connects the system to the internet. Then you can upload the data measured by the ultrasonic sensor to the cloud.

Thing speak: It is an open IoT platform that allows MATLAB analytics.

Project implementation:

  1. Place the setup on the top visor of a cap such that the ultrasonic sensor is facing the ground. Make sure that the setup is stable.
  2. Interface the LCD and ultrasonic sensor with the Arduino Lillypad.
  3. Write the code in Arduino IDE to measure the distance using the ultrasonic sensor. Use the appropriate formula for doing this.
  4. Write the code for displaying the height on the LCD in centimetres and inches.
  5. Write the code for updating the measured values on the Thinkspeak cloud.
  6. Power the Arduino Lillypad using a 9 volts battery. Press the reset button. In a few seconds, you can see your height displayed on the LCD.
  7. The system will keep updating the measured value to Thingspeak cloud.
Programming language: Arduino Programming (C++)

Kit required to develop Height Measuring Cap:
Technologies you will learn by working on Height Measuring Cap:


Any Questions?


Subscribe for more project ideas