
FredoO
France
Asked
— Edited
Hello everyone!
I have a sharp GP2D120 that sends voltage between 0 V and 2.88 V depending on the distance of the obstacle.
But the sharp IR radar seem sensible only from about 3.50 V ,so i never see the red dot because 2.88V in ADC read = distance:101 in the IR Radar windows *confused*
I have to use another sensor or I can add a small circuit to increase the voltage?(resistor between Signal and +5V?)
Thanks you
I'll be able to mount the sensor in the muzzle of my robot dog
I just received my EZB and it's funny to try anything!
Your card is very powerful and I can adapt the various movements call (like camera movement tracking) to synchronize my servo control circuit (pololu maestro) with the powerful "movement script" windows !
My project will be more alive with EZB
This would be an incredibly low priority as the ezb v4 is ready a 3.3v system and there is no reason for additional options at this time. And the v3 is a discontinued product.
Well, anyway I'm still working with the numerous V3 boards I acquired 2 years ago and I intend to use them until they die! -- well... I was one of those complaining a lot about having to use bluetooth instead of wifi... lol --
Btw, another question : I eventually learned how to incorporate the current IR values into my script by simply using IF and getadc. Pretty simple in fact, so the calibration I was refering to is indeed not really necessary. Now, here is my question :
How can I do the same with ultrasonics? I want to read their values and so far reading echo or even trigger ports didn't give any result. Is there a way to achieve that? I want to be able to do something such as reading the ultrasonic value as a condition before movement.
As you can see I'm now asking for quite the opposite than before! I wanted to be able to use the GUI for the IR radar and now I want to be able to not have to use the GUI ultrasonic radar... I know, I know, robotics shenanigans!
Anyway, thanks a lot for you quick answer!
Best,
Elfège.
Code:
It can also be easily adjusted for use with IR sensors (or even a mix of Ping and IR).
if(objectfound(object))
Left(200, 1000)
else
controlcommand("script manager"... etc.
It seems that I have to do this in the settings of the camera, but I can't even get the rover to turn when it sees the object. It systematically uses the default built-inoption : forward.
As usual, I may only need the first trigger to figure out the rest by myself.
Thanks,
Elfège.