Do you want to control a PCA9685 board using a Raspberry Pi Pico, and use MicroPython to control up to 16 Servos? then watch this video.
For more information, tutorials, parts and more visit:
www.smarsfan.com
Enjoy this video? Buy me a coffee!
www.buymeacoffee.com/kevinmca...
Chapters
00:00:00 How to get the Raspberry Pi Pico and PCA9685 board to work with MicroPython
00:00:37 Goals of this session
00:03:52 What is the PCA9685 board?
00:06:41 Why you shouldn't power the PCA9685 board from the Pico
00:07:42 What is I2C?
00:08:57 How to troubleshoot I2C on the Pico & MicroPython
00:12:17 How to communicate with I2C
00:13:02 What are Number-Bases - Binary, Octal, Decimal and Hexadecimal?
00:15:30 How to store Octal, Binary and Hexadecimal numbers in MicroPython
00:17:54 Upload the servo.py and pca9685.py to the Pico
00:18:14 How to solder the header pins to Raspberry Pi Pico
00:20:08 Overview of the servo.py code
00:29:32 Overview of the pca9685.py code
00:32:55 The test program, how to move a servo with the PCA9685 board and Pico in MicroPython
00:34:11 How to fix the Bad SCL Pin or Bad SDA Pin error message
00:35:38 How to use I2C in MicroPython
00:36:33 How to scan the I2C bus in MicroPython on the Pico
00:37:40 How to use a Servo with the Pico and PCA9685 board in MicroPython
00:50:20 Charlie the Cricket Robot
01:06:03 Next Steps
Music by Epidemic Sounds
www.epidemicsound.com/referra...
PicoCat MicroPython Code on GitHub:
www.github.com/kevinmcaleer/p...
Link to the PCA9685 code:
github.com/kevinmcaleer/pca96...
#Pico #MicroPython #Robotics
5 авг 2024