We know how to control our 2 motors in both directions and we also know how to use our Phototransistors to detect if an object is close, now we put both of these together to form our robot. In this part we focus more on producing the code as we’ve already put our robot together as below.
Tag Archive 'code'
I’ve decided to make the next project that just about every person exploring electronics does… the making of a small robot. In my case, I’ll be using the Arduino to control the robot which will just be a robot that can avoid walls that I might build more functionality in the future.
The first part of the project is to acquire the necessary parts such as motors, gears, wheels, infrared sensors, etc. Luckily for me, I actually had a robot that I was building up before; it’s the Cycbot from RealRobots (for anyone who might remember it). I got around to issue 6 or 7 and eventually gave up on it. I do however have the motors, gears, wheels and the motor controller, so it’s all actually working, it just goes forward for now.