Pages: [1]   Go Down
Author Topic: Trying to trigger an iPhone's touch screen electronically.  (Read 1859 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have an Arduino triggering a relay switch that goes from ground to float every second. The switch is connected to the iPhone's screen by taping a penny to it, and it's supposed to trigger a 'touch' event in the screen every time goes to ground. I got the idea from this blog: http://blog.theultimatelabs.com/2012/06/two-way-serial-interface-using-touch.html and you can see a similar circuit working in an iPhone too here: .

My circuit works... some times. with this array, it only works when I put my hand behind the phone (sometimes not even touching it). See https://vine.co/v/bIeWP0pdvuP for this case.

If I connect the iPhone's USB metal shield to ground and remove my hand from the back of the phone it works intermittently, but less predictably.

Here's my circuit:



I'd appreciate any advice, from an error in my circuit to any addition to it that may make it work more reliably.

Thanks,

Miguel
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 637
Posts: 34581
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Are you sure you have those relay contacts right. They are labled correctly but drawn wrong. Have you checked for continuity?

At best it is a very iffey technique. Touch screens like the iPods work on capacitave action so basically you need a bigger ground. Maybe a cradle holding it connected to your ground side of the relay.
Logged

Offline Offline
Full Member
***
Karma: 5
Posts: 181
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Why not just use a stylus connected to an actuator?
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 637
Posts: 34581
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Why not just use a stylus connected to an actuator?
Cos iPhons don't work with a stylus.
Logged

Offline Offline
Full Member
***
Karma: 5
Posts: 181
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That doesn't mean you can't buy them.
http://www.amazon.com/s/ref=nb_sb_noss_1?url=search-alias%3Daps&field-keywords=iphone+stylus
Logged

Offline Offline
God Member
*****
Karma: 27
Posts: 829
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

A stylus still requires your fingers to be contact with it. It is just conductive. So, the problem the poster is having with the penny would still remain.

Penny = $.01, Stylus = >$1

Of course, tin foil would be even cheaper still.
Logged

Offline Offline
Full Member
***
Karma: 5
Posts: 181
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I guess it depends on what side of the penny is in contact with the screen.  Is it the face of the penny or the edge?  Neither of these seem ideal.  If its the face side then you don't really have a good even contact area.  If it's the edge of the penny then your contact area is really small.

You really want something that is about the size and shape of a finger.  A stylus is good for that, and you could make a DIY version using a pencil and tin foil around the eraser end.  Then you would just ground the stylus.  Note that your not grounding the stylus to your electrical ground.  The stylus and electronics should be electrically separated. 
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 637
Posts: 34581
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I think you are missing the point. You hold the stylus, it conducts the body capacatiance of you into the screen. With this coin tapper there is no YOU in the circuit.
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 309
Posts: 26525
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You can use all sorts of materials; we've used black conductive foam ( the sort of stuff some ICs are shipped pressed into) to avoid scratches, but some styli are tipped with conductive gasket material.
 Just make sure it is earthed.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Offline Offline
Full Member
***
Karma: 5
Posts: 181
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I get the point.  I'm just pointing out that you want to mimic the same change in capacitance that a finger does to the screen.  The shape of a stylus mimics the shape of a finger and connecting it to a ground plane, or as AWOL called it being earthed, mimics the conduction through the human body to ground.
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 637
Posts: 34581
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
mimics the conduction through the human body to ground.
No only to the ground defined by the device.
That is why I said:-
Quote
Maybe a cradle holding it connected to your ground side of the relay.
To make it clear I was suggesting a cradle holding the device and this is electrically connected to the common of the relay contact.
Logged

Offline Offline
Full Member
***
Karma: 5
Posts: 181
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am envisioning having the stylus ground completely separated from the electronics ground.  It could even be connected to the iphone case, or even better a large metalic cradle that is holding the iphone.  It's a completely different concept than what he has here, but might be much easier to implement and get working.
Logged

Offline Offline
Full Member
***
Karma: 5
Posts: 181
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just as a test I sandwiched a stylus inside a book, to give it weight and rigidity, and leaned the stylus onto my tablet.  The tablet had no problem registering a touch event.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Have you considered using a variable capacitor? How have your solid state experimentations gone?
Logged

Pages: [1]   Go Up
Jump to: