The October 24th DPRG monthly meeting offered a workshop where participants received training and hands-on experience using AI to program a Raspberry Pi Pico microcontroller. There was a mystery Robot Motion Challenge, which turned out to be programming the session robots to do a break dance. The robot was modification of the robot kits used at the August workshop.
Meeting Summary: Meeting Summary (PDF)The participants came up with many good solutions. Some had the AI program score the dance to a specific song on YouTube. Another participant captured a picture of the table that was used and had the AI program a dance that remained inside an area of the table.
WORKSHOP CONTENT
Theory:
- Workflow: AI Prompt Engineering -> hardware
- Robot + RPi Pico overview
- PWM and motor speed control
Hands-on:
- Load and run an example sketch on the RPi Pico – confirm LED operation
- Ask AI to write code. Run the code on the RPi Pico
- Design a solution to “The Challenge” and ask AI to write code that implements your design
- Test the code on the RPi Pico. If it works, test it on the robot. If it doesn’t, ask AI to help you debug it.
- A link to the hardware used is https://tinyurl.com/PicoAiBotHwBuild. The robot used for the challenge used two PNP transistors to drive the motors.











