Saturday, February 14, 2015

Post 13: Ultrasonic Sensor/ Other Sensors


After doing the Ultrasonic sensor lab on the Arduino and being comfortable with the uses of it, I moved on to the task of creating one to be able to function on a moving robot.

Here is the components needed, it took a little testing to find what pins on the wire were connected. after a bit of soldering, 4 wires were created to have it connect to an analog port in the VEX and an interrupt port.


Now the VEX has some eyes to avoid walls! the only problem is programming how far his eyesight should be before he freaks out and turns....


Let's see what 6-7 will do and test it out in the hallway.

 

Test run successful! He avoids walls perfectly, a little cowardly, but better than him running into a wall and damaging any components.


After constructing a holder for the sensor to be facing forwards, it was time to create a sensor for fire detecting. Unfortunately I didn't notice until too late that the Line sensor isn't fit for that (not sure why that wasn't obvious to me). Below is a quick grab of components to make a quick Phototransistor sensor for the bot!


Now just to slap it onto our bot (electrical tape is always a good policy) and he can sniff out flames better than any other bloodhound!


No comments:

Post a Comment