Make Arduino robot in hindi at home CIRCUIT DIGRAM :- Code copy and paste to Arduino IDE And code upload hear Bellow ↓ ↓ Arduino Nano V3.0 ATmega328P ( Arduino Compatible ) //ARDUINO OBSTACLE AVOIDING CAR// // Before uploading the code you have to install the necessary library// //AFMotor Library https://learn.adafruit.com/adafruit-motor-shield/library-install // //NewPing Library https://github.com/livetronic/Arduino-NewPing// //Servo Library https://github.com/arduino-libraries/Servo.git // // To Install the libraries go to sketch >> Include Library >> Add .ZIP File >> Select the Downloaded ZIP files From the Above links // #include <AFMotor.h> #include <NewPing.h> #include <Servo.h> #define TRIG_PIN A0 #define ECHO_PIN A1 #define MAX_DISTANCE 200 #define MAX_SPEED 190 // sets speed of DC motors #define MAX_SPEED_OFFSET 20 NewPing sonar(TRIG_PIN, ECHO_PIN, MAX_DISTANCE); AF_DCMotor motor1(1,...
All about Electronics, Radio frequency, RC transmitter,FM transmitter, Circuit Diagram, raspberry Pi project, Drone, Plane, Science Discovery, c++, etc.