Changes for page LSS-ADA Board (Type-C)
Last modified by Eric Nantel on 2024/07/03 09:39
Change comment: There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -28,124 +28,157 @@ 28 28 * Dimensions: 64 x 64 x 15mm 29 29 * Mounting hole diameter: 3.1mm 30 30 31 -((( 32 -= Communication / Control = 31 += Pinout & Wiring = 33 33 34 -* Mini USB: ex: computer, laptop, Raspberry Pi 35 -* Arduino shield compatible (using M/M or extended M/F headers) 36 -* TTL UART Microcontroller or FPGA control (5V) via Tx, Rx, GND pins 37 -* Wireless module with XBee footprint (Bluetooth Bee, WiFi Bee etc.) 38 -))) 39 - 40 -= USB to Serial Drivers = 41 - 42 -The LSS Adapter uses the FT232RL FTDI chip to convert USB to UART. Most operating systems will automatically detect the FTDI chip and install the correct VCP drivers. In case this is not done automatically, VCP drivers for the FT232RL chip can be downloaded through [[this link>>url:http://www.ftdichip.com/Drivers/VCP.htm||style="background-color: rgb(255, 255, 255);"]] (choose the VCP driver which corresponds to your operating system). 43 - 44 -= Pinout = 45 - 46 46 |(% rowspan="4" style="width:350px" %){{lightbox image="LSS-ADAPTER-PinOut.png"/}}|(% style="text-align:center; vertical-align:middle; width:35px" %)[[image:Lyxnmotion [email protected]]]|**Servo Vcc pin**: Refer to the Voltage section of the LSS - Specifications page to understand which voltages are meant to be connected to this pin. VCC pins on all six connectors, including the XT60 VCC and the VCC pin are connected together. 47 47 |(% style="text-align:center; vertical-align:middle" %)[[image:Lyxnmotion [email protected]]]|**Ground (GND)**: This pin should be connected to both the communication sources' ground, as well as that of the power source (principle of "common ground"). GND pins on all connectors, including the XT60 GND and two GND pins are corrected together. 48 48 |(% style="text-align:center; vertical-align:middle" %)[[image:Lyxnmotion [email protected]]]|**Servo Rx pin**: In serial mode, this pin should be connected to the servo's Rx serial pin. If you are using the Lynxmotion serial cables, simply plug in the servo to the LSS adapter. 49 49 |(% style="text-align:center; vertical-align:middle" %)[[image:Lyxnmotion [email protected]]]|**Servo Tx pin**: In serial mode, this pin should be connected to the servo's Tx serial pin. If you are using the Lynxmotion serial cables, simply plug in the servo to the LSS adapter. 50 50 51 -|(% colspan="2" style="width:350px" %)((( 52 -= Wiring = 38 +|(% style="width:350px" %){{lightbox image="LSS-ADAPTER-WIRING-LSS.png"/}}|((( 39 +The LSS adapter allows up to six sets of servos to be connected to the same bus and share the same power supply, which greatly simplifies wiring for more complex robots. For example, the servos used in an 18 degree of freedom hexapod robot can be split into groups of three for each leg. 40 + 41 +In order to estimate the maximum number and type(s) of servos to daisy chain to each connector on the LSS board, we suggest adding up the stall current for each servo and multiplying by 0.75 (75%). If this value is below 3A, the servos should be safe in most situations. 53 53 ))) 54 -|(% style="width:350px" %){{lightbox image="LSS-ADAPTER-WIRING-LSS.png"/}}|The LSS adapter allows up to six sets of servos to be connected to the same bus and share the same power supply, which greatly simplifies wiring for more complex robots. For example, the servos used in an 18 degree of freedom hexapod robot can be split into groups of three for each leg. 55 55 56 56 |(% colspan="2" style="width:350px" %)((( 57 57 = Power = 58 58 ))) 59 59 |(% style="width:350px" %){{lightbox image="LSS-ADAPTER-Board-Power.png"/}}|((( 60 - //__~*~**Power theBoard~*~**__//48 +(1) XT60 Connector for 6V-12V external power input (more information in "LSS - Electrical" section). 61 61 62 - The FTDI chip can be powered through the on-board USB or with an external power supply through the XT60 connector. The 5V from the USB will only power the FTDI chip and the XBee compatible wireless module(if inserted) and won't power the servos. To power the servos, an external power supply (6V to 12V)is needed (more information in the "LSS- Electrical"section). If both USB and external power supply are connected at the same time, the external power supply will be automatically selected to power the FTDI chip and XBee module if it's higher than 7V. The external power supply can be a battery or an AC-to-DC wall adapter with the appropriate barrel to XT60 converter (moreinformation in "[[LSS - Electrical>>doc:LynxmotionSmart Servo (LSS).LSS - Electrical.WebHome||title="LSS Electrical"]]"section).50 +(2) LSS servo connectors 63 63 64 - Theadapter canoperateon an externalsupply from 7V to 25V DC. Note howeverthat the LSS actuators areintendedto operate atbetween6Vand12V. If theboard is supplied with less than 7V, the 5V pins from the internalregulator may supply less than 5Vand the adapter may not function properly. Using more than 25V may damage the 5V regulator.52 +(3) Automatic switching between USB and external (VCC) power 65 65 66 - **Arduino :** In the case where the LSS Adapter is stacked on top of an Arduino Board, the Arduino board can be powered from the Vin pin which is directly connected to the external supply voltage of the LSS Adapter. If the Arduino Board is powered separately via another external power supply(ex barrel connector),the “Vincut” solder bridge on the bottom of the LSS Adapter Boardneedstobe cut. The ‘“Vincut”solderbridge doesn’t need to be cut if the Arduino is powered through USB.54 +(4) VCC and GND pins 67 67 68 -** Raspberry Pi :**It is recommended to power the Raspberry Pi separately using an appropriate power supply. This [[Raspberry Pi Power Supply 5V 3A>>https://www.robotshop.com/en/raspberry-pi-power-supply-5v-3a-micro-usb.html]] can be used to power the Raspberry Pi.56 +**FTDI** 69 69 70 - **OtherMCUs : **The5Vor the3.3Voutputs canbeusedtopower otherMCUs/Controllers. The 5Vsupplycan provideupto1Aand the3.3Vcanprovideup to500mA.58 +The FTDI chip obtains power from either the on-board USB connector or with an external power supply through the XT60 connector. The 5V from the USB will only power the FTDI chip and the Bee socket (if a module is in place) and won't power the servos. 71 71 72 -(1) : XT60 Connector for 6V-12V external power input (more information in "LSS - Electrical" section). 73 -(2) : LSS servo connectors 60 +**Arduino** 61 + 62 +In the case where the LSS Adapter is stacked on top of a shield-compatible Arduino microcontroller board, the Arduino can be powered from the Vin pin which is directly connected to the external supply voltage of the LSS Adapter. If the Arduino Board is powered separately via a different external power supply (ex. connected to the Arduino's barrel connector), it will NOT provide power to the LSS Adapter. The LSS adapter is designed to power the Arduino, but not vice-versa. As such, it is suggested that only ONE 6-12V power source be connected to the LSS Adapter which is used to power everything. 63 + 64 +**Other MCUs** 65 + 66 +The 5V or 3.3V outputs can be used to power other MCUs/Controllers. The 5V supply can provide up to 1A and the 3.3V can provide up to 500mA. 74 74 ))) 75 -|(% style="width:350px" %){{lightbox image="LSS-ADAPTER-Servo-Power.png"/}}|__//~*~** Power the Servos ~*~**//__ 68 +|(% style="width:350px" %){{lightbox image="LSS-ADAPTER-Servo-Power.png"/}}|((( 69 +**Servos** 76 76 77 - =Configurations=71 +To power the servos, an external power supply (6V to 12V) is needed (more information on the [[LSS - Electrical>>doc:Lynxmotion Smart Servo (LSS).LSS - Electrical.WebHome]] page). If both a USB and a 7V or higher external power supply are connected at the same time, the external power supply will be automatically selected / preferred in order to power the FTDI chip and Bee module. If the board is supplied with less than 7V, the 5V pins from the internal regulator may supply less than 5V and the adapter may not function properly. The external power supply can be a battery or an AC-to-DC wall adapter with the appropriate barrel to XT60 adapter. 78 78 79 -Using the LSS Adapter Board is fairly simple and user-friendly. The configuration switch on the board allows the user to select one of the following control methods 73 +The four pins of all six connectors on the board are connected to one another. Each connector (on both the board and on each servo) can handle a maximum of 3A. The LSS Adapter is intended to provide sufficient current to all six connectors. In higher current applications, be sure to select a power supply / source which can provide the necessary current for all servos. 74 +))) 80 80 81 - //Note: A configurationcan be chosen by pointing the arrow of the switch to the upper half circle ofthe switchor to the bottom one.For example, if USB configuration needs to bechosen,it doesn't matter which number "3" the arrow of the switch is pointing to. Both will work normally.//76 += Communication Modes = 82 82 78 +Using the LSS Adapter Board is fairly simple and user-friendly. The configuration switch on the board allows the user to select one of the following five communication methods. A communication mode is chosen by sliding the switch to the desired position on the board. For example, for USB communication, slide the switch towards the XT60 connector until it is in place next to "USB". The two XBEE to USB jumpers do NOT need to be in place in any communication mode except "USB Explorer". The intended uses include: 79 + 80 +* Mini USB (ex: computer, laptop, Raspberry Pi) 81 +* Arduino microcontroller with shield compatibility (ex. Arduino Uno) 82 +* TTL UART Microcontroller or FPGA control (5V) via Tx, Rx, GND pins 83 +* Wireless module with XBee footprint (Bluetooth Bee, WiFi Bee etc.) 84 + 83 83 |(% colspan="2" style="width:300px" %)((( 84 84 == Arduino == 85 85 ))) 86 86 |(% style="width:300px" %){{lightbox image="LSS-ADAPTER-Arduino.png"/}}|((( 87 - To use the LSS AdapterBoard withan Arduino Board, the switch should be on**position 1**.89 +**Serial** 88 88 89 -This configuration allows cont rollingLSS actuators from an Arduino Board and can be used to build autonomous or semi-autonomous robots.91 +To use the LSS Adapter Board with an Arduino Board, the switch should be in place next to "Arduino", between the "XBee" and "USB" positions. This configuration allows communication with the LSS actuators from an Arduino Board and can be used to build autonomous or semi-autonomous robots. When "Arduino" is selected on the communication switch: 90 90 91 -When Arduino (position 1) is selected on the communication switch, the Arduino Rx (digital 0) is connected to the LSS actuator's Tx and Arduino Tx (digital 1) is connected to the LSS actuator's Rx. This way, the Arduino communicates with the LSS actuator through the LSS Adapter Board. 93 +* Arduino's Rx (digital 0) <-> LSS actuator's Tx pin 94 +* Arduino Tx (digital 1) <-> LSS actuator's Rx pin 92 92 93 -By default, the Arduino is powered through the LSS Adapter Board, if the Arduino is powered separately, cut the solder jumper "Vin cut" on the bottom of the LSS Adapter Board. 96 +This way, the Arduino communicates with the LSS actuator through the LSS Adapter Board. Note that the Arduino's GND pins are all connected to the LSS Adapter's GND. The XBEE-USB jumpers do NOT need to be in place. 97 + 98 +**Software Serial** 99 + 100 +Digital pins 8 and 9 are also connected on the board in order to use [[software serial>>https://www.arduino.cc/en/Reference/SoftwareSerial]]. This allows the Arduino to communicate with both the LSS servos which are connected to the LSS adapter, as well as an external module connected to the Bee socket. Should no Bee module be connected, the software serial pins can still be used when the switch is placed in XBee mode. 101 + 102 +* XBee Tx <-> D9 <-> LSS Rx 103 +* XBEE Rx <-> D8 <-> LSS Tx 94 94 ))) 95 95 |(% style="width:300px" %){{lightbox image="LSS-ADAPTER-ARDUINO-Exploded.png"/}}|((( 96 - The LSS Adapter is shield compatible. Therefore itcan be stacked on top of an Arduino Board usingthe included Arduino stacking headers or male-to-male stacking pins.106 +**Stacking** 97 97 98 -The stack ingheadersusedare :108 +The LSS Adapter is Arduino shield compatible, and additional shields can be stacked on top of the adapter. The pin connections are as follows: 99 99 100 -3 x 6 positions 0.1" (2.54mm) pitch 16mm (or higher) contact length header receptacle connectors. 110 +* D0 <-> LSS Tx (switch in Arduino or XBee modes) 111 +* D1 <-> LSS Rx (switch in Arduino or XBee modes) 112 +* D8 <-> LSS Tx (switch in XBee mode) 113 +* D9 <-> LSS Rx (switch in XBee mode) 114 +* V <-> VCC 115 +* G / GND <-> GND 116 +* D2, D3, D4, D5, D6, D7, D10, D11, D12, D13, AREF, SDA, SCL: Pass through only 117 +* A0, A1, A2, A3, A4, A5, 5V, 3.3V, RST, IOREF: Pass-through only 101 101 102 - 1x8 positions 0.1" (2.54mm) pitch 16mm (or higher) contact length headerreceptacle connectors.119 +The male to female (M/F) stacking headers suggested are 0.1" (2.54mm) pitch, 16mm male (or higher) contact length + female header (1x 6 pin, 2x 8 pin, 1x 10 pin). If no additional shields are stacked on top of the adapter, M/M headers can be used. 103 103 ))) 104 104 |(% colspan="2" style="width:300px" %)((( 105 -== RaspberryPi==122 +== USB == 106 106 ))) 107 107 |(% style="width:300px" %){{lightbox image="LSS-ADAPTER-USB.png"/}}|((( 108 - Touse the LSS Adapter Boardwith an XBee Module, the switchshould be on **position2**.125 +(1) Switch to USB 109 109 110 - Thisconfigurationallowscontrolling LSS actuators wirelesslywithanXBee/BluetoothBee/Wifi Bee module.127 +(2) Mini USB connected to a USB host device 111 111 112 - WhenXBee(position2)is selected on the communication switch, theXBeeRx is connected to the LSS actuator'stheXBeeTxis way, the Beemodule communicates directlywiththeLSS actuator throughtheadapter.129 +To use the LSS Adapter Board with a standard computer, laptop or Raspberry Pi through USB, the switch should be set to "USB" mode. This configuration allows communication with the LSS actuators by sending serial commands from a USB host device via the FTDI chip. When USB is selected on the communication switch, the FTDI Rx is connected to the LSS actuator's Tx and FTDI Tx is connected to the LSS actuator's Rx. The XBEE-USB jumpers do NOT need to be in place. 113 113 114 -Plus, when the configuration switch is on **position 2**, the LSS Tx is connected to the Arduino pin 8 and the LSS Rx is connected to the Arduino pin 9 allowing to use [[Software Serial>>https://www.arduino.cc/en/Reference/SoftwareSerial]] 131 +As such, the LSS Adapter is indirectly compatible with a Raspberry Pi using the USB connector. The switch needs to be set to USB mode, and the Mini USB connected to one of the Raspberry Pi's USB ports. 132 + 133 +(% class="wikigeneratedid" id="HUSBtoSerialDrivers" %) 134 +**FTDI USB to Serial Drivers** 135 + 136 +The LSS Adapter uses the FT232RL FTDI chip to convert USB to UART. Most operating systems will automatically detect the FTDI chip and install the correct VCP drivers. In case this is not done automatically, VCP drivers for the FT232RL chip can be downloaded through [[this link>>url:http://www.ftdichip.com/Drivers/VCP.htm||style="background-color: rgb(255, 255, 255);"]] (choose the VCP driver which corresponds to your operating system). 115 115 ))) 116 -|(% style="width:300px" %){{lightbox image="LSS-ADAPTER-PI-Exploded.png"/}}| 138 +|(% style="width:300px" %){{lightbox image="LSS-ADAPTER-PI-Exploded.png"/}}|((( 139 +**Raspberry Pi & Power** 140 + 141 +The LSS Adapter's onboard 5V regulator does not provide enough current to power a Raspberry Pi and as such it is recommended that a Raspberry Pi be powered separately using an appropriate 5V, 2A+ USB wall adapter or 5V voltage adapter (for example a 5V portable phone charger). Note that most 5V wall adapters and portable phone chargers cannot provide sufficient current to power both a Raspberry Pi and several servos. 142 + 143 +**Mounting** 144 + 145 +The four mounting holes on the LSS adapter line up with the mounting holes of a Raspberry Pi 2 or 3, though it is important to note that the hole diameter of the mounting holes on a Raspberry Pi are 2.5mm, whereas the mounting hole diameter on the LSS Adapter is 3mm. As such, the standard M3 standoffs and screws which are part of the Lynxmotion SES V2 system cannot be used. Standoffs must be sufficiently high in order to clear all pins of the Raspberry Pi. 146 +))) 117 117 |(% colspan="2" style="width:300px" %)((( 118 -== XBee & Compatibles==148 +== XBee == 119 119 ))) 120 120 |(% style="width:300px" %){{lightbox image="LSS-ADAPTER-XBee.png"/}}|((( 121 - 151 +(1) Bee socket compatible wireless module 152 + 153 +(2) Switch set to XBee mode 154 + 155 +**Bee Wireless Module** 156 + 157 +Although the LSS Adapter has no onboard programmable microcontroller, semi-autonomous / wirelessly controlled robots can be created where an external device like a computer, laptop, tablet or microcontroller sends and receives appropriate commands. The external device needs to be equipped with an appropriate wireless device which is capable of sending signals wirelessly to the adapter via a Bee compatible wireless module. When connecting the module, ensure the orientation matches that on the screen. The XBEE-USB jumpers do NOT need to be in place. 158 + 159 +**Bee Wireless Module + Arduino** 160 + 161 +Digital pins 8 and 9 of a shield-compatible Arduino are also connected on the board in order to use software serial. This allows an Arduino to communicate with both the LSS servos (which are connected to the LSS adapter) as well as an external module connected to the Bee socket. Should no Bee module be connected, the software serial pins can still be used when the switch is placed in XBee mode. 162 + 163 +* XBee Tx <-> D9 <-> LSS Rx 164 +* XBEE Rx <-> D8 <-> LSS Tx 122 122 ))) 123 -|(% colspan="2" style="width:300px" %)((( 124 -== XBee Explorer == 125 -))) 126 126 |(% style="width:300px" %){{lightbox image="LSS-ADAPTER-XBee-Explorer.png"/}}|((( 127 - TheXBeeRx pin and Tx pinsare connectedtothe Arduino'spin 8and 9 respectively. Therefore,the LSS AdapterBoard can bealso usedas a USB XBee explorer board to configure the XBeemodulethrough USB. To use the LSS Adapter Board as a USB XBee explorer :167 +(1) Bee socket compatible wireless module 128 128 129 -* Stack the XBee module on the XBee socket on top of the LSS Adapter. 130 -* Select the USB configuration by turning the switch in **position 3** 131 -* Connect the Arduino pin 8 (XBee Rx) to the LSS Servo Rx pin 132 -* Connect the Arduino pin 9 (XBee Tx) to the LSS Servo Tx pin 133 -))) 134 -|(% colspan="2" style="width:300px" %)((( 135 -== USB Devices == 136 -))) 137 -|(% style="width:350px" %){{lightbox image="LSS-ADAPTER-USB.png"/}}|((( 138 -To use the LSS Adapter Board with a Raspberry Pi or a standard computer / laptop through USB, the switch should be on **position 3**. 169 +(2) Switch set to USB mode 139 139 140 -This configuration allows controlling LSS actuators by sending serial commands from a computer or a Raspberry Pi via USB. 141 -When USB (position 3) is selected on the communication switch, the FTDI Rx is connected to the LSS actuator's Tx and FTDI Tx is connected to the LSS actuator's Rx. 171 +(3) Both XBee to USB jumpers in place 142 142 143 - Themounting holesfortheLSS Adapterare compatible with the Raspberry Pi 2 / 3.173 +**XBee Explorer** 144 144 145 - 146 - 175 +The XBee Rx pin and Tx pins are connected to the Arduino's digital pins 8 and 9 respectively. Therefore, the LSS Adapter Board can be also used as a USB XBee explorer board to communicate with and/or configure an XBee module via the FTDI chip. Note that this is the only mode where the XBEE to USB jumpers should be in place. All LSS servos are on the same bus and will receive the same communications taking place between the USB host and XBee module, therefore it is suggested to unplug all other devices (including servos) in this mode. 147 147 ))) 148 148 149 149 = Dimensions = 150 150 151 -|(% style="width:350px" %){{lightbox image="LSS-ADAPTER-Dimensions.png"/}}| 180 +|(% style="width:350px" %){{lightbox image="LSS-ADAPTER-Dimensions.png"/}}|((( 181 +The PCB measures 64mm x 64mm square (not including connectors, USB and XT60 which protrude from three sides), and the four 3mm diameter mounting holes are located at 49mm x 58mm. Note that although these holes line up with the mounting holes of a Raspberry Pi 2 or 3, the Raspberry Pi's mounting holes are 2.5mm in diameter. 182 + 183 +The low profile female headers extend 7.4mm below the board, and the tallest component on top of the board protrudes 5.22mm. 184 +)))