I wanted to put rpi inside of RC toy car and program it to drive itself based on camera input.
Firstly I needed to dismantle the car of course. I expected to see servo for steering front wheels left and right but to my surprise there was a standard DC motor.
When disconnected from gears/wheels it spins normally, when mounted it stops after turning right or left which I guess is by somehow reading if the motor actually can spin further?
Now my question is if I can do the steering with raspberry pi. I know how to do it with servo, I would just send pwm signal to turn it but how do I steer with a standard motor?
I would probably connect the controller (something like L293D) so it would draw current from external source and steer it with rpi but how do I detect if the motor is still turning or not?
Sorry if this is noob question, I am beginner when it comes to electronics, trying to learn by myself :/