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
Bluetooth Robot Car
Just Do Electronics
September 10, 2021
Circuit Diagram :-
Code :-
//Prateek //www.prateeks.in char t; void setup() { pinMode(13, OUTPUT); //left motors forward pinMode(12, OUTPUT); //left motors reverse pinMode(11, OUTPUT); //right motors forward pinMode(10, OUTPUT); //right motors reverse pinMode(9, OUTPUT); //Led Serial.begin(9600); } void loop() { if (Serial.available()) { t = Serial.read(); Serial.println(t); } if (t == 'F') { //move forward(all motors rotate in forward direction) digitalWrite(13, HIGH); digitalWrite(11, HIGH); } else if (t == 'B') { //move reverse (all motors rotate in reverse direction) digitalWrite(12, HIGH); digitalWrite(10, HIGH); } else if (t == 'L') { //turn right (left side motors rotate in forward direction, right side motors doesn't rotate) digitalWrite(11, HIGH); } else if (t == 'R') { //turn left (right side motors rotate in forward direction, left side motors doesn't rotate) digitalWrite(13, HIGH); } else if (t == 'W') { //turn led on or off) digitalWrite(9, HIGH); } else if (t == 'w') { digitalWrite(9, LOW); } else if (t == 'S') { //STOP (all motors stop) digitalWrite(13, LOW); digitalWrite(12, LOW); digitalWrite(11, LOW); digitalWrite(10, LOW); } delay(100); }
Video :-
If You Want Code Then Plz Click It Code Button
0 Comments
Newer
Older
ESP32 Interfacing With LDR Sensor
How To Make RFID & Keypad Based Door Lock
Ultrasonic Sensor as a Counter with Arduino
IoT Based Patient Health Monitoring System Using Blynk App
How to Make Gas Leak Detector & Auto Exhaust Fan Using Arduino
MLX90614 Non-Contact Infrared Thermometer With Arduino
Measure CO2 Level in Air Using Arduino
Esp32 Cam Based Face Unlock
ESP32 Led Blink With Push Button
Smart Street Light Using Arduino
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