EGR-101 Final - Pico Motor Control Ball Launcher
Overview
The final for EGR 101, the first-year engineering design class at Middlesex: build a device that launches a ball at a target 10 feet away and 3 feet off the floor, with the ball airborne before it hits. Mine spins two friction wheels on DC motors, feeds the ball in on a ramp and sets the launch angle with an adjustable ramp on the other side. A Raspberry Pi Pico drives the motors with PWM through an L298N, with a potentiometer on the ADC to set speed, from a 12V switching supply dropped to 5V by a linear regulator and to 3.3V by the Pico. Designed in Fusion 360 and delivered with technical drawings and a written report. It hit the target.
Photo gallery
What I learned
- Speed control is the feature. A catapult would have passed. Fine-tuning the trajectory meant controlling wheel speed, which meant PWM and a driver, which is why there's a Pico in a ball launcher.
- Cut the screen when time runs out. The touchscreen LCD I'd planned became a potentiometer near the deadline. The electronics look rushed because they were, and they worked. Scope goes before quality.
- Three rails for one project. 12V for the motors, 5V for the driver's logic, 3.3V for the Pico. A linear regulator was fine here at a few hundred milliamps and would be a heater on the BMS. Knowing when the easy part is enough is the point.