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
-
-
Open Source Very Large Stick - Freejoy & MMjoy2 breakout board
556 0 0 -
RF Control training board for students based on ESP32 C3
740 0 2 -
Aquarius+ Computer, Standard PCB
983 0 5 -
KINETIC COASTERS with a TWIST! Laser or 3D Print some DIY Magic
641 0 1 -
RPI - 8 IO PLC With ATTiny85 Watch Dog
555 0 1 -
Nintendo Famicom HVC-001 Controller Shells
664 0 1 -
COMMODORE 128 DIAGNOSTIC REV.785260 KEYBOARD DONGLE
614 0 4