Pins and Connectors: Difference between revisions

From STorM32-BGC Wiki
Jump to navigation Jump to search
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
This page provides diagrams of the many connections on the STorM32 boards.
This page provides diagrams of the many connections on the STorM32 boards.


The STorM32 connections are grouped into '''''ports'''''. A port consists typically of one or more '''''pins''''', a Gnd pin and possibly a 3.3 V or 5 V pin. The pins of a port are labeled by the port name plus a number (e.g. AUX-0 refers to the pin 0 on the {{BOX|AUX}} port) or by its commonly known function (such as Gnd, 3.3 V, Tx, Rx, SCL, SDA etc.). Some pins can serve multiple purposes, e.g., pin RC-0 serves also as Futaba S-BUS input or as UARTX-Rx.
The STorM32 connections are grouped into '''''ports'''''. A port consists typically of one or more '''''pins''''', a Gnd pin and possibly a 3.3 V or 5 V pin. The pins of a port are labeled by the port name plus a number (e.g. AUX-0 refers to the pin 0 on the {{BOX|AUX}} port) or by its commonly known function (such as Gnd, 3.3 V, Tx, Rx, SCL, SDA etc.). Some pins can serve multiple purposes, e.g., pin RC-0 can serve also as Futaba S-Bus input, as CRSF input or as UARTX-Rx.


For a general description of the ports and pins see [[Ports and Pins by Function]]. For the details of their function and usage please consult the other wiki pages.
For a general description of the ports and pins see [[Ports and Pins by Function]]. For the details of their function and usage please consult the other wiki pages.


Except of the ports {{BOX|POT}}, {{BOX|BUT}} and {{BOX|ESP/UART2}} all ports are 5 V tolerant, which means that you can apply signals with voltages of up to 5 V to their pins without damaging the board. The ports {{BOX|POT}}, {{BOX|BUT}} and {{BOX|ESP/UART2}} are however '''''not''''' 5 V tolerant. '''''{{WARNING|The voltage on the {{BOX|POT}}, {{BOX|BUT}} and {{BOX|ESP/UART2}} pins must not exceed 3.3 V}}'''''.  
Except of the ports {{BOX|POT}}, {{BOX|BUT}} and {{BOX|UART2/ESP}} all ports are 5 V tolerant, which means that you can apply signals with voltages of up to 5 V to their pins without damaging the board. The ports {{BOX|POT}}, {{BOX|BUT}} and {{BOX|UART2/ESP}} are however '''''not''''' 5 V tolerant. '''''{{WARNING|The voltage on the {{BOX|POT}}, {{BOX|BUT}} and {{BOX|UART2/ESP}} pins must not exceed 3.3 V}}'''''.  


