
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
hi sproket
are you using a script or just the radar panel ?
Hi there- Im using the radar panel.
https://synthiam.com/Support/Skills/Ultrasonic-Distance/Ultrasonic-Radar?id=16101
I just want something simple, detect object, back up, then turn and continue.
I have been searching the forum and searching no luck yet.
Thank you for looking.
hi
here's a topic about that sensor . it seems you need a voltage regulator .
https://synthiam.com/Community/Questions/Hc-sr04-Shows-Only-255-1929
I have a voltage regulator, its a buck on it. Set to 5v.
https://www.amazon.com/dp/B08Y674Z6F?ref=ppx_yo2ov_dt_b_product_details&th=1
My sensor - https://www.amazon.com/dp/B01JG09DCK?psc=1&ref=ppx_yo2ov_dt_b_product_details
Connected to digital ports. D6 and D7
hi
what happens when you check the box "only scan forwart " ?
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.
there's another checkbox on the right for distants . you can try lower the number by half and see what happens.
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.