<?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>Servo SAADC With nRF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75352/servo-saadc-with-nrf52832</link><description>Hello everybody. I need to rotate servo and check adc on potentiometer to stop it if something is blocking the shaft. 
 I need to change servo position step by step and check saadc values on each step. 
 I was able to measure voltage on potentiometer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Jun 2021 07:00:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75352/servo-saadc-with-nrf52832" /><item><title>RE: Servo SAADC With nRF52832</title><link>https://devzone.nordicsemi.com/thread/317603?ContentTypeID=1</link><pubDate>Tue, 29 Jun 2021 07:00:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09ac1c43-2798-4234-8d37-5d2e5f2c8df7</guid><dc:creator>L.Baggio</dc:creator><description>&lt;p&gt;thank you. I will try this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Servo SAADC With nRF52832</title><link>https://devzone.nordicsemi.com/thread/315832?ContentTypeID=1</link><pubDate>Thu, 17 Jun 2021 10:59:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8feed261-0f77-4641-a901-8e8986ac262c</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;I suggest you use the&amp;nbsp;&lt;a title="Limits event monitoring" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/saadc.html?cp=4_2_0_36_9#saadc_limits"&gt;Limits event monitoring&lt;/a&gt;&amp;nbsp;feature of the SAADC. This feature enables the SAADC to function similarly to a comparator.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;You can set up the limits to correspond with a servo blocking state and start and stop continuous sampling on the PWM&amp;#39;s&amp;nbsp;&lt;span&gt;EVENTS_SEQSTARTED and&amp;nbsp;EVENTS_SEQEND events respectivly.&amp;nbsp;&lt;br /&gt;Then the SAADC will operate only when the PWM is running, and notify your application when the prest voltage limit has been reached.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Servo SAADC With nRF52832</title><link>https://devzone.nordicsemi.com/thread/313780?ContentTypeID=1</link><pubDate>Sat, 05 Jun 2021 19:21:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e7f6354-b439-4993-8f7e-4d6604310d4b</guid><dc:creator>L.Baggio</dc:creator><description>&lt;p&gt;hi&lt;/p&gt;
&lt;p&gt;I&amp;#39;am using MG996R, hobby servo 0-180 degrees.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sending signal using pwm driver library with this function: nrfx_pwm_simple_playback(&amp;amp;m_pwm0, &amp;amp;seq0, 1, NRFX_PWM_FLAG_STOP);&lt;/p&gt;
&lt;p&gt;I want to sample the adc while sending commands to servo or is there other method to check if shaft is blocked?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Servo SAADC With nRF52832</title><link>https://devzone.nordicsemi.com/thread/312797?ContentTypeID=1</link><pubDate>Tue, 01 Jun 2021 09:16:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d40342d-c8b0-4bb6-80f0-a6db93b05364</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;That depends on your application.&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;The most omportant question is exactly WHEN do you want to sample the ADC?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What control signals do you send to the servo?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Is the servo just a DC motor, AC motor, stepper motor, or a regular hobby servo?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Servo SAADC With nRF52832</title><link>https://devzone.nordicsemi.com/thread/311910?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 21:11:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed1d8f10-89b9-4cc2-b991-bd34b0996944</guid><dc:creator>L.Baggio</dc:creator><description>&lt;p&gt;I mean how can I check if something is blocking the shaft of servo while rotating?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Servo SAADC With nRF52832</title><link>https://devzone.nordicsemi.com/thread/311353?ContentTypeID=1</link><pubDate>Tue, 25 May 2021 08:37:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e1e7538-2d93-4ed8-ad04-7f5f3e6377c5</guid><dc:creator>haakonsh</dc:creator><description>[quote user=""]but don&amp;#39;t know how to check voltage on every step.[/quote]
&lt;p&gt;&amp;nbsp;What do you mean by every step?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Can you share your code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>