Go Down

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


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?


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


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

Ciao! ;)


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

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

shortcuts: alt+s submit/post or alt+p preview