You are on page 1of 19

A project report

on

HEIGHT MEASUREMENT

Submitted by

Y.Aravind 180040538
N.Pavan 180040554
K.Dinesh vardhan 180040667

Sec - 10

II/IV BACHELOR OF TECHNOLOGY

IN

Electronics and Communication engineering


(SEMESTER-III)

IT WORKSHOP PRACTICE

Koneru Lakshmaiah Education Foundation

VADDESWARAM-522 502

1
Koneru Lakshmaiah Education Foundation
IT Workshop practice

This is to certify that Mr.Y.Aravind- 180040538,Mr.N.Pavan-

180040554 & Ms.K.Dinesh vardhan-180040667 of section 10 studying

II/IV B.Tech in ECE has satisfactorily completed project HEIGHT

MEASUREMENT in the semester III during the academic year

2019-2020

Signature of Course Instructor Signature of

Course Coordinator

Signature of HOD

2
ACKNOWLEDGEMENT

We express great pleasure for me to express my gratitude to our honourable


President Sri. Koneru Satyanarayana, for providing the opportunity and platform
with facilities in accomplishing the project based laboratory. We express the
sincere gratitude to our principal Dr. K.SUBBARAO for his administration
towards our academic growth.

We express my sincere thanks to our project supervisor Mrs. T.SHANTHI


SRI for her novel association of ideas, encouragement, appreciation and
intellectual zeal which motivated us to venture this project successfully.

We are pleased to acknowledge the indebtedness to our lab technicians who


devoted themselves directly or indirectly to make this project success.

Last but not the least we express our deep gratitude and affection to our
parents who stood behind us in all our endeavours.

Y.ARAVIND 180040538
N.PAVAN 180040554
K.DINESH VARDHAN 180040667

3
TABLE OF CONTENTS

S.NO CONTENTS PAGE NO

1. Abstract 5

2. Introduction 6

3. Principle or Methodology 7

4. Architecture of project 8

5. Procedure 9

6. Components required 9-11

7. Working 12

8. Circuit diagram 13

9. Code 14

10. Output 15

11. Advantages 16

12. Conclusion 17

4
13. References 18

ABSTRACT

The arduino based project requires a ultrasonic sensor hcsr04.


The microcontrollers of the arduino board can be programmed
using python language. When a code is written in arduino UNO
IDE software and connected to the board through a USB cable,
the arduino will set a voltage divider and measure the voltage
between the known and unknown resistance. Modern houses are
gradually increasing the way of design by shifting to centralized
control system with remote control switches instead of
conventional switches. They are used in street lamps which
control their intensity. Arduino boards have lot of applications in
the present day scenario, so we have decided to do a small
project on them.

5
Introduction to arduino board

Defining Arduino:
An Arduino is actually a microcontroller based kit which can be either
used directly by purchasing from the vendor or can be made at home
using the components, owing to its open source hardware feature. It is
basically used in communications and in controlling or operating many
devices.

6
Methodology of Arduino:

Arduino:

The Arduino tool window consists of the toolbar with the buttons like
verify, upload, new, open, save, serial monitor. It also consists of a text
editor to write the code, a message area which displays the feedback like
showing the errors, the text console which displays the output and a
series of menus like the File, Edit, Tools menu. Thus the code is
uploaded by the bootloader onto the microcontroller.

7
Architecture of the project
The entire project can be divided into three basic blocks;
1) Sensor Unit
2) Processor Unit
3) Display Unit

Sensor unit:
The sensor unit is the input of the project or the module. This unit gives
the input to the Arduino.

Processor unit:
The processor unit in this project is the Arduino microcontroller board.
This Arduino process the input and gives the output to the lcd display.

Display unit:
This display unit contains lcd display in which the height will be shown.

8
Procedure:
 Connect the circuit as shown in figure.
 Now give the power supply to the board.

Components Required:
In this project we have used the arduino and Ultra sonic sensor along
with the jumping wires and the resistors and details list of the hard ware
components are

 Arduino board and arduino cable

9
 UltraSonic Sensor

 Resistors

10
 Jumper wires

 Bread board

11
Working :

This project is based on the ultrasonic sensor as it emits some ultrasonic


waves from the transmitter of the ultrasonic sensor and the waves are
reflected if any object is present and the receiver of the ultrasonic sensor
receives the signal and gives the input to the arduino microcontroller
board and then in the Arduino as per the given commands the code will
be executed and the output of Arduino is given to the lcd display and it
displays the height.

12
Circuit Diagram:

13
Code:
#include<LiquidCrystal.h>
LiquidCrystal lcd(2,3,6,7,8,9);
long duration,feet,inches,inch,cm;
void setup() {
lcd.begin(16,2);
Serial.begin(9600);
pinMode(5, OUTPUT);
pinMode(4, INPUT);

14
}

void loop() {
digitalWrite(5,LOW);
delayMicroseconds(100);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
delayMicroseconds(100);
duration=pulseIn(4,HIGH);
cm=0.0340*(duration/2)+4;
inch=cm*0.3937;
feet=inch/12;
inches=inch%12;
lcd.setCursor(0,0);
lcd.clear();
lcd.print("Height=");
lcd.print(cm);
lcd.print("cm");
lcd.setCursor(0,1);
lcd.print("Height=");
lcd.print(feet);
lcd.print(".");
lcd.print(inches);
lcd.print("feets");
}

Output:

Screenshot

15
16
Advantages:

Low cost:
As it is low of cost around Rs.1500/- and it can be carried anywhere.

Accuracy:
As this project is used to measure height of anything(upto 4 meters)
This gives you the perfect accuracy.

Conclusions:

In this project we came to know the working of Arduino, its hardware /


software features and its applications as to where it is currently being

17
used. We have also learnt how to write sketches for Arduino in its own
IDE (software). Developing new ideas with Arduino is endless. The
possibilities of using an Arduino to learn and develop new ideas are
infinite. Though it does have its own limitations, it is a great tool that
can be used in learning.

References:

18
[1] ARDUINO.CC, “Arduino – Introduction”, 2015 [Online] Available:
http://arduino.cc/en/Guide/Introduction. [Accessed: 25- Feb - 2015].
[2] Arduino.cc, 'Arduino - Products', 2015. [Online]. Available:
http://arduino.cc/en/Main/Products. [Accessed: 25- Feb- 2015].
[3] ArduPilot Mega, 'ArduPilot Mega', 2015. [Online]. Available:
http://www.ardupilot.co.uk/. [Accessed: 23- Nov- 2015].
[4] Wikipedia, 'ArduSat', 2015. [Online]. Available:
http://en.wikipedia.org/wiki/ArduSat. [Accessed: 23- FEB- 2015].

19

You might also like