<?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>Detecting negative voltages with SAADC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63003/detecting-negative-voltages-with-saadc</link><description>Hi! I am going to work on a project that uses a specific sensor which produces voltage outputs between 250 mV and -250 mV. Can someone help me with ideas to detect the negative voltages with the nRF52810 SAADC? Are there SAADC options I can set via software</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Jun 2020 05:35:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63003/detecting-negative-voltages-with-saadc" /><item><title>RE: Detecting negative voltages with SAADC</title><link>https://devzone.nordicsemi.com/thread/257041?ContentTypeID=1</link><pubDate>Fri, 26 Jun 2020 05:35:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de92e03d-3e99-40a3-9263-3f8b89a716de</guid><dc:creator>Noah</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Image-Pasted-at-2020_2D00_6_2D00_26-11_2D00_58.png" /&gt;&lt;/p&gt;
&lt;p&gt;This is the solution to my problem, thanks all for the help :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting negative voltages with SAADC</title><link>https://devzone.nordicsemi.com/thread/257014?ContentTypeID=1</link><pubDate>Thu, 25 Jun 2020 17:36:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f43be0e-7946-4c23-98c0-8fd6aaf9ad96</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Typically you can use a flying capacitor to level shift from a range outside the ADC to a range within the range of the ADC, by using analogue switches. A c/o (changeover) switches the lower end of the capacitor from the negative signal (perhaps its -ve supply) to (typically) nRF52832 Gnd and a second c/o switches from the positive signal to the SAADC analogue input pin. This shifts the sensor sampled voltage on the flying capacitor from +-250mV to +500mV above nRF52 Gnd.&lt;/p&gt;
&lt;p&gt;Without a schematic I can&amp;#39;t give more details, but this works very well when shifting small signals sitting on top of +ve or -ve pedestal voltages, which can in some cases be quite large (the pedestal in this case is -250mV, quite small). A quad sp or dual c/o analogue switch works well, with supply voltages taken from the sensor rails.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting negative voltages with SAADC</title><link>https://devzone.nordicsemi.com/thread/256864?ContentTypeID=1</link><pubDate>Thu, 25 Jun 2020 10:30:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7f357a4-2439-4aba-8c64-404d55907fa1</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Do you have a datasheet of the sensor?&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
[quote user="nhill03"]What would I do once I know the output impedance of the sensor?[/quote]
&lt;p&gt;&amp;nbsp;Choose&amp;nbsp;a suitable DC bias circuit.&lt;/p&gt;
[quote user="nhill03"]And what do you mean by max/min frequencies, it is an iridium oxide pH sensor which produces a varying voltage output based on pH of solution. [/quote]
&lt;p&gt;&amp;nbsp;Then I guess you have&amp;nbsp;no more than&amp;nbsp;a few Hz as the max frequencies.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting negative voltages with SAADC</title><link>https://devzone.nordicsemi.com/thread/256855?ContentTypeID=1</link><pubDate>Thu, 25 Jun 2020 09:38:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28c882ac-a981-446f-a2cd-d740c647334f</guid><dc:creator>Noah</dc:creator><description>&lt;p&gt;What would I do once I know the output impedance of the sensor? And what do you mean by max/min frequencies, it is an iridium oxide pH sensor which produces a varying voltage output based on pH of solution. I would like to take 20-30 samples to average per reading, and perform one reading every 15 minutes or so&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting negative voltages with SAADC</title><link>https://devzone.nordicsemi.com/thread/256829?ContentTypeID=1</link><pubDate>Thu, 25 Jun 2020 08:14:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5af85a7-372e-4eec-87ba-53f085c5aa4c</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;You need to know the output impedance of your sensor and the maximum and minimum frequencies you wish to resolve.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detecting negative voltages with SAADC</title><link>https://devzone.nordicsemi.com/thread/256822?ContentTypeID=1</link><pubDate>Thu, 25 Jun 2020 07:47:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:719cddaf-322b-4e36-a0a6-f51da4b85e43</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;AIN pins cannot go below 0V (GND) - thus you will need to shift your signal to be in 0V...VCC range.&lt;/p&gt;
&lt;p&gt;We don&amp;#39;t know enough yet in order suggest a specific circuit (e.g. using opamps or instrumentation amps).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>