Go Down

Topic: proximity sensor IQS128 (Read 1 time) previous topic - next topic

dr4gone

Hello!
Anyone has ever used a proximity sensor iqs128 ?
I can not find the material useful to understand how to interface it with arduino.

I understand from the datasheet page 5, the pin 2 (GND) and 5 are the power, the antenna 6, but I was not very clear difference between pin 1 and 3 and the function of 4.
According to you?
Suggestions?

johnwasser

I think you can ignore the CTRL/ND pin unless you want to change the default configuration.

Connect power (+5V) to VDDHI, ground to VSS, antenna to CX and see if OUT changes when you touch the antenna. 

You will need a pull-up resistor on OUT.  If you connect it to an Arduino input you can turn on the internal pull-up by setting the input pin to HIGH:

Code: [Select]

pinMode(2, INPUT);  // OUT from sensor
digitalWrite(2, HIGH); // Turn on the pull-up
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

dr4gone

thanks a lot.
Tomorrow, I'll try to do what you suggested.

Ciao! ;)

riaandt

Better late than never...

The IQS128 is sold in different configurations.
The most popular would be the one having pin3 (CTRL/ND pin) as an output (probably the one you have).
This will be a debounced and sensitive output (for proximity application such as the activation of backlighting etc.)
The other output is optimized for a closer activation such as an actual touch. The IQS128 features DYCAL(TM) which makes it very well suited for successful long term detection and de-activation.

For the rest, the response from John should have helped I hope.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy