Wednesday, February 5, 2014

DAS ROBOT LIVES!!!! And it has a mind of its own!!!!

In these past couple of days my partner, Andrew, and I have been working on our robot. The end goal is to get it to navigate a maze in order to find a candle and turn it off. All this has to be done autonomously by the robot. All we have to do is give it the tools so that it can navigate the course and extinguish the candle. While I have been working on all the hardware on the robot, Andrew has been busy creating the code to enable our robot to perform these tasks. Follow along as i show you our progress for the past 6 days.
 Here we have our new VEXduino mounted on our robot. It took about 30 Minutes in order to solder the whole board and get the pin blocks where we wanted them. All that is left is to test the boards and see that we dont have any shorts
The board didn't have any problems so it was mounted on the robot using velcro. all that is left to do now is to connect the motors and any other necessary hardware to make sure we can navigate a maze
Here is a picture of the maze we need to navigate through. We start off in the upper left corner and make a series of turns in order to end up in the box at the lower left of the picture. Easier said than done.
Here we have our VEX encoders. These boxes enable us to keep track of how much the wheels are turning in order to help us be more precise when moving forward or backward. They use a wheel with tick marks and a reader in order to detect how many revolutions the wheel has made, when the tick goal has been reached, it sends out a signal to the motors to stop.
Here is a shot of our robot fully assembled and getting ready to receive some code. We still need to add a few more sensors in order for the bot to find the flame and also wire in a fan to extinguish it.
The sensor at the left is an IR (Infrared) sensor that is able to detect small heat signatures, this sensor is coated with a special film that allows it to only detect the IR waves emitted by the candle which will enable us to look for a flame even though there are other light waves traveling through the air. The other sensor that looks like a hodge podge of wires is our line sensor. As the name indicates, it looks for a black line and warns the bot when it has crossed the line. This sensor helps the bot to know when it has entered or exited a room, once inside, the IR sensor will take over and look for a flame.
An example of us testing the line sensor on our borad. What cant be seen are the values displayed on the computer screen when the sensor passes over the black line. Overall a success with the soldering and execution of the tests
The bot getting ready for a test of both sensors in unison. First task is to navigate to the line, after this it will rotate in place and scan for a flame. Once it has done this, the bot will then move forward until it reaches another black line. After it has reached the second line, it will stop in place. The video below shows the bot doing just that


A video of our robot with an ultrasonic sensor mounted at the front to let the bot know when it has reached a set distance from a wall