Home
About Us
Achievement
Home
Raspberry-Pi Projects
_Raspberry Pi 4 Complete Guide
Arduino Project
_All Projects
Esp8266 Project
_All Projects
Esp32 Project
_Automation-with-feedback
Make a Gesture Control Robot Car
Just Do Electronics
February 21, 2020
How to Make a Gesture Control Robot Car
Required Material :-
1. Arduino Uno / Aduino Nano
2. Accelerometer
3. RF 433 Module
4. HT12E and HT12D
5. Motor driver L293DNE
6. BO Motor and Wheels
7. Prototyping Board
8. Battery
Circuit Diagram :-
Code :-
//prateek //www.prateeks.in int xPin=A0; int yPin=A1; int out1=8; //output1 for HT12E IC int out2=9; //output1 for HT12E IC int out3=10; //output1 for HT12E IC int out4=11; //output1 for HT12E IC void setup(){ pinMode(xPin,INPUT); pinMode(yPin,INPUT); pinMode(out1,OUTPUT); pinMode(out2,OUTPUT); pinMode(out3,OUTPUT); pinMode(out4,OUTPUT); } void loop() { int xval=analogRead(xPin); int yval=analogRead(yPin); if ((xval>294 && xval<340) && (yval>294 && yval<340)) //stop { digitalWrite(out1,LOW); digitalWrite(out2,LOW); digitalWrite(out3,LOW); digitalWrite(out4,LOW); } else { if ((xval>340 && xval<380) && (yval>294 && yval<340)) //forward { digitalWrite(out1,HIGH); digitalWrite(out2,LOW); digitalWrite(out3,HIGH); digitalWrite(out4,LOW); } if ((xval>345 && xval<294) && (yval>294 && yval<340)) //backward { digitalWrite(out1,LOW); digitalWrite(out2,HIGH); digitalWrite(out3,LOW); digitalWrite(out4,HIGH); } if ((xval>294 && xval<340) && (yval>340 && yval<380)) //left { digitalWrite(out1,HIGH); digitalWrite(out2,LOW); digitalWrite(out3,LOW); digitalWrite(out4,LOW); } if ((xval>294 && xval<340) && (yval>340 && yval<294))//right { digitalWrite(out1,LOW); digitalWrite(out2,LOW); digitalWrite(out3,HIGH); digitalWrite(out4,LOW); } } }
0 Comments
Newer
Older
Build Your Own Gps Tracking System using Arduino
IoT Based Fingerprint Biometric Attendance System Using NodeMCU (Esp8266)
How To Make RFID & Keypad Based Door Lock
OTP Based Door Lock Using Arduino And SIM800L
ESP32 Interfacing With LDR Sensor
Ultrasonic Sensor as a Counter with Arduino
IoT Based Patient Health Monitoring System Using Blynk App
NRF Based Servo Motor Control
MLX90614 Non-Contact Infrared Thermometer With Arduino
GPS Tracker Using Nodemcu
YouTube
Like on Facebook
Follow on Twitter
Follow on Google+
Follow on Instagram
Subscribe on Youtube
Hi WelCome To My Website If you have a creative mind and want to learn Electronics even without studying it then FRIENDS this Website And Youtube Channel is for you, I am crazy creators who love making Electronics things. I have a bunch of more than 130 Tutorial Videos on My YouTube Channel and I upload a new Tutorial every Sunday.
Tags
Arduino Project
Esp32 Project
Esp8266 Project
0 Comments