Infrared Issues With BOE Shield Bot
My robotics class is currently working with the BOE Shield Bot on Chapter 7: Navigation With Infrared Headlights. However, we have run into an issue: The first activity, TestLeftIR, always returns a 0, whether or not anything is in front of the bot. This is not exclusive to my partner and I, as the teacher has the same issue with his bot. The right side works with no problems.
We have tried everything. We have switched all the components from the working right side to the left, tried activating the reciever with a remote, retyped the code, and checked our circuit over and over.
The only thing we have found is that the output pin on the IR Reciever itself, when measured with a multimeter, is only outputting around 1 volt. We have a 5V board. The working reciever on the left side outputs around the same 4 volts as it gets, so we aren't quite sure why this is. The only way to fix this is to remove all of the other wires connected to the reciever besides the jumper cable supplying the power, but its sort of useless, since connecting it back to it's pin just brings the voltage way down again.
As you can imagine, class has been pretty frustrating the past few days. My partner and I would be really glad if anyone could help us. Thanks!
We have tried everything. We have switched all the components from the working right side to the left, tried activating the reciever with a remote, retyped the code, and checked our circuit over and over.
The only thing we have found is that the output pin on the IR Reciever itself, when measured with a multimeter, is only outputting around 1 volt. We have a 5V board. The working reciever on the left side outputs around the same 4 volts as it gets, so we aren't quite sure why this is. The only way to fix this is to remove all of the other wires connected to the reciever besides the jumper cable supplying the power, but its sort of useless, since connecting it back to it's pin just brings the voltage way down again.
As you can imagine, class has been pretty frustrating the past few days. My partner and I would be really glad if anyone could help us. Thanks!
Comments
It also looks like you're using the wrong resistor value on the IR LED.
http://learn.parallax.com/tutorials/robot/shield-bot/robotics-board-education-shield-arduino/chapter-7-navigating-infrared-10
Note that your servos are connected to P10/P11 while the IR Detector (left) is wired to the same pin. Please move the servos over to P12/P13 and try again.
#TRUTH
A picture often is worth a thousand words.
Both emitters really just need to be pointed more downward so they're below the IR detector. That would work without having to relocate them.
:thumb: