Hi there,
I'm trying to make a touch simulation on iPhone using 5v Relay + Arudino Uno + a foil/coin. I have seen many videos people do this. But not showing a clear view of the wiring tho.
I've attached my 5volt Relay Board. Please help me on how to wire this up.
Get the data sheet of your board, that tells you and us how to connect it.
For your touch sensor have a look at the CapSense (or similar) library and included sample code.
Im sorry but i think you've missunderstood. Im just trying to use a coin or aluminum foil that passes the conduction from arduino ground to the coin that triggers a touch response. ( instead of using a stylus )
See the files I have attached. Relay3.png shows a diagram of raw relay module without breakout board.
I'm just not sure how to connect those 3 pins NC NO and COM with arduino. Hope you can help me out.
rshnk90:
I'm just not sure how to connect those 3 pins NC NO and COM with arduino. Hope you can help me out.
These pins connect to whatever device you want to control. NO is Normally Open, NC is Normally Closed, WRT to COM.
The Arduino uses the control pins, to turn the relays on and off.
here is a link to a detailled description of your relay:
Relay Details
Try a simple sketch first to get the relay powered on and off by the Arduino and then go ahead with your electric wiring with the coin.