motor bonnet on pi pico

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
fredmf
 
Posts: 2
Joined: Sat Oct 09, 2021 7:04 am

motor bonnet on pi pico

Post by fredmf »

Hi, i need precise motor controll and so i build something with the geared dc motor with build in encoder (N20 DC Motor with Magnetic Encoder), i connected it to the raspberry pi using the motor bonnet from adafruit and got it running using circuitpython on the raspberry zero.
Sadly i have 2 issues, first, i need usb controll and raspberry gadget mode is to cumbersome in practice
secondly, rotaryio is not supported on the raspberry circuitpython, so no easy encoder use.
So i want to use the hardware i have on the pi pico, should be much easyer. According to the scematics the motor bonnet only uses the i2c interface. So i just need to connect that and power to the pico,
QUESTION:
Does Circuidpython on the pi pico support the adafruit motor bonnet via i2c ??

User avatar
dastels
 
Posts: 15662
Joined: Tue Oct 20, 2015 3:22 pm

Re: motor bonnet on pi pico

Post by dastels »

It should. The bonnet uses just I2C.

Dave

User avatar
fredmf
 
Posts: 2
Joined: Sat Oct 09, 2021 7:04 am

Re: motor bonnet on pi pico

Post by fredmf »

confirmed, does work, needed to solder 2 4.7k resistors between sda - 3v3 and scl - 3v3

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”