# Ball and Beam PID Control Trainer – Arduino

A real physical control-system trainer for PID experiments, Arduino serial data logging, and classroom demonstrations.

- **Seller:** [Estudio Roble](https://www.lectronz.com/stores/estudioroble), Valladolid, Valladolid, Spain
- **Price:** €349.00 (EUR, before shipping and taxes)
- **Availability:** In stock
- **Categories:** Technology, 3D printing, Kits
- **Product page:** https://www.lectronz.com/products/ball-and-beam-pid-control-trainer-arduino

## Images

![Ball and Beam PID Control Trainer – Arduino](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NjA5MjEsInB1ciI6ImJsb2JfaWQifX0=--4c4a504d1a09a67c1f5bcc59766368ae5445c530/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/Portada.JPG)
![Ball and Beam PID Control Trainer – Arduino](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NjA5MjUsInB1ciI6ImJsb2JfaWQifX0=--88621e61d62a222b3365e3b08e3aa4130caf34f3/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/Girando.JPG)
![Ball and Beam PID Control Trainer – Arduino](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NjA5MjksInB1ciI6ImJsb2JfaWQifX0=--cc06eee54a60104136f32f870c368f3bb9d57eb8/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/LCD%20-%20Control%20PID.JPG)
![Ball and Beam PID Control Trainer – Arduino](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NjA5MzMsInB1ciI6ImJsb2JfaWQifX0=--8f50ecb95fd9bfaca88301f0056de977bf9ef910/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/Artengo.JPG)
![Ball and Beam PID Control Trainer – Arduino](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NjA5MzcsInB1ciI6ImJsb2JfaWQifX0=--d924754c047d8265fd86fcd7c00c04bcfa919739/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/Arduino%20UNO.JPG)
![Ball and Beam PID Control Trainer – Arduino](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NjA5NDEsInB1ciI6ImJsb2JfaWQifX0=--60dad3fa50b37ffa11cad1e63c6039e2fc5495bc/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/Nivel%20Burbuja.JPG)
![Ball and Beam PID Control Trainer – Arduino](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NjA5NDUsInB1ciI6ImJsb2JfaWQifX0=--08f447c741a03959ac826b29eb7a255a8bc73914/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/Alimentaci%C3%B3n.JPG)
![Ball and Beam PID Control Trainer – Arduino](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NjA5NDksInB1ciI6ImJsb2JfaWQifX0=--8ae2586b6b99ec9f35945597bae3996738a86759/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/Servo.JPG)

## Description

Ball and Beam is a fully assembled and tested ball and beam PID control trainer built around an authentic Arduino UNO Rev3. It measures the position of a ping-pong ball with a SHARP GP2Y0A21 distance sensor and uses a TOWERPRO MG996R servo to control the beam.

A 32-pixel Neopixel strip shows the two setpoints and the measured ball position in real time. The included 20x4 LCD, custom 4x4 keypad and rotary encoder let you tune Kp, Ki, Kd and change setpoints directly on the device, with no computer required. You can even change the setpoint in real time and watch the system respond.

This version ships assembled and tested before dispatch. A 5V 2A power supply is included. It is designed for hands-on learning and demonstration of PID control, feedback, tuning and closed-loop behavior in the classic ball and beam system.

What’s included:

Authentic Arduino UNO Rev3
SHARP GP2Y0A21 distance sensor
TOWERPRO MG996R servo
32-pixel Neopixel bar
20x4 I2C LCD
Custom 4x4 keypad
Rotary encoder with push button
5V 3A power supply
