
PRO
Sproket
USA
Asked
— Edited
Hello everyone,
Im using the HC-SR04 , works well but when using the Radar it detects then bot move back and just keeps doing circles. I tried all different settings. The sensor is fixed not on a servo. What do you recommend?
Thank you all
Related Hardware EZ-B IoTiny
You're using a robot skill that requires a servo connected to the sensor. Here's the manual: synthiam.com/Support/Skills/Ultrasonic-Distance/Ultrasonic-Radar?id=16101
Oh, and also because the radar will behave unpredictably, given that the instructions state it requires a servo. But...
make sure your sensor is not pointing toward the ground. It'll pick up the floor if it is.
make sure the robot doesn't tilt and have the robot aim toward the floor. It'll see the floor and detect it as a distance
make sure the holder isn't vibrating when the robot moves. Sound is considerably slow for distance detection - compared to light. So, if your sensor is vibrating, the sensor might not pick up the signal correctly.
some distance sensors require 5v (not 3.3v). As your question states, if you're using an EZ-Robot IoTiny, it needs a 5v voltage regulator. Remember, the I/O of the iotiny is VCC, which is the voltage directly from the battery. So it'll become damaged if connected directly to battery voltage if above 5v
You can "sort of" get away with using that robot skill without a servo. But it'll only see things directly in front, and I'm not sure how the navigation avoidance will behave. Either way, it shouldn't have false positives. So make sure you remove all of the things i listed above that could trigger a false positive.
Thank you DJ - Its on 5v voltage regulator and tested with meter. Sensor datasheet is 5v.
Sensor is 90 degree forward no slant. Not at floor. Robot runs smooth bc of custom movement settings, not jerky.
I will try another sensor as well.
DJ - is there a skill for sonic sensor not requiring servo? Just looking for stop at obstacle, back up, then turn.
Or any helpful hints on custom code? I tried using Blockly for scripting but seems distance is left out or maybe it doesnt need it bc it goes by setting of sensor config, not sure how that works.
I have arduino turtle bot with sonar, rpi with sonar and opencv, just trying to find out how ARC does this.
I just ordered ezrobot camera for this but I would like to get the ping sensor working with a skill without servo if at all possible.
Thank you.
Replaced sensor same thing is going on. Not the sensor.
Kinda thinking its the skill needing a servo.
try it with a rotation servo . in your top picture it looks like there has bin some damage to wires .
Update- Replaced servo - when bot is not moving skill works as it should. Bot executes skill as should.
When moving and detects object it starts to execute skill but then gets lost and just circles.
I agree skill is ment to use servo, probably it.
can you show a screenshot of your radar settings ?