Posts

Showing posts from June, 2020

How To Check Photo Diode | ElectroMech Lab

Image

How to connect 4x4 keypad to Arduino | ElectroMech Lab

Image

Parking Gate with Password Protected Entry | ElectroMech Lab | Arduino

Image
Hello Friends, This project is for password/PIN protected Parking gate. This is very interesting project. I hope you like it. Material: Arduino UNO - 1 No. Servo Motor - 1 No. IR Sensor - 1 No. 4x4 Keypad - 1 No. 9V Battery - 1 No. Toy Car - As per your wish. 10 Kohm Resistor - 1 No. Sketch:  // This code is for password/PIN protected Parking Gate. #include <Keypad.h> #include <Servo.h> Servo myservo;  // create servo object to control a servo int exitSensor= 10;   // pin 10 is connected to out sensor, when vehicle is passed after toll crossing //******************************************************** keypad initialisation  ************************************ char* password = "1245"; // if this is changed then modification is needed in loop section validating the keys const byte ROWS = 4; //four rows const byte COLS = 4; //three columns char keys[ROWS][COLS] = {       {'1', '2', '3', 'A'},   {'4', '5', '6',

How To Use Servo Motor with Arduino | ElectroMech Lab | Servo sweep Sk...

Image