F.I.G.G. stands for "Front is Good, Go!"
The desire to have a robot sidekick has become paramount since films like Wall-E. What better way to have a little sidekick than to build one. Enter in F.I.G.G.
At current, F.I.G.G. is able to avoid running into obstacles, and manouver himself around them.
Contained in this repository are the following files:
- /src - This is the file where you can get the main source of code from.
- /img - This contains an image of F.I.G.G.m as well as a few circuit diagrams
- /libraries - This contains a library from Ada Fruit for motors. While this is still available, there is no way of guaranteeing how long it will be available for, so it makes sense to have a copy on stand-by
- /LICENSE - This contains the license for this project.
- /README.md - This is a copy of this document you are reading now!
You will need:
- X1 Arduino Uno
- x2 Mini Breadboards (~170 tie-points)
- X1 Arduino Motor Shield (Used Kuman KY58 L293D Motor Drive Shield)
- X1 Chassis Kit with Wheels
- X2 Ultrasonic Distance Sensors (HC-SR04)
- Wires
You may also need to use a hot glue gun, depending on your chassis size.
- Build your chassis as per instructions (usually) provided.
- Attach your Arduino Uno. Some chassis come with holes for the arduino, however mine didn't, and I had to hotglue the Arduino to the chassis board.
- Attach the breadboards. One goes on each end of the robot. If they do not have an adhesive on one side, you may need to hotglue them.
- Attach the sensors to each of the boards, with the parts facing outward.
- Connect thw wires as seen in the following image:
- Connect the Motor Shield to the Arduino, and the motors to the shield. Connect the power source as well.
- Upload the program in /src/MainProgram.ino to the Arduino. (be sure to have the Ada Fruit AFMotor library installed)
- Insert batteries and enjoy!
Once the batteries are in, F.I.G.G. will begin rolling around.
F.I.G.G. works by using the ultrasonic distance sensors to determine how close something is to itself. If there is something less than 25cm in front of it, it checks to see if something has come up behind itself. If there has been something, it will immediately turn until the path is clear. If there is nothing behind it, it will back up slightly, and then turn.
Samantha Rodgers - builder/coder/writer/etc.
This project is origianlly based on an Object Avoiding Robot by Roy Pe'er (link here).