
Current Consumption: 1mA without using backlight.Related Post: 12V to 5V Converter Circuit.Let’s have a look at some of the technical specifications of the LCD module. We may use LCD in many of our projects to display the output through the sensors or from any other modules. This IC makes interfacing of LCD very easy. This IC fetches the data and commands from microcontroller and then does some processing so that the desired output can be printed on the LCD. So to manage the proper working, an IC named as HD44780 is used. Now to display something on the LCD we need to specify the position of characters too. If you calculate total pixels on whole LCD then it results to be 5x8x16x2=1280 pixels. Each character displayed is made up of 5×8 pixels (pixel matrix). So, basically it has 16 columns and 2 rows. The LCD module used here can display 16 characters in a row and it is having two rows. You may have seen this type of display in calculators, mustimeters etc. These modules are commonly used at many places in embedded projects, because they are quiet cheaper and easy to interface with microcontrollers. Related Post: Simple Overvoltage Protection Circuit using Zener Diode.
#Diagram of arduino uno software#
You can modify the board and the software according to the needs. The microcontroller is open source, so it is all up to the user that how does he/she wants to use it. The board provide 14 digital I/O pins and 6 analog pins. The reason to use this Arduino is that it is cheaper and easy to interface. The Arduino which is used in this project is Arduino-UNO.

So when we connect the module with any microcontroller, then firstly the module is triggered through the Trig pin and a high level pulse is sent for 10μs.


After this process, the module sends eight 40 kHz cycles of ultrasonic sound and checks its reflection. For triggering of module, a pulse is sent for about 10μs. Related Post: Automatic Night Lamp Using ArduinoĪs discussed above, the module works on the ECHO of the sound.And if the signal is received, through high level, the time duration by which the IO trigger stays high is the time from sending to receiving the signal.ĭistance = (Time of High Level x Velocity of Sound in Air (340M/s))/2 Then the sensor module sends eight 40 kHz cycle of ultrasonic sound and detect if the pulse signal is received back or not. Firstly, the IO trigger sends high level signal for 10μs. The sensor consists of Ultrasonic transmitter and Ultrasonic receiver. It is a really accurate sensor, it can measure upto 3mm. This small module is capable of measuring the distance within the range of 2cm – 400cm. The sensor module used here is HC-SR04, which is a non-contact Ultrasonic measurement device. Related Post: Automatic Doorbell with Object Detection By Arduino.We have also connected a 10K potentiometerto control the contrast of the LCD as shown in the circuit diagram. Now connect D4-D7 of LCD to digital pin 5-2 of Arduino. Connect RS and EN pin to digital pin 12 and digital pin 11 of Arduino respectively. Now, we are going to display the distance on a 16×2 LCD which is connected with the Arduino.
