Changes for page LSS Radio Control (PWM)
Last modified by Eric Nantel on 2024/07/12 11:24
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -7,27 +7,27 @@ 7 7 8 8 RC hobby servo motors have three pins; the black wire is ground (GND), the middle (red) wire is VCC (normally 4.8V to 6V) and the last wire (commonly yellow or white) is the signal wire. The signal wire is meant to receive 5V PWM pulses which are repeated every 20-30 milliseconds. The onboard electronics receive and time these pulses and associate them to angular positions. If no RC pulse is received, the servo goes limp. All RC servos are centered at 1500 microseconds, and 1000 microseconds tends to correspond to -90 degrees, and 2000 microseconds to +90 degrees. Note that by default many handheld RC transmitters only send between 600 to 2400 microseconds (slightly limited range). Pulses which cannot be interpreted by the servo (ex. constant LOW or HIGH) may cause the servo to go limp. 9 9 10 -[[image:PWM - 180 RC - Wiki.png||alt="RC PWM - Wiki.png" width="300"]] 10 +[[image:PWM - 180 RC - Wiki.png||queryString="width=300" alt="RC PWM - Wiki.png" width="300"]] 11 11 12 12 = LSS RC Mode = 13 13 14 -All three Lynxmotion Smart Servo motors can be used with normal hobby remote control (RC) electronics including handheld remote controls and RC servo controllers. Unlike normal RC servo motors however, the Lynxmotion servo's configurations can be changed via programming. There are two methods to change from serial to RC mode: via the [[LSS - Button Menu>>doc:lynxmotion-smart-servo. LSS-ButtonMenu.WebHome||style="background-color: rgb(255, 255, 255);"]] or sending a CRC command (explained on the [[communication protocol>>doc:lynxmotion-smart-servo.LSS-CommunicationProtocol.WebHome]] page). Note: Each mode can have the rotation reversed, but clockwise is standard (equivalent to CW1 or CW-1 commands). The motion controller used in serial mode is not the same as the motion controller use in RC mode. RC mode is intended to add functionality to what would be considered "normal" RC behavior based on PWM input.14 +All three Lynxmotion Smart Servo motors can be used with normal hobby remote control (RC) electronics including handheld remote controls and RC servo controllers. Unlike normal RC servo motors however, the Lynxmotion servo's configurations can be changed via programming. There are two methods to change from serial to RC mode: via the [[LSS - Button Menu>>doc:lynxmotion-smart-servo.lss-button-menu.WebHome||style="background-color: rgb(255, 255, 255);"]] or sending a CRC command (explained on the [[communication protocol>>doc:lynxmotion-smart-servo.LSS-CommunicationProtocol.WebHome]] page). Note: Each mode can have the rotation reversed, but clockwise is standard (equivalent to CW1 or CW-1 commands). The motion controller used in serial mode is not the same as the motion controller use in RC mode. RC mode is intended to add functionality to what would be considered "normal" RC behavior based on PWM input. 15 15 16 16 == RC 180° mode == 17 17 18 18 This means a range of -90.0 degrees to +90.0 degrees (equivalent to sending a "configure angular range of 1800" or "CAR1800<cr>" command). 19 19 20 -[[image:PWM - 180 CW - Wiki.png||alt="LSS PWM - Wiki.png" height="360" width="300"]][[image:PWM - 180 CCW - Wiki.png||height="361" width="300"]] 20 +[[image:PWM - 180 CW - Wiki.png||queryString="width=300&height=360" alt="LSS PWM - Wiki.png" height="360" width="300"]][[image:PWM - 180 CCW - Wiki.png||queryString="width=300&height=361" height="361" width="300"]] 21 21 22 22 == RC 360° mode == 23 23 24 24 This gives a rotation angle of -180.0 to + 180.0 degrees or a full 360 degrees of rotation (equivalent to sending CAR 3600). 25 -[[image:PWM - 360 CW - Wiki.png||alt="PWM - 360 - Wiki.png" height="360" width="300"]][[image:PWM - 360 CCW - Wiki.png||height="361" width="300"]] 25 +[[image:PWM - 360 CW - Wiki.png||queryString="width=300&height=360" alt="PWM - 360 - Wiki.png" height="360" width="300"]][[image:PWM - 360 CCW - Wiki.png||queryString="width=300&height=361" height="361" width="300"]] 26 26 27 27 == RC Speed mode == 28 28 29 29 Wheel mode is where a centered pulse of 1500 represents stop, and increasing the pulse towards 2500 increases the speed (for example CW), whereas decreasing the speed towards 500 increases the speed in the opposite direction (ex. CCW). 30 -[[image:PWM - Wheel CW - Wiki.png||alt="PWM - Wheel - Wiki.png" height="360" width="300"]][[image:PWM - Wheel CCW - Wiki.png||height="361" width="300"]] 30 +[[image:PWM - Wheel CW - Wiki.png||queryString="width=300&height=360" alt="PWM - Wheel - Wiki.png" height="360" width="300"]][[image:PWM - Wheel CCW - Wiki.png||queryString="width=300&height=361" height="361" width="300"]] 31 31 32 32 ((( 33 33 = Wiring - RC Mode = ... ... @@ -34,7 +34,7 @@ 34 34 35 35 When in RC mode, only one connector should be attached, and either connector on the servo can be used. The servo cannot be daisy-chained. The RC adapter cable includes the fourth pin connected as the cable can also be used to with non-RC electronics like FPGA boards and microcontrollers. In RC mode, the servo does not transmit any data on its TX pin (green wire). 36 36 37 -[[image:LSS - RC Cable Side.png||height="348" width="400"]] 37 +[[image:LSS - RC Cable Side.png||queryString="width=400&height=348" height="348" width="400"]] 38 38 39 39 40 40 ))) ... ... @@ -59,16 +59,16 @@ 59 59 60 60 With the "Angular Range" set 240.0° (±120.0°; CAR2400) of movement with the same 500µs to 2500µs signal. 61 61 62 -[[image:PWM - 120 - Wiki.png||height="361" width="300"]] 62 +[[image:PWM - 120 - Wiki.png||queryString="width=300&height=361" height="361" width="300"]] 63 63 64 64 With the "Angular Range" set to 240.0° (±120°; CAR2400) and "Origin Offset" you can shift the center position and still get your 240.0° range. 65 65 66 -[[image:PWM - 120 25offset - Wiki.png||height="361" width="300"]] 66 +[[image:PWM - 120 25offset - Wiki.png||queryString="width=300&height=361" height="361" width="300"]] 67 67 68 68 It is also possible to setup pass the 360.0° mark like here for a 720° (±360°; CAR7200) total rotation. 69 69 70 -[[image:PWM - 720 - Wiki.png||height="361" width="300"]] 70 +[[image:PWM - 720 - Wiki.png||queryString="width=300&height=361" height="361" width="300"]] 71 71 72 72 **Important note ** 73 73 74 -To revert from RC mode back to serial mode, the [[LSS - Button Menu>>doc:lynxmotion-smart-servo. LSS-ButtonMenu.WebHome]] is required. Should the button be inaccessible (or broken) when the servo is in RC mode and the user needs to change to serial mode, a 5V constant HIGH needs to be sent to the servo's Rx pin (RC PWM pin) with a common GND and wait for over 30 seconds. Normal RC PWM pulses should not exceed 2500 milliseconds. After 30 seconds, the servo will interpret this as a desired mode change and change to serial mode. This has been implemented as a fail safe.74 +To revert from RC mode back to serial mode, the [[LSS - Button Menu>>doc:lynxmotion-smart-servo.lss-button-menu.WebHome]] is required. Should the button be inaccessible (or broken) when the servo is in RC mode and the user needs to change to serial mode, a 5V constant HIGH needs to be sent to the servo's Rx pin (RC PWM pin) with a common GND and wait for over 30 seconds. Normal RC PWM pulses should not exceed 2500 milliseconds. After 30 seconds, the servo will interpret this as a desired mode change and change to serial mode. This has been implemented as a fail safe.