<?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>DC Motor Control Example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73990/dc-motor-control-example</link><description>I&amp;#39;ve been looking for a DC Motor controller example (for nRF52840) but without luck. Some other users have referred to such an example so I figured it should exist. 
 Anyone knows? 
 
 Thanks!</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Apr 2021 11:37:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73990/dc-motor-control-example" /><item><title>RE: DC Motor Control Example</title><link>https://devzone.nordicsemi.com/thread/305070?ContentTypeID=1</link><pubDate>Thu, 15 Apr 2021 11:37:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a10dc683-e364-46d0-a435-799d832537fe</guid><dc:creator>eh</dc:creator><description>&lt;p&gt;Great, thank you!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;eh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DC Motor Control Example</title><link>https://devzone.nordicsemi.com/thread/305067?ContentTypeID=1</link><pubDate>Thu, 15 Apr 2021 11:35:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83ee2296-7e28-425b-b2b4-5e8c3bf70816</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We don&amp;#39;t have any specific motor control example, but you can modify one of our examples and use them for controlling your motor. For ON/OFF you can use the Blinky example to drive a GPIO high/low for example. You will also need to have a driver circuit, as driving the motor directly from the GPIO pin can damage the chip, see electrical specifications for GPIO: &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/gpio.html?cp=4_0_0_5_8_2#unique_524997740"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf52840/gpio.html?cp=4_0_0_5_8_2#unique_524997740&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you need speed control and your motor can be PWM controlled there is a PWM driver, a library and a Low-power PWM example in the nRF5 SDK v17.0.2&lt;br /&gt;&lt;br /&gt;The example is placed under the &amp;quot;Peripherals&amp;quot; examples&amp;nbsp; folder and the documentation for the example can be found in the infocenter: &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/low_power_pwm_example.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/low_power_pwm_example.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>