Hello everyone,
I need to get a servo motor and a DC motor of an RC car to work via pwm using a javascript app on my raspberry pi, which takes my phone's gyroscope coordinates in order to change the speed and direction of those motors.
The app does register the phone's movement, however, the motors do not move at all.
What can I do to fix this? this is fairly urgent, so any help at all is appreciated!
the files were copied from the site http://github.com/shaunuk/picar and are as follows:
pwm_test2 is the configuration file for the motors.
README.md is the instructions file I was using
socket.html is the html file that is launched, and I think its code plays a role in driving the motors.
The images are how I connected my Pi to the controller, and how I connected the controller to the servo and the DC motor.
This project was based on shaunuk's project: http://github.com/shaunuk/picar
Thank you!