Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

COMPLETED WORK

1. INTERFACING ARDUINO WITH LCD


The 16x2 LCD used in this experiment has a total of 16 pins. Eight of the pins are data lines
(pins 7-14), two are for power and ground (pins 1 and 16), three are used to control the
operation of LCD (pins 4-6), and one is used to adjust the LCD screen brightness (pin 3). The
remaining two pins (15 and 16) power the backlight.The connections which are done for
LCD are given below;
PIN1 or VSS to ground
PIN2 or VDD or VCC to +5v power
PIN3 or VEE to ground (gives maximum contrast best for a beginner)
PIN4 or RS (Register Selection) to PIN0 of ARDUINO UNO
PIN5 or RW (Read/Write) to ground (puts LCD in read mode eases the communication for
user
PIN6 or E (Enable) to PIN1 of ARDUINO UNO
PIN11 or D4 to PIN8 of ARDUINO UNO
PIN12 or D5 to PIN9 of ARDUINO UNO
PIN13 or D6 to PIN10 of ARDUINO UNO
PIN14 or D7 to PIN11 of ARDUINO UNO
2. INTERFACING OF ARDUINO WITH ALCOHOL SENSOR:
MQ-3 Sensor - MQ-3 is an analog as well as a digital sensor which detects alcohol
consumption by the smell of the breath. The sensor has four pins - Analog Out, Digital
Output, VCC, and Ground. The VCC and ground are connected to the common VCC and
Ground. The digital output pin is not used therefore is kept not connected. The output of the
sensor is drawn from the analog output pin which is connected to the pin A0 of the Arduino
board.
3. INTERFACING OF ARDUINO WITH RELAY:
A relay is five pin device used for switching . It is an electromagnetic device uses magnetic
field developed in loop when current flows through for changing
Pin 1 is connected to +5 volt
Pin 2 is connected to motor
Pin 3 is connected to ground
Pin 4 is connected to pin 7 of Arduino
Pin 5 is connected to ground

4. INTERFACING OF ARDUINO WITH MOTOR:


A direct current, or DC, motor is the most common type of motor. DC motors normally have
just two leads, one positive and one negative. If you connect these two leads directly to a
battery, the motor will rotate. If you switch the leads, the motor will rotate in the
opposite direction.
Positive lead of the motor is connected to the pin no 2 of the relay
Negative lead of motor is connected to ground pin of Arduino.
REMAINING WORK
1. PCB LAYOUT
2. INTERFACING WITH COMMUNICATION MODULE
3. PROJECT REPORT

You might also like