<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/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/"><channel><title>How can I use a servo motor on the LPC2103 MCU?</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/41036/how-can-i-use-a-servo-motor-on-the-lpc2103-mcu</link><description> 
I&amp;#39;m still a beginner on deep embedded systems development. I would
like to know how to control a servo motor without using PWM, since I
didn&amp;#39;t actually learn anything about it on my classes and I&amp;#39;m not
sure wether I could use it or not. 
 </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: How can I use a servo motor on the LPC2103 MCU?</title><link>https://community.arm.com/thread/93482?ContentTypeID=1</link><pubDate>Sun, 12 Jul 2015 07:37:26 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:9ae68f1e-6c92-4c6a-95e7-6564daf00704</guid><dc:creator>Westonsupermare Pier</dc:creator><description>&lt;p&gt;&lt;p&gt;
Ok, but most servo motors use a 50 Hz (20 ms period) repetitive
signal, where the pulse width nominally 1-2 ms or 500-2500 us,
controls the angle of the output shaft.&lt;/p&gt;

&lt;p&gt;
This is the poster child for a microprocessor PWM
timer/generator.&lt;/p&gt;

&lt;p&gt;
Get the LPC2103 reference manual, and review the timer/pwm
section. Any teacher worth listening to should be able to demonstrate
this within as couple of minutes.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I use a servo motor on the LPC2103 MCU?</title><link>https://community.arm.com/thread/63920?ContentTypeID=1</link><pubDate>Sun, 12 Jul 2015 06:35:58 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:bf3fadee-cddb-47eb-92a8-df024f9ad461</guid><dc:creator>Gary Olson</dc:creator><description>&lt;p&gt;&lt;p&gt;
One motor that I have been working with (BLDC) Brushless DC Motor
has a A, B and C input. You have to drive the motor with 3 bit word
sequences so the motor will go in consistemt direction.&lt;br /&gt;
If you mess up the sequence the motor will not go smoothly and start
jerking back and forth.&lt;/p&gt;

&lt;p&gt;
The Motor provides feedback to the controller that indicates the
position of the shaft so that you can send the correct phase control
to keep driving the motor. The feedback on the motor I am using are
three signals. The signals are from a HALL sensor. As the shaft
changes position the&lt;br /&gt;
sense signals will provide new position information. The controller
will have to change the&lt;br /&gt;
motor (A, B, C) phase word so that the motor can continue to move
smoothly to a new position.&lt;/p&gt;

&lt;p&gt;
There are stepper motors that may only have two windings instead
of three.&lt;br /&gt;
these will have only two inputs instead of three to drive. But if
they have hall sensors I think&lt;br /&gt;
they will provide three feedback Hall sense lines so that controller
will be able figure out the motor position. Knowing the feedback
value the controller will send the proper word to send the motor
inputs.&lt;/p&gt;

&lt;p&gt;
Of course a motor can go either clockwise or counter clockwise
also. so depending on the direction the controller is programmed to
go. A different sequence of motor inputs will be sent.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>