Take a look at the datasheet. The device returns an analog voltage that varies with distance. It peaks at a bit over 3V when an object is about 3cm away. Less than 3cm and the voltage drops off quickly; making it ineffective below 3cm range. In fact they only spec the device to work at great than 10cm.
As the detected range increases from 3cm upwards, the voltage falls off in a sloping curve. It never reaches zero, no matter how far the range. So what you are seeing is normal. The voltage goes down to about 0.4V at the maximum 80cm range, but the slope of the curve works so that 0V is never reached.
The microprocessorās analog to digital conversion (ADC) will interpret the voltage level against a reference of the logical HIGH. The higher the returned value, the closer the detected object is. When you see 90-100 returned, you should have at least 80cm of clear space in front of the detector.
when something is in range of 80cm⦠the sensor reading makes senseā¦
so when i start my robot, somehting needs to be in front of it rite? or else the robot will start to turn as per the command, b1<dangerlevel, cuz dangerlevel is 70, and my itnitial value ,when nohting is in front, is about 100ā¦could u help me a bit in programming as i m new, and want to make a gud robot asap⦠thnkx a lot for the early reply
We sure are! The problem is that our main supplier stopped carrying the main Sharp sensors, so we were kinda stuck. Weāve figured out a new source for them, and the new units are on their way as we speak. Hopefully the kit will be back up within a week or two.
when i searchĀ l293d motor driver ic loads of results come up (like 4 channwl stepper motor driver and some have more pins than the one you used , any advice?
Hi fellas. It will be both cheap and fast, If I make single order from solarbotics⦠Question is: Can I use an ultrasonic proximity sensor instead, because all IRās are out of stock. Do I need to modify the code? Can you fellas help me?
can you please make aĀ arduino start here project cause i cant get the picaxe board i checked out the other start here projects didnāt understand much!
The SHR requires a 1 DIL 330 x 8 resistor array. I am a couple pieces away from having everything I need, but canāt find that. Does Jameco carry it? If so, what is the part number? I have been finding most everything I need at Jameco, so if itās available there, thatās where I would like to get it. (That and I start my next Jameco list within seconds of completing my previous order, so always have a few things I can get with it.) Thanks.Ā ~Allen
Hi again ive been at school so i havent had time to fiddle with my SHR but when I pulled it out of its box and tried to program it i got the same error message:
"Serial port error-port not present or already in use!"
and when i go into options and then into serial ports all the computers say ā(not available)ā. Ive tried reseting the picaxe but it still wont work. Any help will be grately appreciated.