The 3.3 V and 5 V pins must only be used as supply. '''''{{WARNING|Never apply any voltage to a 3.3 V or 5 V pin}}''''' (unless you're an expert and know what you do).
The 3.3 V and 5 V pins must only be used as supply. '''''{{WARNING|Never apply any voltage to a 3.3 V or 5 V pin}}''''' (unless you're an expert and know what you do).


==== Comment on Serial UART Ports ====
<div class="toclimit-2">__TOC__</div>


The naming of the STorM32's serial ports can be confusing. The general rule is that the STorM32's serial ports are named {{BOX|USB}}, {{BOX|UART}}, {{BOX|UART2}}, and {{BOX|UARTX}} (accessible in the GUI as {{PARAMVALUE|usb}}, {{PARAMVALUE|uart}}, {{PARAMVALUE|uart2}}, and {{PARAMVALUE|uartx}}). These must not be confused with the STM32's peripherals UART1, UART3, and so on.
== STorM32 v4.1 Board ==


* All STorM32 boards provide the {{BOX|UART}} port.
The STorM32 v4.1 main board provides two types of NT bus ports, the {{BOX|NT}} and {{BOX|NT-X}} ports. They both are '''''different''''' from the NT bus connectors found on the NT modules in as much as they have swapped Rx, Tx pins.  


* The STorM32 v3.x boards do provide a port labeled UART1, which is indeed the STM32 UART1 peripheral, and can be used for flashing firmware. In the STorM32 firmware it is however the {{BOX|USB}} port (accessible in the GUI as {{PARAMVALUE|usb}}). On the STorM32 v1.x boards the STM32 UART1 peripheral is available on the STorM32 {{BOX|RC}} port, pins RC-0 and RC-1. On these boards the {{BOX|USB}} port is then indeed the physical USB connector.
{{COMMENT|The Rx, Tx pins of the {{BOX|NT}} and {{BOX|NT-X}} ports on the STorM32 board must be connected to the Tx, Rx pins on the NT modules.}}


* On the STorM32 v3.x boards the {{BOX|UART2}} port is either explicitly available, or available via the {{BOX|ESP}} port. The v1.x boards do not offer this port at all (the GUI setting {{PARAMVALUE|uart2}} has then no effect).
On the bottom side of the board is located the JP1 solder bridge (not visible in the picture below). When closed: The motor drivers are connected to VBat and are powered, and can be used. The voltage shall then not exceed 12 V or 3S. When open: The motor drivers are disabled and non-functional, and the voltage can be up to 27 V or 6S.  


* On all STorM32 boards the {{BOX|UARTX}} port is available on the {{BOX|RC}} port, pins RC-0 and RC-1 (accessible in the GUI as {{PARAMVALUE|uartx}}). For the v1.x board it is however indicated in the picture below as UART1 (the STM32 peripheral it is connected to).
:[[File:Storm32-bgc-nt-v41-ports-and-connections.jpg|720px]]


This mess is certainly unfortunate, but reflects the efforts to continually increase the capabilities and satisfy user demands while keeping some backwards compatibility.
{{COMMENT|The board shown in the picture is a pre-release version.}}


<div class="toclimit-2">__TOC__</div>
== STorM32 v3.3 Board ==
 
== STorM32 v3.x Boards ==


The STorM32 v3.3 main board provides two types of NT bus ports, the {{BOX|NT}} and {{BOX|NT-X}} ports. They both are '''''different''''' from the NT bus connectors found on the NT modules in as much as they have swapped Rx, Tx pins.  
The STorM32 v3.3 main board provides two types of NT bus ports, the {{BOX|NT}} and {{BOX|NT-X}} ports. They both are '''''different''''' from the NT bus connectors found on the NT modules in as much as they have swapped Rx, Tx pins.  
Line 31: Line 29:
{{COMMENT|The Rx, Tx pins of the {{BOX|NT}} and {{BOX|NT-X}} ports on the STorM32 board must be connected to the Tx, Rx pins on the NT modules.}}
{{COMMENT|The Rx, Tx pins of the {{BOX|NT}} and {{BOX|NT-X}} ports on the STorM32 board must be connected to the Tx, Rx pins on the NT modules.}}


{{COMMENT|The v3.x STorM32 board has '''no''' motor drivers on-board, i.e., NT motor modules are needed in addition.}}
{{COMMENT|The v3.3 STorM32 boards have '''no''' motor drivers on-board, i.e., NT motor modules are needed in addition.}}


{{COMMENT|The {{BOX|CAN}} port is obsolete.}}
{{COMMENT|The {{BOX|CAN}} port is obsolete, and not supported anymore since firmware v2.57e.}}


:[[File:Storm32-bgc-nt-v33-ports-and-connections.jpg|720px]]
:[[File:Storm32-bgc-nt-v33-ports-and-connections.jpg|720px]]


== Micro STorM32 v3.x Boards ==
== Micro STorM32 v3.3 Board ==


The v3.3i Micro STorM32 board provides the same connections as the v3.3 Board (with the exception of the {{BOX|USB}} port), but exposes them as solder pads.
The v3.3i Micro STorM32 board provides the same connections as the v3.3 Board (with the exception of the {{BOX|USB}} port), but exposes them as solder pads.
Line 43: Line 41:
The Micro STorM32 board is designed to be stackable with other extension boards, such as USB, power, motor, logger boards, see e.g. the rcgroups post [https://www.rcgroups.com/forums/showpost.php?p=43237597&postcount=11716 here].
The Micro STorM32 board is designed to be stackable with other extension boards, such as USB, power, motor, logger boards, see e.g. the rcgroups post [https://www.rcgroups.com/forums/showpost.php?p=43237597&postcount=11716 here].


{{COMMENT|The v3.x Micro STorM32 board has '''no''' motor drivers on-board, i.e., NT motor modules are needed in addition.}}
{{COMMENT|The v3.3 Micro STorM32 board has '''no''' motor drivers on-board, i.e., NT motor modules are needed in addition.}}


:[[File:Storm32-bgc-micro-v33-ports-and-connections.jpg|720px]]
:[[File:Storm32-bgc-micro-v33-ports-and-connections.jpg|720px]]


== STorM32 RaspberryPi Hat v3.x ==
== STorM32 RaspberryPi Hat v3.3 ==


The v3.3i STorM32 RaspberryPi Hat provides the same connections as the Micro STorM32 v3.3 board, but in RaspberryPi micro-Hat form factor. The hat is designed to be compatible with the extension boards of the Micro STorM32 series. In addition it provides an EEPROM as required by the RaspberryPi Hat specification (not populated in the picture). Furthermore it provides a dual UART expansion module, and some more connections with the RaspberryPi GPIOs.
The v3.3i STorM32 RaspberryPi Hat provides the same connections as the Micro STorM32 v3.3 board, but in RaspberryPi micro-Hat form factor. The hat is designed to be compatible with the extension boards of the Micro STorM32 series. In addition it provides an EEPROM as required by the RaspberryPi Hat specification (not populated in the picture). Furthermore it provides a dual UART expansion module, and some more connections with the RaspberryPi GPIOs.
Line 63: Line 61:
{{COMMENT|If starting from a "classic" (non-NT) STorM32 gimbal kit with an I2C IMU module, it is usually necessary to rewire existing cables to match the pinout of the NT bus.}}
{{COMMENT|If starting from a "classic" (non-NT) STorM32 gimbal kit with an I2C IMU module, it is usually necessary to rewire existing cables to match the pinout of the NT bus.}}


{{COMMENT|v1.1 and v1.2 boards are deprecated and not supported anymore.}}  
{{COMMENT|v1.1 and v1.2 boards are deprecated and not supported anymore. The v1.2 board run the firmware for the v1.3x board, with only few caveats.}}  


:[[File:Storm32-bgc-v13-ports-and-connections.jpg|540px]]
:[[File:Storm32-bgc-v13-ports-and-connections.jpg|540px]]
<!--:[[File:NT_Pinout.jpg|480px]]-->
<!--:[[File:NT_Pinout.jpg|480px]]-->
 
<!--
== Ensys STorM32 v3.3 Board ==
== Ensys STorM32 v3.3 Board ==


Line 80: Line 78:
{{COMMENT|The CC3D cannot be used anymore with the latest firmwares. This is obviously so because the feature set has grown enormously taking up too much flash space. The v3.3 board should be an excellent alternative.}}  
{{COMMENT|The CC3D cannot be used anymore with the latest firmwares. This is obviously so because the feature set has grown enormously taking up too much flash space. The v3.3 board should be an excellent alternative.}}  


:[[File:Storm32-bgc-nt-cc3d-pinout.jpg|680px]]
:[[File:Storm32-bgc-nt-cc3d-pinout.jpg|680px]]-->

Latest revision as of 10:41, 20 January 2024

This page provides diagrams of the many connections on the STorM32 boards.

The STorM32 connections are grouped into ports. A port consists typically of one or more pins, a Gnd pin and possibly a 3.3 V or 5 V pin. The pins of a port are labeled by the port name plus a number (e.g. AUX-0 refers to the pin 0 on the AUX port) or by its commonly known function (such as Gnd, 3.3 V, Tx, Rx, SCL, SDA etc.). Some pins can serve multiple purposes, e.g., pin RC-0 can serve also as Futaba S-Bus input, as CRSF input or as UARTX-Rx.

For a general description of the ports and pins see Ports and Pins by Function. For the details of their function and usage please consult the other wiki pages.

Except of the ports POT, BUT and UART2/ESP all ports are 5 V tolerant, which means that you can apply signals with voltages of up to 5 V to their pins without damaging the board. The ports POT, BUT and UART2/ESP are however not 5 V tolerant. The voltage on the POT, BUT and UART2/ESP pins must not exceed 3.3 V.

The 3.3 V and 5 V pins must only be used as supply. Never apply any voltage to a 3.3 V or 5 V pin (unless you're an expert and know what you do).

STorM32 v4.1 Board

The STorM32 v4.1 main board provides two types of NT bus ports, the NT and NT-X ports. They both are different from the NT bus connectors found on the NT modules in as much as they have swapped Rx, Tx pins.

Comment: The Rx, Tx pins of the NT and NT-X ports on the STorM32 board must be connected to the Tx, Rx pins on the NT modules.

On the bottom side of the board is located the JP1 solder bridge (not visible in the picture below). When closed: The motor drivers are connected to VBat and are powered, and can be used. The voltage shall then not exceed 12 V or 3S. When open: The motor drivers are disabled and non-functional, and the voltage can be up to 27 V or 6S.

Storm32-bgc-nt-v41-ports-and-connections.jpg

Comment: The board shown in the picture is a pre-release version.

STorM32 v3.3 Board

The STorM32 v3.3 main board provides two types of NT bus ports, the NT and NT-X ports. They both are different from the NT bus connectors found on the NT modules in as much as they have swapped Rx, Tx pins.

Comment: The Rx, Tx pins of the NT and NT-X ports on the STorM32 board must be connected to the Tx, Rx pins on the NT modules.

Comment: The v3.3 STorM32 boards have no motor drivers on-board, i.e., NT motor modules are needed in addition.

Comment: The CAN port is obsolete, and not supported anymore since firmware v2.57e.

Storm32-bgc-nt-v33-ports-and-connections.jpg

Micro STorM32 v3.3 Board

The v3.3i Micro STorM32 board provides the same connections as the v3.3 Board (with the exception of the USB port), but exposes them as solder pads.

The Micro STorM32 board is designed to be stackable with other extension boards, such as USB, power, motor, logger boards, see e.g. the rcgroups post here.

Comment: The v3.3 Micro STorM32 board has no motor drivers on-board, i.e., NT motor modules are needed in addition.

Storm32-bgc-micro-v33-ports-and-connections.jpg

STorM32 RaspberryPi Hat v3.3

The v3.3i STorM32 RaspberryPi Hat provides the same connections as the Micro STorM32 v3.3 board, but in RaspberryPi micro-Hat form factor. The hat is designed to be compatible with the extension boards of the Micro STorM32 series. In addition it provides an EEPROM as required by the RaspberryPi Hat specification (not populated in the picture). Furthermore it provides a dual UART expansion module, and some more connections with the RaspberryPi GPIOs.

Storm32-rpihat-v33i-ports-and-connections.jpg

STorM32 v1.x Boards

On STorM32 v1.3x main boards, the I2C plug is used as NT bus connector, with the pin assignment as shown below.

The scheme below refers to a v1.3 board. The pins of the v1.31 board are identical to that of the v1.3 board.

Comment: The Rx and Tx pins on the STorM32 board must be connected to the Tx and Rx pins on the NT modules. This needs a "crossing" of the Rx, Tx lines for the v1.x boards, see also the diagram in What is STorM32 NT about?

Comment: If starting from a "classic" (non-NT) STorM32 gimbal kit with an I2C IMU module, it is usually necessary to rewire existing cables to match the pinout of the NT bus.

Comment: v1.1 and v1.2 boards are deprecated and not supported anymore. The v1.2 board run the firmware for the v1.3x board, with only few caveats.

Storm32-bgc-v13-ports-and-connections.jpg