<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How should you test the capacitive touch library?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22505/how-should-you-test-the-capacitive-touch-library</link><description>I was able to write the code and put it to work on AN5 pin , and I found out that whenever I approach to the DK board he see it as a touch. 
 I connected to the pin a 10cm exposed wire, and when i touch it nothing happens, only when I touch the plastic</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 02 Jun 2017 10:54:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22505/how-should-you-test-the-capacitive-touch-library" /><item><title>RE: How should you test the capacitive touch library?</title><link>https://devzone.nordicsemi.com/thread/88549?ContentTypeID=1</link><pubDate>Fri, 02 Jun 2017 10:54:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5555a239-9d36-4895-89c3-a28a6db492da</guid><dc:creator>Lola</dc:creator><description>&lt;p&gt;Thanks! , do not worry, if I make all the way to a product, I will use nrf52 :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How should you test the capacitive touch library?</title><link>https://devzone.nordicsemi.com/thread/88548?ContentTypeID=1</link><pubDate>Fri, 02 Jun 2017 09:39:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11138bd9-9636-4834-a2ac-254746e804d2</guid><dc:creator>CBD</dc:creator><description>&lt;p&gt;Yes that would be a start, just don&amp;#39;t make them too large.
I apologise for posting a competitor&amp;#39;s page on here, but check out this page for some interesting information on sensing basics:
&lt;a href="http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/CapTIvate_Design_Center/latest/exports/docs/users_guide/html/ch_basics.html"&gt;link text&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How should you test the capacitive touch library?</title><link>https://devzone.nordicsemi.com/thread/88547?ContentTypeID=1</link><pubDate>Fri, 02 Jun 2017 08:44:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf57b6f0-09c4-4daa-85f4-bbe4b78bdd4c</guid><dc:creator>Lola</dc:creator><description>&lt;p&gt;Thanks very much! great explanation, so what would be a good way to simulate at home (before making the pcb) how the touch works? just 2 plates separated by cardboard, where one goes to ground ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How should you test the capacitive touch library?</title><link>https://devzone.nordicsemi.com/thread/88546?ContentTypeID=1</link><pubDate>Fri, 02 Jun 2017 08:26:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6d6fb5b-e98d-4096-b3da-0de27bd4882c</guid><dc:creator>CBD</dc:creator><description>&lt;p&gt;The main issue that you have is direction of detection and field strength.
From experience I have found that the ratio of mass of conductive material between the processor pins and the sensing area has an effect on how sensitive the sensing area can be in relation to the wire connected to it.
A ground plane behind the sensing area, on the opposite side to the area of detection helps to, reduce the sensitivity of false detections from that side. A typical problem during development would be laying the sensing area, be it wire, plate whatever on a desk and finding that the movement of the sensing area in relation to the desk or even the tester touching the desk may have a greater effect than placing your finger onto or near the area in question.
The ground plane when connected to a common ground that the MCU uses ensures that the dielectric field in that direction is constant. This need not be a pin on the MCU just to the PCB ground.
You&amp;#39;ll also find that changing the dielectric constant of the area between sensing area and your finger say will change the sensitivity in that direction hence a bare wire will have different sensitivity to a covered one.
The technology typically works by sending micro-pulses to the sensing pin and then measuring the decay rate when compared to an internal reference. This means that there is a limit to the capacitance of the sensor area and parasitic capacitance of the connection to it that the MCUs can cope with.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How should you test the capacitive touch library?</title><link>https://devzone.nordicsemi.com/thread/88545?ContentTypeID=1</link><pubDate>Fri, 02 Jun 2017 07:01:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f43acccf-546d-45cf-84a3-a3a3583df16b</guid><dc:creator>Lola</dc:creator><description>&lt;p&gt;Thanks a lot, that&amp;#39;s strange because everywhere I read , you require only 1 pin for it to work, and you say I need also to connect a ground plate and put a dielectric material between them, I am not sure I still understand how it works and why you need 2 plates. Touching the pin should change capacity and hence change the frequency measured by the PPI . Why putting 2 plates instead of just using a real capacitor to get the same effect?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How should you test the capacitive touch library?</title><link>https://devzone.nordicsemi.com/thread/88544?ContentTypeID=1</link><pubDate>Fri, 02 Jun 2017 06:48:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a801a68-8eaf-47ef-b02a-6acdea827fa0</guid><dc:creator>CBD</dc:creator><description>&lt;p&gt;Although I&amp;#39;ve not used the capacitive library of this device, I have of others.
A capacitive sensor works by measuring changes to the electrical field that is generated around or between the sensor area and a ground plane.&lt;/p&gt;
&lt;p&gt;They don&amp;#39;t require actual touch to work, but the design of the sensor area (where you are trying to detect the presence of a finger say) can be tricky.&lt;/p&gt;
&lt;p&gt;Texas Instruments have a very detailed section on their site covering this.&lt;/p&gt;
&lt;p&gt;Ideally you should attach a small conductive area (say some copper tape) to your wire (attached to the detection pin - AN5). This should have another area connected to a ground, common to the MCU, placed underneath it with the two separated by a non-conductive material (even dry paper will work, but go with something around 1 - 2mm thick.) The higher the dielectric constant of the material the better - air is 1, PCB FR4 is around 4, polyester may be 5 etc.&lt;/p&gt;
&lt;p&gt;Ideally you want to have the ground layer slightly larger in comparison to the &amp;quot;live&amp;quot; area otherwise you&amp;#39;ll find that your not detecting your finger, approaching the sensor area but it approaching the ground layer!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>