I am building a project using Arduino Mega, it’s a ring ball balancing plate system. The idea is to place the metal ball on the top of a resistive touch screen and 2 RC servo motors will be balancing the screen to move the metal ball to the centre position. Here is a model for my project, the only difference is I am using 5 wire resistive touch screen instead of 4 wires.
[login to view URL]
I have the code written but there are some problems with it, when I upload the code to the Arduino Mega board , the RC servo motors will spin continuously even if I didn’t touch the screen .
I wish you can help .
Thanks and regards