Ports and Pins by Function: Difference between revisions

From STorM32-BGC Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
The info on this page refers to v1.2 and v1.3 STorM32bgc boards.
The info on this page refers to v1.3 STorM32bgc boards. For v1.1 and v1.2 the small differences are given as comments.


This page gives a brief overview and description of the many connections on the STorM32bgc. For the details of their function and usage refer please to the other pages.
This page gives a brief overview and description of the many connections on the STorM32bgc. For the details of their function and usage refer please to the other pages.
Line 24: Line 24:


'''Function:''' Connector for an external 2nd MPU module, if this is to be used instead of the on-board MPU.
'''Function:''' Connector for an external 2nd MPU module, if this is to be used instead of the on-board MPU.
'''''Comment:''' On v1.1 boards the sequence of pins is reversed.''


== RC ==
== RC ==
Line 54: Line 56:
'''Function:''' These are general purpose pins. Currently they are used to connect up to three keys.
'''Function:''' These are general purpose pins. Currently they are used to connect up to three keys.


'''Comment:''' On v1.2 and earlier boards this port provides the pins Gnd, AUX-0, AUX-1, 3.3V
'''''Comment:''' On v1.2 and v1.1 boards this port exhibits a 3.3 V pin instead of AUX-2, i.e. the pins Gnd, AUX-0, AUX-1, 3.3V.''
 
== SPK ==
'''Pins:''' 3.3 V, Gnd, Signal
 
'''Function:''' Connector for a Spektrum satellite reciever.
 
'''''Comment:''' On v1.1 boards the connector itself is not available, but the function: connect the Spektrum's Signal line to the RC-0 pin.''


== IR ==
== IR ==
Line 70: Line 79:


'''Function:''' Connector for programming the microcontroller using a [http://www.st.com/web/en/catalog/tools/FM146/CL1984/SC724/SS1677/PF251168 ST-Link/V2] programming tool.
'''Function:''' Connector for programming the microcontroller using a [http://www.st.com/web/en/catalog/tools/FM146/CL1984/SC724/SS1677/PF251168 ST-Link/V2] programming tool.
'''''Comment:''' On v1.1 boards the labelling of the pins is incorrect.''

Revision as of 03:18, 3 June 2014

The info on this page refers to v1.3 STorM32bgc boards. For v1.1 and v1.2 the small differences are given as comments.

This page gives a brief overview and description of the many connections on the STorM32bgc. For the details of their function and usage refer please to the other pages.

The STorM32bgc connections are grouped into what shall be called ports. A port consists typically of one or more pins, a Gnd pin and possibly a 3.3V pin. The pins of a port are typically labelled by the port name plus a number (e.g. AUX-0 refers to the pin 0 on the AUX port) or, if relevant, by its commonly known function (such as Gnd, 3.3V, Tx, Rx, SCL, SDA etc.). Some pins serve multiple purposes (e.g. pin RC-0 serves as Futaba S-BUS input or UART1-Rx).

Except of the ports POT and BUT 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 and BUT are however not 5 V tolerant. The voltage on the POT and BUT pins must not exceed 3.3 V.

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

The following ports are available:

MOT0, MOT1, MOT2

Function: These ports are the connectors for the motors. The yaw motor has to be connected to MOT2.

I2C

Pins: Gnd, SCL, SDA, 3.3V

Function: Connector for the camera MPU module.

I2C#2

Pins: Gnd, SCL, SDA, 3.3V

Function: Connector for an external 2nd MPU module, if this is to be used instead of the on-board MPU.

Comment: On v1.1 boards the sequence of pins is reversed.

RC

Pins: Gnd, RC-0, RC-1, RC-2

Function:

RC2

Pins: Gnd, RC2-0, RC2-1, RC2-2, RC2-3

Function: Inputs for RC PWM signals. Typically RC receivers are connected to here. The input pulse lengths of 1 ms to 2 ms are converted to the value range -500 ... 500. The frequency of the input pulses can vary, and can be as high as 430 Hz.

POT

Pins: Gnd, POT-0, POT-1, POT-2, 3.3V

Function: These three pins are connected to the analog digital converter (ADC) of the microprocessor and hence can digest analog signals. The analog signal is converted to the value range -500...500. Typically the central pins of potentiometers of e.g. a joystick are connected to here; the hot and cold potentionmeter pins go then to the Gnd and 3.3V pins.

WARNING: Never apply signals with voltages larger than 3.3 V to any of these pins, this will destroy your board immediately!

BUT

Pins: Gnd, BUT-0

Function: This pin is actually also connected to the analog digital converter (ADC) of the microprocessor, but the analog signal are processed differently than those on the POT port. Currently this port is used to connect a key to it.

WARNING: Never apply signals with voltages larger than 3.3 V to any of these pins, this will destroy your board immediately!

AUX

Pins: Gnd, AUX-0, AUX-1, AUX-2

Function: These are general purpose pins. Currently they are used to connect up to three keys.

Comment: On v1.2 and v1.1 boards this port exhibits a 3.3 V pin instead of AUX-2, i.e. the pins Gnd, AUX-0, AUX-1, 3.3V.

SPK

Pins: 3.3 V, Gnd, Signal

Function: Connector for a Spektrum satellite reciever.

Comment: On v1.1 boards the connector itself is not available, but the function: connect the Spektrum's Signal line to the RC-0 pin.

IR

Pins: Gnd, IR-0

Function: Allows to connect an IR led to remote control a camera.

UART

Pins: Gnd, Rx, Tx

Function: Standard serial port to communicate with the board. The serial is set to 115200 bps, no parity bit, one stop bit. Details of the communication protocol can be found in the Technical Manual.

SWD

Pins: SWDIO, Gnd, SWCLK, 3.3V

Function: Connector for programming the microcontroller using a ST-Link/V2 programming tool.

Comment: On v1.1 boards the labelling of the pins is incorrect.