Entradas

Imagen
GROUP 1 Hi! We are three  students, Pablo Arbués, pilar martínez and Mario Concellón,  from Cardenal Xavierre school and we're going to explain to you how we made a light seeker robot!! First of all the list with the materials and tools we have used: 。Arduino nano 。A breadboard 。Male-male wires 。3 wheels 。Two DC motors 。Two 4.5v batteries 。L298n 。Screw divers 。Wires (solid core wires) 。platform made of plastic (where the robot is) - SCHEME -CODE.INO int enA = 6; int in1 = 9; int in2 = 8; int enB = 5; int in3 = 7; int in4 = 10; velocities of the wheels const int Fast = 225; DC motors going fast const int Slow =0; DC motors going slow. const int RightLightSensor = 0; declare the analog pins for the photoresistors const int LeftLightSensor = 2; declare the analog pins for the photoresistors int SensorLeft; intensity light (left) int SensorRight; intensity light (right) int SensorDifference;