Asked — Edited

Ultrasonic Radar Panel Bot Keeps Doing Circles

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 (view all EZB hardware)
EZ-B Iotiny by EZ-Robot
Control IoTiny with Synthiam ARC: 100MHz Cortex‑M4 Wi‑Fi IoT/robot controller-camera, servos, ADC, I2C and digital I/O for easy internet automation
Wi-Fi / USB
Servos 8
Camera
Audio
UART
I2C
ADC
Digital

Related Robot Skills (view all robot skills)
Ultrasonic Radar by Synthiam
Ultrasonic on a servo sweeps 180°; radar shows distances and obstacles, integrates with movement panels for automatic avoidance, scriptable GetPing
Stops robot movement (no steering) when an EZB-connected ultrasonic sensor detects an object within a set range; integrates with scripting and paused polling.
Dual Hbridge by Synthiam
Two-channel Dual H-Bridge movement panel to control two DC motors (on/off) for forward, reverse, left, right via EZ-B digital ports; no PWM speed.

ARC Pro

Upgrade to ARC Pro

Take control of your robot's destiny by subscribing to Synthiam ARC Pro, and watch it evolve into a versatile and responsive machine.

Author Avatar
PRO
Belgium
#1   — Edited

hi sproket

are you using a script  or just the radar panel ?

Author Avatar
PRO
Belgium
#5  

hi

what happens when you check the box "only scan forwart " ?

Author Avatar
PRO
USA
#6   — Edited

It jerks left and right moving closer to the target with only scan fwd. But doesnt do circles.

Thats with No reverse before turn

With reverse before turn enabled it detects and jerks left to right backing up some then spins.

Author Avatar
PRO
Belgium
#7  

there's another checkbox on the right for distants . you can try lower the number by half and see what happens.

Author Avatar
PRO
USA
#8   — Edited

Same thing is going on.

I can try another sensor.

If I scrip it pings are solid-

while(true){

var x = Ping.get(D6, D7); print(x); sleep(500);

}

Tested regulator 5v true with meter.