Arduino automatic robot Needed Arduino UNO Mini breadboard L298 motor driver module 2x dc motors with wheels HC-SR04 ultrasonic sensor Micro servo motor Button Red LED 220 Ohm resistor 9V battery holder (with or without power jack) 8 spacers (male-female) 8 nuts and 8 screws Make this circuit perfectly Get the code of your arduino from here // Obstacle Avoiding robot // Praveen Sridhar // psbots.blogspot.com const int left = 1 ,mid = 2 ,right = 3 ; const int i1 = 8 ,i2 = 10 ,ea = 9 ,i3 = 5 ,i4 = 7 ,eb = 6 ; const int cthres = 600 ,rthres = 600 ,lthres = 600 ; int s1 = 0 ; int s2 = 0 ; int s3 = 0 ; int r; void setup () { Serial . begin( 9600 ); pinMode(i1, OUTPUT ); pinMode(i2, OUTPUT ); pinMode(ea, OUTPUT ); pinMode( 13 , OUTPUT ); pinMode(i4, OUTPUT ); pinMode(eb, OUTPUT ); } void updateS() { ...
This blog about electronic circuits and step down and up voltage circuit. mostly about wireless (unguided) media arduino , node mcu etc. Coding with blynk. some cmd tricks and modern robotics ideas.