Changes for page LSS-2MC Board

Last modified by Eric Nantel on 2023/05/29 07:33

From version < 80.1 >
edited by Eric Nantel
on 2022/11/02 07:21
To version < 80.2 >
edited by Eric Nantel
on 2022/11/02 07:26
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -35,30 +35,30 @@
35 35  
36 36  The complete schematic can be downloaded [[HERE>>attach:LSS 2MC Board V0.3.pdf]].
37 37  
38 -(% class="wikigeneratedid" %)
39 -= Protocol =
38 += Communication =
40 40  
41 41  Using the LSS-2MC with it's example code require the user to understand it's Protocol which is available [[HERE>>doc:.2mc-communication-protocol.WebHome]].
42 42  
43 43  **Internal Serial Connection**
44 44  
45 -In this mode, the board is effectively a "peripheral". In order to respond to LSS commands, it needs to be running appropriate code, or the default Lss2IO Arduino sample program. The pinout is as follows:
44 +The board is effectively a "peripheral". In order to respond to LSS commands, it needs to be running appropriate code, or the default Lss2MC Arduino sample program.
45 +Pinout is as follows:
46 46  
47 47  * ATMega328P's Tx pin (D1) is connected to the LSS Tx line through a [[tri-state buffer (IC3)>>https://en.wikipedia.org/wiki/Three-state_logic||rel="noopener noreferrer" target="_blank"]] that can be enabled or disabled with pin D14.
48 48  * ATMega328P's Rx pin (D0) is connected to the LSS Rx line.
49 49  
50 -Therefore data that is sent from an external UART device will be received on the LSS Rx line and the ATMega328P Rx pin. The LSS 2IO USB-to-Serial IC Tx is connected to the ATMega328P Rx (pin D0) through another [[tri-state buffer (IC4)>>https://en.wikipedia.org/wiki/Three-state_logic||rel="noopener noreferrer" target="_blank"]] that can be enabled/disabled with pin D7. The Lss2IO Arduino code inherently takes care of managing the pins D14 and D7 as follows :
50 +Therefore data that is sent from an external UART device will be received on the LSS Rx line and the ATMega328P Rx pin. The LSS-2MC USB-to-Serial IC Tx is connected to the ATMega328P Rx (pin D0) through another [[tri-state buffer (IC4)>>https://en.wikipedia.org/wiki/Three-state_logic||rel="noopener noreferrer" target="_blank"]] that can be enabled/disabled with pin D7. The Lss2MC Arduino code inherently takes care of managing the pins D14 and D7 as follows :
51 51  
52 -* **D7 **is LOW**: **to disconnect LSS 2IO USB-to-Serial IC Tx from ATMega328P Rx (pin D0) allowing the ATMega328P to receive data from the UART controller device as LSS 2IO USB-to-Serial IC Tx is HIGH when LSS 2IO is powered.
53 -* **D14** is HIGH**:** when the 2IO Board is sending data on the LSS Tx line to an external UART device Rx pin. LSS Tx line is asserted to the 2IO Tx pin :
52 +* **D7 **is LOW**: **to disconnect 2MC USB-to-Serial IC Tx from ATMega328P Rx (pin D0) allowing the ATMega328P to receive data from the UART controller device as 2MC USB-to-Serial IC Tx is HIGH when 2MC is powered.
53 +* **D14** is HIGH**:** when the 2MC Board is sending data on the LSS Tx line to an external UART device Rx pin. LSS Tx line is asserted to the 2MC Tx pin :
54 54  
55 -{{lightbox image="LSS-2IO-Schematic-2RC-D14HIGH.png" width="900"/}}
55 +{{lightbox image="https://wiki.lynxmotion.com/info/wiki/lynxmotion/download/servo-erector-set-system/ses-electronics/ses-modules/lss-2io-board/WebHome/LSS-2IO-Schematic-2RC-D14HIGH.png" width="900"/}}
56 56  
57 57  * **D14 **is LOW**:** when the 2IO Board is not sending data on the LSS Tx line. The 2IO frees up the LSS Tx line to avoid bus congestion (when 2 devices sends data at the same time) :
58 58  
59 -{{lightbox image="LSS-2IO-Schematic-2RC-D14LOW.png" width="900"/}}
59 +{{lightbox image="https://wiki.lynxmotion.com/info/wiki/lynxmotion/download/servo-erector-set-system/ses-electronics/ses-modules/lss-2io-board/WebHome/LSS-2IO-Schematic-2RC-D14LOW.png" width="900"/}}
60 60  
61 -{{warningBox warningText="**NOTE:** Double check that the Lss2IO Arduino program is loaded in the 2IO's ATMega328P to be able to use this mode"/}}
61 +{{warningBox warningText="**NOTE:** Double check that the Lss2MC Arduino program is loaded in the 2MCs ATMega328P to be able to use this mode"/}}
62 62  
63 63  
64 64  = Pinout =
Copyright RobotShop 2018