Ball Balancing PID System
### DESCRIPTION
This system holds a ball in balance on a plate. A webcam films the system and a python program analyzes the images to find the position of the ball. The python program calculates the tilting of the tray to prevent the ball from falling.
A proportional-integral-derivative (PID) regulator is used to compensate the movements of the ball. The position and speed of the ball are measured by the camera and these measurements are used by the PID regulator in the python program.
### TECHNICAL DETAILS / COMPONENTS
The PCB is powered with a 5-6v 2A power supply.
PCB components :
1X Atmega32u4 https://fr.aliexpress.com/item/ATMEGA32U4-AU-TQFP...
1X 1uf capacitor https://fr.aliexpress.com/item/ATMEGA32U4-AU-TQFP...
1X 0.1uf capacitor https://fr.aliexpress.com/item/ATMEGA32U4-AU-TQFP...
1X 10uf capacitor https://fr.aliexpress.com/item/ATMEGA32U4-AU-TQFP...
2X 22pf capacitor https://fr.aliexpress.com/item/ATMEGA32U4-AU-TQFP...
1X 10K resistor https://fr.aliexpress.com/item/ATMEGA32U4-AU-TQFP...
1X 1K resistor https://fr.aliexpress.com/item/ATMEGA32U4-AU-TQFP...
2X 22 resistor https://fr.aliexpress.com/item/ATMEGA32U4-AU-TQFP...
1X 16mhz Quartz https://fr.aliexpress.com/item/ATMEGA32U4-AU-TQFP...
usb connector https://fr.aliexpress.com/item/ATMEGA32U4-AU-TQFP...
power jack https://fr.aliexpress.com/item/ATMEGA32U4-AU-TQFP...
headers https://fr.aliexpress.com/item/ATMEGA32U4-AU-TQFP...
### LEARN / TOPIC / BUILD INSTRUCTIONS
https://www.instructables.com/id/Ball-Balancing-PID-System/
Ball Balancing PID System
*PCBWay community is a shared platform and we are not responsible for any design issues.
- Comments(0)
- Likes(7)
- Alex Chorine Sep 15,2021
- Engineer Jul 06,2020
- Engineer May 07,2020
- Yvon Sauvageau Jun 03,2019
- Angel Genchev Feb 21,2019
- Alexandr Feb 08,2019
- Engineer Feb 02,2019
- 4 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
-
10design
-
10usability
-
10creativity
-
10content
-
2design
-
1usability
-
7creativity
-
10content
-
10design
-
10usability
-
10creativity
-
10content
-
10design
-
9usability
-
10creativity
-
10content
More by Johan Link
-
RPI - 8 IO PLC With ATTiny85 Watch Dog
121 0 0 -
Nintendo Famicom HVC-001 Controller Shells
167 0 1 -
COMMODORE 128 DIAGNOSTIC REV.785260 KEYBOARD DONGLE
173 0 2 -
COMMODORE 128 15KHz DISPLAY ADAPTER (C128 80 COLUMN ADAPTER)
200 0 2 -
-
-
-
TEKTRONIX THS710,THS720,THS730 LED Backlight drop in replacement Controller
558 0 0