The project I am going to talk about next is actually a self-balancing bot or rather an instructions on how to build your own self balancing bot. The electronics features an ATmega328 running 16MHz and 3.3V. It’s out of spec according to the datasheet but it worked for the author. The sensing part consists of a MPU6050 chip which combines a 3 DOF gyro and 3 DOF accelerometer in a small package, which is ideal for a self-balancing bot.
The chassis is made from a sheet of polystyrene, since it’s really easier to cut with a sharp knife. The MPU6050 sensor is actually mounted at the bottom of the lowest plate of the chassis so that it can work efficiently. Apart from it he has used a brushless DC motors along with its driver and rest of the stuff normally required. The main part of the project is coding the Arduino. The first step involved getting data from the sensor which has to be filtered by using a Kalman Filter whose library for Arduino is available online. Next was the PID which was another difficult step that took time to get resolved. Good thing about the project for beginners is that the code is available to download along with the schematics but it might require some changes if you want to work your bot to work efficiently.
When you hear about building robots, you probably imagine the complexity of the process. But his is not always true. It depends on what is your aim. If you want to construct a precise manipulator or even humanoid, then this requires quite some science and research. But don’t get caught with such idea that things are always complex and difficult. Mizchief100 built his Altoid robot using minimum effort and yet it is cool to experiment with.
Robot chassis is assembled on single sided prototype PCB with Arduino chip as heart. Robot is driven by two tiny motors along with L293D motor drivers. Sensor bouquet consists of 2 photo-resistors and microphone. Couple RGB LEDs add some personality. This is enough to make it pretty autonomous. You can play with light sources, voice. If there isn’t enough you can keep adding sensors to it, just be sure to leave space on PCB for additional features.
Hexapod robot called SAMSA II is a next version of robot SAMSA platform which was based on Atmega128. This one has some nice improvements to do even more with this baby. Overall SAMSA II robot is equipped with three microcontrollers where one takes care of reading sensors, another controls LED dot matrix display and main Arduino mega is a brain.
Despite the fact that there is an arduino used, it is programmed with custom C++ code without usage of Arduino IDE what lead to more efficient code. It has some load actually because robot motion consists of 18 Dynamixel Ax-12 servo motors. As we mentioned additional features include 8×8 matrix LED display, IR remote control. Demo program gives several walking and 3D movement configurations.
You don’t need to be a master to build a robot. It can be build out of various parts you’ll probably find at home. SO here it is – a cool robot that simply wanders around and avoids obstacles with sharp IR range finder.
Other parts include: couple modified servos for continuous rotation, black&decker battery pack shich serves as robot base, wheels and arduino diecimila as robot brain. All parts are hot glued in to one piece. Great project to do with a kid.