Introduction: Ball and Plate Arduino PID Control

This is my homemade Ball & Plate system. System consist of 2 digital servo motors (HS-422 ECO), microcontroller Arduino UNO, and 4 wire resistive touchscreen (7"). There are two PID controllers working separately for each axis. This system can move any ( heavier ) round element to any point of the surface to an accuracy of ± 2 mm .

Step 1: Parts

Here is a short video that shows the parts of my real physical model

Step 2: Electronic Parts

1x Arduino UNO

1x Resistive touchscreen
1x Real time module DS1307
1x Wii nunchuck kit
1x IR remote kit
1x Breadboard
Some wires

Step 3: Mechanical Design

The model was built from aluminum base and lego blocks . In the middle is Cardan Joint on two shafts. The plate of lego blocks is connected to servo motors wit "Ball & Socket" mechanical joints.

Comments

author
AleemS5 (author)2017-02-23

can u help with programming my mechanical is ready..! aleemsafdar52@gmail.com

author
mohammadshamir (author)AleemS52017-06-18

if you have code kindly mail; me

mohammadshamir@ucp.edu.pk

author
abbasezzy (author)AleemS52017-03-07

hello, I really need some advice for the mechanical design. Can you help me with it?

author
aleem123 (author)2016-10-07

what is the material of ball..??

author
DávidH334 (author)aleem1232016-10-08

I think it's some type of steel...i dont know it exactly

author

no matter which material is being used because the TF of this system is independant of ball material and mass i.e (-5*g/7*s^2)

author
M TolgaY (author)2017-05-22

why anybody use image processing? cheaper and easier :(

author
mohammadshamir (author)M TolgaY2017-06-18

my final year project is based on image processing i'm using 6 motors (stewart platform)
i have already done 95% of work but at the end i was facing a huge problem which is a time delay
the data sent to the arduino after around 850ms (serially) and at the receiving end of the arduino there are some bits of data is missed due to the fast transferring of data and arduino data receiving rate is slow so the conclusion is with image processing it is not possible nevertheless you have to use Raspberry model and STM

author
davidk0424 (author)2017-03-29

I'm building a similar project to yours, would you mind sending me the code you used for this? My email is davidk0424@gmail.com. (If anybody else has made something like this and still has the code I would really appreciate it if you could send me your code)

author
정민이1 (author)2017-03-15

I am planning to make this project
But there is some problem.

I have no clue how to make the code
can you send me the code?
It will very helpful for my project
lee3534255@naver.com

author
aleem123 (author)2016-10-07

from where you bought the joint..??

author
DávidH334 (author)aleem1232016-10-08

Joint is used from wrench set ....i found it in garage :)

author
mortiz-1 (author)aleem1232016-10-08

maybe in musician shop
ask for double drum pedal

14608046_1192998177427782_224301531_n.png
author
AravindM7 (author)2016-04-06

Please can u help in getting the transfer function of the system. If transfer function is available what type of input should be given to the system as it is unstable. Pl reply fast !!

author
271828- (author)2016-03-14

Cool! What size (diameter) of ball are you using?

author
DávidH334 (author)271828-2016-03-17

Thx :)Diameter is 22mm.

author
ThomasK19 (author)2016-01-24

This is so cool. I still was looking for a project to simulate the stabilization for my quad. Where from did you get the touch screen?

author
DávidH334 (author)ThomasK192016-01-25

I bought him on aliexpress

author
DIY Hacks and How Tos (author)2016-01-23

Great balance plate design. I love how you used legos in the prototype. I do that in so many of my projects.