Revision: 1888
Author: [email protected]
Date: Wed Apr  7 09:16:40 2010
Log: RC motor speed controllers also work, updated servo tutorial. fixed one image. topublish.
http://code.google.com/p/jallib/source/detail?r=1888

Added:
 /trunk/doc/dita/tutorials/images/servo_rc_master_circuit.jpg.jpg
 /trunk/doc/dita/tutorials/images/servo_rc_motor_speed_control.jpg
Modified:
 /trunk/doc/dita/TOPUBLISH
 /trunk/doc/dita/tutorials/tutorial_changelog.xml
 /trunk/doc/dita/tutorials/tutorial_servo_rc_master.xml

=======================================
--- /dev/null   
+++ /trunk/doc/dita/tutorials/images/servo_rc_master_circuit.jpg.jpg Wed Apr 7 09:16:40 2010
Binary file, no diff available.
=======================================
--- /dev/null   
+++ /trunk/doc/dita/tutorials/images/servo_rc_motor_speed_control.jpg Wed Apr 7 09:16:40 2010
Binary file, no diff available.
=======================================
--- /trunk/doc/dita/TOPUBLISH   Tue Apr  6 14:58:00 2010
+++ /trunk/doc/dita/TOPUBLISH   Wed Apr  7 09:16:40 2010
@@ -18,13 +18,13 @@
 # is generated.

 # ditamap
-tutorials/tutorials.ditamap japp_config.py 2010040602 +tutorials/tutorials.ditamap japp_config.py 2010040702
 # DITA xml
tutorials/license.xml japp_config.py 2010040601 tutorials/tutorial_adc_intro.xml japp_config.py 2010031201 tutorials/tutorial_basics.xml japp_config.py 2010012501 tutorials/tutorial_blink_a_led.xml japp_config.py 2010012901 -tutorials/tutorial_changelog.xml japp_config.py 2010040601 +tutorials/tutorial_changelog.xml japp_config.py 2010040702 tutorials/tutorial_externals.xml japp_config.py 2010012501 tutorials/tutorial_getting_started.xml japp_config.py 2010021101 tutorials/tutorial_gp2d02.xml japp_config.py 2010040601
@@ -42,7 +42,7 @@
tutorials/tutorial_sd_card.xml japp_config.py 2010040101 tutorials/tutorial_serial_communication.xml japp_config.py 2010012501 tutorials/tutorial_serial_port_board.xml japp_config.py 2010012501 -tutorials/tutorial_servo_rc_master.xml japp_config.py 2010040601 +tutorials/tutorial_servo_rc_master.xml japp_config.py 2010040702 tutorials/tutorial_spi_introduction.xml japp_config.py 2010021101 tutorials/tutorial_spi_sram_23k256.xml japp_config.py 2010040101

=======================================
--- /trunk/doc/dita/tutorials/tutorial_changelog.xml Tue Apr 6 14:58:00 2010 +++ /trunk/doc/dita/tutorials/tutorial_changelog.xml Wed Apr 7 09:16:40 2010
@@ -26,7 +26,7 @@
           </row>
           <row>
             <entry>2010/04/05</entry>
-            <entry>Added servo tutorial</entry>
+ <entry>Added RC servo &amp; motor speed control tutorial</entry>
           </row>
           <row>
             <entry>2010/04/01</entry>
=======================================
--- /trunk/doc/dita/tutorials/tutorial_servo_rc_master.xml Tue Apr 6 14:58:00 2010 +++ /trunk/doc/dita/tutorials/tutorial_servo_rc_master.xml Wed Apr 7 09:16:40 2010
@@ -1,18 +1,21 @@
 <?xml version='1.0' encoding='UTF-8'?>
<!-- This document was created with Syntext Serna Free. --><!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd" []>
 <topic id="sram_23k256">
-  <title>RC Servo Control</title>
+  <title>RC Servo Control &amp; RC Motor Speed Control</title>
   <prolog>
     <author>Matthew Schinkel</author>
     <publisher>Jallib Group</publisher>
   </prolog>
   <body>
- <p id="firstcontent">PIC servo control for RC servos used in the Radio Control hobby.</p> + <p id="firstcontent">PIC RC servos and RC speed controllers used in the Radio Control hobby.</p>
     <section>
       <title>Servo Control Intro</title>
     </section>
- <p>RC or R/C (Radio Control) servos are mostly used in the radio control hobby to control things like RC Cars, RC airplanes, boats, robots, etc. Servos are used for there positioning capability and strength. Small, regular sized servos can be bought at a local hobby store for $10 or less. Of course there are more expansive ones depending on the quality and size. These servos normally plug into your radio control receiver, but today we will connect it to your PIC.</p> - <image href="images/servo_rc_master_servo.jpg" width="200" otherprops="clickable"/> + <p>RC or R/C (Radio Control) servos and RC motor speed controllers are used in the radio control hobby to control things like RC Cars, RC airplanes, boats, robots, etc. </p> + <p>Servos are used for there positioning capability and strength. Small, regular sized servos can be bought at a local hobby store for $10 or less. Of course there are more expansive ones depending on the quality and size. These servos normally plug into your radio control receiver, but today we will connect it to your PIC. </p> + <p>I will mostly be talking about RC servos, but you will also be able to connect a RC speed controller since they use the same technology. These speed controllers are made up of power MOS FETs to allow 12v at 50A+ to control the speed of a motor via PWM.</p> + <image href="images/servo_rc_master_servo.jpg" width="210" otherprops="clickable"/> + <image href="images/servo_rc_motor_speed_control.jpg" width="225" otherprops="clickable"/> <p>The only way to really know how something really works is to take it apart! I found some gears, a potentiometer some electronics and a motor. The servos gears are to give it the strength it needs to move whatever it is you want to move in your project. The servo knows it&apos;s position by reading a voltage off the potentiometer that gets turned by the gears which of course gets turned by the motor. After a signal is given, the servo will move to the correct location.</p> <image href="images/servo_rc_master_disassembled.jpg" width="450" otherprops="clickable"/> <p>To control a servo, we need to send it a PWM (pulse width modulation) signal. Thankfully it will all be taken care of by the Jallib library I have created. A pulse will be sent every 20ms, and each pulse will be a width between 0.5ms and 2.5ms. The pulse width will vary depending on the position you have chosen. Servo pulse width required can very depending on the servo manufacturer, therefore the library has been created with some default values that you may change to get a full movement from left to right.</p>

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to