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

Wednesday, January 22, 2014

Franken Fido Does The Wiggle

This Project called FRANKEN FIDO, has been one of the toughest so far.  Before I begin, i would like to apologize to any and all animal lovers, especially dog lovers for the story you are about to hear. This little guy was just sitting with a blank stare in the local thrift store. Had he known what his fate would have been, he would have high tailed it to the local dog pound. At first, all Fido knew how to do was jump on his back legs and sing an annoying Christmas song that sounded like it belonged in the 50's. But after i was through with him, he can do more. I knew I was able to rebuild him, make him better, and make him the life of the party like Pauley Shore. He now has a green nose light to warn others that he wants to dance. In addition to the jumping, I have trained him to wiggle his entire body and dance like Kevin Bacon in Footloose, (The original one, not the cruddy 2011 remake). If left on his own, little Fido here would get out of control, but i managed to teach him one other trick. With a simple hand command, i am able to make him stop and sit down. Overall, i think Fido is a better pet now that he is the life of the party. Just goes to show you that you can teach an old dog, new tricks.
 Here is Fido after I skinned him and gutted him. It was a good thing he was on fluffy side because i was able to take his guts out in one piece.
 I replaced his innards with a special "Groove" generator to make him shake his fur off his skin. I also added a green LED to warn people that he was ready to party

Here he is all done and ready to party
 Today, we used an LDR (light resistance diode) to demonstrate how the intensity of light can affect how much current can pass through a circuit and cause the LED to either be turned on or off

 In these above pictures, I programmed the Arduino chip to show when the LDR had varying light intensity readings. In the Above left, both LEDs are lit to show that there is full resistance in the LDR. The picture on the right shows the yellow LED is lit due to the LDR giving slight resistance as shown by my hand over the sensor. The picture below the other two shows how there is no resistance from the LDR
I also started another project. I would like to go ahead in advance and apologize to any animal lovers especially dog lovers because i skinned this little puppy in order to get to his guts in order to do some rewiring

I FINALLY BUILT A ROBOT!!!!!!!!!!!!!!

Here it is, i got this thing built in about 2 hours thanx to the VEX kit and the very Unclear and poorly printed instructions in the manual. I'll post a video of it in action when i get a chance.
 We got to use our Arduino boards today to replicate the front light bar on Kit from the hit 70's show KNIGHT RIDER. Long live Kitt and The Hoff

Here we demonstrated how our body has enough energy to trigger a relay and cause the LED to light up, took about 15 minutes to set it up but i figured out i had some wires crossed

Fun with LEDs and Switches

 Here i set up my bread board with two switches to show how both switches can be used to turn on the LED
In this setup we used a transistor (powered by the 9V battery) to switch between the throws on the transistor. The picture above shows when the coil in unenergized, hence the yellow LED is lit
 In this picture, it has the same setup as above, the only difference being that the Coil is energized by the push button switch my finger is on, resulting in the throw being moved to its other postition and lighting up the red LED
,


Tuesday, January 21, 2014

Day 2 of Electronics 10

Today we learned how to use a mulitmeter to test for voltages, resistance and continuity
Here i am testing the output voltage on a "wall wart" as stated by Prof. Mason. The voltage was much higher than the 12V that was labeled on the casing
 121V at the outlet, that would surely make your  hair stand up
 Testing a battery to see if its still alive, unfortunately this one was dead
 This "wall wart" was much closer to the listed 12V compared to the other one
 We also learned how different resistors controlled the flow of electricity and caused varying brightness in the leds
Here we have a dial switch that allows us to control the intensity of the led, at full left, the bulb was very bright but when turned the opposite way, it would be very dim

Wednesday, January 15, 2014

Soldiering and building a 5V power source

Day one of Mechatronics class and we learned how to soldier on a board and made a cool wire wristband.  We also cut apart a phone charger and made a power source for our projects.