Johnny-five: Sunfounder Picar-V + johnny-five

Created on 1 Sep 2019  路  2Comments  路  Source: rwaldron/johnny-five

Hi guys, got a question. If anyone tried to run this Sunfounder Picar-V car with johhny-five? Is there any documentation where I can find which Raspberry's pin a component uses?

Most helpful comment

So looking at the source code for that project (https://github.com/sunfounder/SunFounder_PiCar-V/blob/master/ball_track/ball_tracker.py), it appears to be using the PCA9685 servo controller. There is an example of using that controller with Johnny-Five in the docs -> http://johnny-five.io/examples/servo-PCA9685/ Not sure about the pin numbers for that controller.

It also appears to be using the TB6612 motor driver for the back wheels, here is an example of that usage with Johnny-Five -> http://johnny-five.io/examples/motor-TB6612FNG/ The pins used by the project seem to be PWM4 and PWM5.

All 2 comments

So looking at the source code for that project (https://github.com/sunfounder/SunFounder_PiCar-V/blob/master/ball_track/ball_tracker.py), it appears to be using the PCA9685 servo controller. There is an example of using that controller with Johnny-Five in the docs -> http://johnny-five.io/examples/servo-PCA9685/ Not sure about the pin numbers for that controller.

It also appears to be using the TB6612 motor driver for the back wheels, here is an example of that usage with Johnny-Five -> http://johnny-five.io/examples/motor-TB6612FNG/ The pins used by the project seem to be PWM4 and PWM5.

Thank you HipsterBrown. I was able to make servo running, I'll check out the motors in a while. :)

Was this page helpful?
0 / 5 - 0 ratings