Looking for suggestions

Hi,
There are too many Arduino ultrasonic sensor car projects online, and I'd like to test it also.
Most of the car just turning an angle relative to the heading direction when ultrasonic sensor detected a obstacle in front. my question is, how to control or measure the turning angle.
Thanks for helps please.
Adam

Almost all newer cars have electronic power steering. The controller for that will know the amount of movement necessary to follow the movement of the steering wheel.
Get the documentation for your vehicle's power steering.

1 Like

Thanks.
I should mention what I am talking for is 'toy' car kind:

When the ultra sonic detects an obstacle the turning angle is basically a strategic decision made by the designer, You. Using a servo for the steering gives a good, controlled direction of the turn.

1 Like

Then your Arduino program ALREADY knows how to control and measure the steering angles.

1 Like

Thanks.
Seems the SERVO steering is the only solution?
most of the projects don't have a SERVO steering, they just control the left side or right side motor ON/OFF to turn the car.

What is wrong with servo steering? Your "CAR" has it already. Does it work?

1 Like

That's one way but it's more sensitive, calls for more engineering and more delicate control of the motors.

1 Like

Eehh. Know that turning the steering wheels to a certain angle, and keeping it, will make the car run in a circle. The more steering angle, the less radius. The steering angle applied needs to go back to straight after a desired amount of time, or distance.

1 Like

Thanks.
nothing wrong.
I just looking for more solution if have any, because the SERVO steering may make project kind of complex.

ONLY if YOU let it be. I think we can all tell you have not spent very much time trying to understand how the car works and how the Arduino program makes that work. Time to understand the fundamentals and the details.

Are there any solution how to control or measure the 'CAR's turning angle when ultrasonic sensor detected a obstacle in front?

Your question is the same as before. Do you understand the ultrasonic has a cone of response of about 45 degrees. That means an object anywhere in the cone will be detected, NOT just in front of your car.

1 Like

Sorry of maybe my English?
I don't care IR angle.
I asked how much degree the 'CAR' turned when he turned. is it 10 degree or 5 degree for his heading direction.

The SERVO steering is a solution who knows how much angle turned.
any more?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.