Spanish Italian
17436 Users    

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

  Download PDF version of the Article

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:
Hardware

  • 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...

Ciao!

PJ

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

Hope that this technology

Hope that this technology gets its way across the market. I keep having troubles with the usual pointing peripherals.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
2 + 4 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

Who's new

  • pulper
  • mauriss
  • jbares
  • christiank79
  • agabor
  • fabriziopd
  • irenix
  • pepershoe
  • raghun14
  • andreaspousette

Who's online

There are currently 0 users and 33 guests online.