<?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>Capacitance reading circuit for nRF51</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22262/capacitance-reading-circuit-for-nrf51</link><description>Currently, we are trying to have the nRF51 chip working with a type of capacitive pressure sensor. We did quite a lot of work on searching proper circuits of reading the capacitance of the sensor, including capacitance voltage divider, charging time method</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 23 Jun 2017 09:28:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22262/capacitance-reading-circuit-for-nrf51" /><item><title>RE: Capacitance reading circuit for nRF51</title><link>https://devzone.nordicsemi.com/thread/87515?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2017 09:28:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b71e098-7e51-430f-995e-84cd8b09d9e5</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;The measurements are described in the driver documentation linked in my answer. The Timer library is used which is based on the RTC peripheral.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Capacitance reading circuit for nRF51</title><link>https://devzone.nordicsemi.com/thread/87514?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2017 14:33:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7db1f1a3-1d12-43f4-9073-98d18e75d64a</guid><dc:creator>Ehsan</dc:creator><description>&lt;p&gt;What would be the best way to measure the charge time? Also, what peripherals would be required?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Capacitance reading circuit for nRF51</title><link>https://devzone.nordicsemi.com/thread/87516?ContentTypeID=1</link><pubDate>Wed, 24 May 2017 23:23:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:105f4b4a-ae61-4f3a-b5ab-367785343e46</guid><dc:creator>Brandt</dc:creator><description>&lt;p&gt;Thanks a lot for your advice, Jorn. I&amp;#39;ll look into the information and give a try.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Capacitance reading circuit for nRF51</title><link>https://devzone.nordicsemi.com/thread/87513?ContentTypeID=1</link><pubDate>Wed, 24 May 2017 11:57:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a7c62e7-89b7-45aa-b1aa-c055e3ffab13</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;Hello Brandt&lt;/p&gt;
&lt;p&gt;We do have a capacitive sensing driver, and a library.
Information on the capacitive sensing driver can be found &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v12.2.0%2Fhardware_driver_csense.html"&gt;here&lt;/a&gt;, and information on the capacitive sensor library can be found &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.2.0/lib_csense.html?cp=4_0_2_3_8"&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;With the nRF51 it charges the capacitance with an extra output pin, and measures the charge time. Then you can calculate the capacitance from that. With the nRF52 you can use the comparator as a relaxation oscillator (see the link in the driver section above), whose frequency will be dependent on the capacitance.&lt;/p&gt;
&lt;p&gt;We also have a couple of examples for capacitive sensing, these examples can be found at [SDK folder]/examples/ and are called csense and csense_drv. You can find the example documentation &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.0.0/lib_csense_example.html?cp=4_0_0_4_4_4"&gt;here&lt;/a&gt; and &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.0.0/csense_example.html?cp=4_0_0_4_4_5"&gt;here&lt;/a&gt;.
Examples for the nRF51 series is not available in SDK13, but you can find them in SDK12.2&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><item><title>RE: Capacitance reading circuit for nRF51</title><link>https://devzone.nordicsemi.com/thread/87512?ContentTypeID=1</link><pubDate>Tue, 23 May 2017 20:21:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b152ac8-7fbe-47f7-966b-5474dbaa065a</guid><dc:creator>swoudlxy</dc:creator><description>&lt;p&gt;Hi Jorn, the capacitive sensor is acting as a pressure sensor. The output capacitance will change according to the variation of the thickness of the dielectric sandwiched between two conductive plates. Therefore, we are wondering whether there is a proper circuit that can read the capacitance of the sensor.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Capacitance reading circuit for nRF51</title><link>https://devzone.nordicsemi.com/thread/87511?ContentTypeID=1</link><pubDate>Tue, 23 May 2017 14:28:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a822a81-82bd-40b4-8f30-fcc391c02035</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;Hello Brandt, you say not capacitance touching sensor, do you by that mean no capacitive sensing as used in place of buttons? What will the purpose of your sensor be? What will change the capacitance?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>