Paralax sumo bot ir sensor
kennylol
Posts: 1
Ok i am working on learning the programing for the paralax sumo bot and i am trying to figure out how to decrease the range of the ir sensors on the sumobot for the fact is they are detecting thing that are much further away than they should how would i do that in code (or any other way if you have any ideas).
Thanks!
Thanks!
Comments
A simple hardware fix is to increase the value of the series resistor going to the IR LED which sends the 38000 kHz pulse.
Erco, if you increase the resistor going to the IR LED, that makes the light dimmer right?
I know this is kind of a stupid question, but I am still grasping the concepts of resistors.
Yes, that's exactly what happens. A higher value resistor allows less current flow through the LED, thus dimming it. And there's no such thing as a stupid question, Pal!