<?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>Is there a way to get more capacitive touch inputs?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22427/is-there-a-way-to-get-more-capacitive-touch-inputs</link><description>Both the capacitive touch library and the driver (which is better ?) are using the analog inputs.
There are only 8 of them , and we need 10 at least buttons. 
 Is there a way to &amp;quot;cheat&amp;quot; ? I need different buttons where you can also detect when I touch</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 May 2017 16:23:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22427/is-there-a-way-to-get-more-capacitive-touch-inputs" /><item><title>RE: Is there a way to get more capacitive touch inputs?</title><link>https://devzone.nordicsemi.com/thread/88197?ContentTypeID=1</link><pubDate>Tue, 30 May 2017 16:23:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:360b989d-4241-478e-9d66-2cbaf0d880b8</guid><dc:creator>Lola</dc:creator><description>&lt;p&gt;Actually I am missing just another button ( I need 9 ) , I am trying to think how can I connect it with one of the 8 AIN or maybe all of them to get another behaviour.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to get more capacitive touch inputs?</title><link>https://devzone.nordicsemi.com/thread/88196?ContentTypeID=1</link><pubDate>Tue, 30 May 2017 16:20:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64f7e9d1-61d7-4a66-8edb-4ba4e751466f</guid><dc:creator>Lola</dc:creator><description>&lt;p&gt;Not sure how but I guess for production that wouldn&amp;#39;t be so accurate.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to get more capacitive touch inputs?</title><link>https://devzone.nordicsemi.com/thread/88194?ContentTypeID=1</link><pubDate>Tue, 30 May 2017 16:00:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ed9a393-b004-40cb-82f5-4e2f20c369c2</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;You can always use an analog mux. This is the same way they mux the ADC pins internally on the nRF.  You need to pay attention to your minimum dwell time but even so you can easily add more inputs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to get more capacitive touch inputs?</title><link>https://devzone.nordicsemi.com/thread/88193?ContentTypeID=1</link><pubDate>Tue, 30 May 2017 15:13:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80008d30-97e5-4235-b00f-dadc0769b6cf</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;I didn&amp;#39;t think of that, but you&amp;#39;re right it should be possible. I spoke with a colleague and he pointed me to &lt;a href="https://github.com/NordicSemiconductor/nrf51-capsense-example"&gt;this&lt;/a&gt;. I don&amp;#39;t know how well it works, but it is a cap-sense example using GPIO. It does not work with the softdevice due to the direct use of PPI (Hardware registers), and it is for the nRF51. But perhaps you can find something that helps you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to get more capacitive touch inputs?</title><link>https://devzone.nordicsemi.com/thread/88192?ContentTypeID=1</link><pubDate>Tue, 30 May 2017 15:04:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ef10c05-997e-4c89-986f-24c0d6d82e7f</guid><dc:creator>Lola</dc:creator><description>&lt;p&gt;With high and low you can do things :) for example to measure how long is it takes from the moment you raise to high on 1 pin, to the moment you sense high on the other pin that connected to him (will be changed based on capacity). But maybe I am wrong. Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to get more capacitive touch inputs?</title><link>https://devzone.nordicsemi.com/thread/88195?ContentTypeID=1</link><pubDate>Tue, 30 May 2017 15:01:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:094b76f6-fa7a-48ab-82ed-1b424a18d619</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;Unfortunately no, the comparator input is limited to the analog input pins. The digital inputs does not have the ability to sense input levels other than high or low.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to get more capacitive touch inputs?</title><link>https://devzone.nordicsemi.com/thread/88191?ContentTypeID=1</link><pubDate>Tue, 30 May 2017 14:33:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22fd7e81-cc35-428f-8fe8-cfa99e392316</guid><dc:creator>Lola</dc:creator><description>&lt;p&gt;Thanks very much, your solution sounds cool but not for production obviously. Is there a way to get more then 8 using some kind of digital input manipulation ? I could not find any library that does that .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to get more capacitive touch inputs?</title><link>https://devzone.nordicsemi.com/thread/88190?ContentTypeID=1</link><pubDate>Tue, 30 May 2017 14:09:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36925057-e749-42df-b735-f536e356faed</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;Hello Lola&lt;/p&gt;
&lt;p&gt;The idea of connecting the input to two pads is described under the resource usage section &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v12.0.0%2Flib_csense.html&amp;amp;resultof=%22pads%22%20%22pad%22%20"&gt;here&lt;/a&gt;. It states that neighboring pads should not be connected to the same input pin. That way by checking the neighboring buttons, you can tell which way the finger is sliding.&lt;/p&gt;
&lt;p&gt;In theory, I think it might be possible for the sensing circuit to tell two different buttons apart, if the two button do not have the same capacitance. Mind you, I have never tried this myself.&lt;/p&gt;
&lt;p&gt;If their capacitance is far enough apart, and you do not have coupling from one to the other, you might be able to tell one pad from the other by how much the frequency of the relaxation oscillator changes. For example, one pad would change the frequency from f0 to f1, the second pad from f0 to f2. If both were pressed, you would get frequency f3.&lt;/p&gt;
&lt;p&gt;A limitation to this however is that the change in capacitance is dependent on many different things, pad size and shape, size of finger, skin moisture etc. so the capacitance can vary a lot. Sadly I am not sure how realizable it would be.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Jørn Frøysa&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>