Login / Signup

Ball control on a touch screen (using a Microchip microcontroller)

  • user warning: Table './devemc/sessions' is marked as crashed and last (automatic?) repair failed query: SELECT COUNT(sid) AS count FROM sessions WHERE timestamp >= 1422336913 AND uid = 0 in /home/devemc/public_html/dev/includes/session.inc on line 157.
  • user warning: Table './devemc/sessions' is marked as crashed and last (automatic?) repair failed query: SELECT COUNT(DISTINCT s.uid) FROM sessions s WHERE s.timestamp >= 1422336913 AND s.uid > 0 in /home/devemc/public_html/dev/modules/user/user.module on line 790.
Ball and Plate control

A steel ball was continuously balanced and kept in the center, preventing it from rolling over or falling down from a vibrating metallic plate using FLEX board with two servomotors.
A touchscreen was used to take the position of the steel ball.
For the ball control on a touch screen (using the Microchip microcontroller) you need:

  • Two servomotors
  • Steel ball

For more informations, click here

Ball control on a touch screen and FLEX

I used the flex board on a project and I was satisfied about it.

It's interesting how they

It's interesting how they control the ball on that touch screen using a Microchip dsPIC microcontroller...

Follow the Reddit Comments

About the ball and plate demo...

Dear all,

I'm Paolo... first of all thanks for having linked the video of the ball and plate with the touchscreen!

I see there are a lot of questions about the control algorithms, implementation details, and so on...

The demo has been developed as a master thesis at the ReTiS Lab of the Scuola Superiore S. Anna, using the Flex boards we produce... and we were happy to host the video on the Evidence web site.

Also, thanks for all the comments!

About the "vibrating" plate: I was not expecting so much feedback about the issue... I agree the plate is vibrating; the reason for that,and it is mainly ...lack of time. Most of the time has been spent in building the item, and in dealing with nonlinearity of the touchscreen, and in many mechanical problems. At the end of the project, there was not much time left for tuning the control algorithm... and at the end we decided to postpone the tuning of the algorithm after the Mater thesis... Then, the summer arrived...

But in any case thanks for your comments! I contacted Francesco, who made the implementation, to let him know what's happening... maybe he will give you some more detail, and we'll probably be able to share some code soon on the Evidence Forum and Wiki...



PJ - http://www.evidence.eu.com

Who's online

There are currently users and guests online.

Recent comments