Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Using the Raspberry Pi Pico, PCA9685 and MicroPython for Robotics

Kevin McAleer via YouTube

Overview

This course teaches learners how to utilize a Raspberry Pi Pico and PCA9685 board with MicroPython for robotics. The learning outcomes include understanding the PCA9685 board, troubleshooting I2C communication, storing numbers in different bases, and controlling servos. The course covers topics such as uploading code to the Pico, soldering header pins, and utilizing I2C in MicroPython. The teaching method involves practical demonstrations and code explanations. This course is intended for individuals interested in robotics, Raspberry Pi, MicroPython, and servo control.

Syllabus

How to get the Raspberry Pi Pico and PCA9685 board to work with MicroPython
Goals of this session
What is the PCA9685 board?
Why you shouldn't power the PCA9685 board from the Pico
What is I2C?
How to troubleshoot I2C on the Pico & MicroPython
How to communicate with I2C
What are Number-Bases - Binary, Octal, Decimal and Hexadecimal?
How to store Octal, Binary and Hexadecimal numbers in MicroPython
Upload the servo.py and pca9685.py to the Pico
How to solder the header pins to Raspberry Pi Pico
Overview of the servo.py code
Overview of the pca9685.py code
The test program, how to move a servo with the PCA9685 board and Pico in MicroPython
How to fix the Bad SCL Pin or Bad SDA Pin error message
How to use I2C in MicroPython
How to scan the I2C bus in MicroPython on the Pico
How to use a Servo with the Pico and PCA9685 board in MicroPython
Charlie the Cricket Robot
Next Steps

Taught by

Kevin McAleer

Reviews

Start your review of Using the Raspberry Pi Pico, PCA9685 and MicroPython for Robotics

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.