Skip to product information
1 of 8

vendor-unknown

Make an Automatic Door & counter with HC-SR04 ultrasonic sensor and servo motor interfacing with arduino mega - KT775

Make an Automatic Door & counter with HC-SR04 ultrasonic sensor and servo motor interfacing with arduino mega - KT775

SKU:KT775

1000 in stock

Regular price Rs. 1,450.00
Regular price Sale price Rs. 1,450.00
Sale Sold out
Shipping calculated at checkout.

For refund/return/replacement, call us at +91 95995 94524 For bulk and B2B enquiries kindly mail us at support@rees52.com

  • Fast Shipping
  • Affordable Price
  • Support
View full details

KIT INCLUDES:


HARDWARE REQUIRED

SOFTWARE REQUIRED

Arduino IDE 1.8.5 (programmable platform for Arduino)

Click To Download :https://www.arduino.cc/en/Main/Software

SPECIFICATIONS

16*2 LCD DISPLAY

  • Standard 16x2 Character LCD
  • 16 Characters Wide x 2 Lines
  • 5 x 8 Dots with Cursor
  • Built in Controller (HD44780 or equivalent)
  • +3.3V Power Supply
  • Backlight Included

ULTRASONIC SENSOR

  • Operating Voltage: 5V
  • Static current: 2mA max
  • Induction Angle: 15°
  • Detection Range: 2 – 200cm
  • High precision up to 3mm



PIN DESCRIPTION

16*2 LCD DISPLAY

Symbol

External Connection

Function

VSS

Power Supply

Signal GROUND for lcm

VDD

POWER SUPPLY for logic lcm

V0

Contrast Adjust

RS

MPU

Register Select Signal

RW

MPU

Read/Write Select Signal

E

MPU

Operation Enable Signal

DB0~DB3

MPU

Four Low order bidirectional three state bus lines. Used for data transfer between the MPU and LCM. These four are not used between 4 Bit operations.

DB4~DB7

MPU

Four high order bidirectional Three state bus lines used for data transfer between the MPU

A

LED BKL power Supply

Power Supply for BKL

K



NOTE

  • Color tone may slightly change by Temperature and Driving Condition.
  • The Color is defined as the inactive/background color





ULTRASONIC SENSOR



CIRCUIT CONNECTION

  • Connect Servo motor’s negative to negative rail and positive to the positive rail
  • Connect Servo 1 signal is connected to Digital pin D7 of mega and of servo 2 to Digital pinD10 of mega.
  • Ultrasonic sensor's ground to negative rail and Vcc to the positive rail
  • Connect Ultrasonic sensor 1 trigger and echo to Arduino pin D19 and D20 and ultrasonic sensor 2 trigger and echo to D23 and D24 of mega
  • Connect 10k pot negative and positive to negative and positive rail on breadboard and data pin to pin 3 of LCD.
  • Connect Arduino ground to negative rail and 5v to the positive rail
  • Connect LCD pin 1 to GND, pin 2 to 5v, pin 4 to D36 of, pin 5 to GND, pin 6 to D38, pin11 to D40, pin12 to D42, pin 13 to D44, pin 14 to D46 of mega, pin 15 to 5v and pin 16 to end.
  • Connect breadboard positive to positive and negative to the negative rail

CODE



https://docs.google.com/document/d/e/2PACX-1vTz6wcAS0wvpP60UMgoKeJjErsgDrAobvbEwyiMwSPWoT_oWdOfsmR3791X47hYe9pL9FZEEzIhwUZi/pub



WORKING

The project is composed of different common components like the servo motor, ultrasonic sensor, and an output LCD Display. The complete project works in the way that all movements detected on the left door, counts the counter up, making it say that a specific number of person is inside the establishment, on the other hand, counting down signifies that this sum of persons has left the establishment.