Skip to main content
This doc relates to the below revision of hardware
Mecha Logo

Comet (rev5)

For Pilot users

The all new Mecha Comet

Better in all ways, the next revision of Mecha Comet, coming soon.

Pin Diagram

The Mecha Comet device features a versatile General-Purpose Input/Output (GPIO) interface, allowing users to connect and control a wide range of peripherals, sensors, and communication modules. The GPIO pins support multiple protocols, including UART, I2C, SPI, ADC, USB and PWM, making it a flexible solution for embedded applications.

Below is the pin diagram illustrating the available connections on the Mecha Comet device:

mecha comet pin diagram

Pin Table

The following table provides a detailed breakdown of each pin's function and possible usage:

Pin NumberIODescription
15VPower supply (5V output).
2USB DMUSB Data Minus (D-) for USB communication.
3USB DPUSB Data Plus (D+) for USB communication.
4GNDGround connection.
5UART3_TXTransmit (TX) pin for UART3, used for serial communication.
6UART3_RXReceive (RX) pin for UART3, used for serial communication.
7GPIO2_IO12gpio (active low).
8I2C2_SCLClock (SCL) line for I2C2 communication bus.
9I2C2_SDAData (SDA) line for I2C2 communication bus.
103V3Power supply (3.3V output/input depending on the design).
11ADC1Analog-to-Digital Converter input channel 1.
12ADC2Analog-to-Digital Converter input channel 2.
13PWM1Pulse Width Modulation (PWM) output channel 1.
14DBG_TXDebug UART transmit pin, typically used for logging/debugging.
15DBG_RXDebug UART receive pin, typically used for logging/debugging.
16GPIO2_IO15gpio (active low).
17GPIO2_IO16gpio (active low).
18GPIO2_IO17gpio (active low).
19GPIO2_IO18gpio (active low).
20GPIO4_IO28gpio (active low).
213V3Power supply (3.3V output/input depending on the design).
22I2C4_SCLClock (SCL) line for I2C4 communication bus.
23I2C4_SDAData (SDA) line for I2C4 communication bus.
24GPIO2_IO20gpio (active low).
25UART4_RXReceive (RX) pin for UART4, used for serial communication.
26UART4_TXTransmit (TX) pin for UART4, used for serial communication.
27GNDGround connection.
28RTCReal-Time Clock input, typically used for battery backup or external clock signals.
29SOM_RSTSystem-on-Module reset signal (active low).
305VPower supply (5V output/input depending on the design).
31GPIO1_IO13gpio (active low).
32ESPI2_MOSISPI2 Master Out Slave In signal for SPI communication.
33ESPI2_MISOSPI2 Master In Slave Out signal for SPI communication.
34ESPI2_SCLKSPI2 clock signal for SPI communication.
35ESPI2_SS0SPI2 chip select signal (Slave Select 0).
36GPIO2_IO14gpio (active low).
37GPIO2_IO13gpio (active low).
38PWM2Pulse Width Modulation (PWM) output channel 2 (alternative pin).
39ADC3Analog-to-Digital Converter input channel 3.
40ADC4Analog-to-Digital Converter input channel 4.

Notes

  • Power Pins (5V & 3.3V): These provide power to external peripherals.
  • GND (Ground Pins): Must be used as a common reference point for electrical circuits.
  • UART (Universal Asynchronous Receiver-Transmitter): Used for serial communication.
  • I2C (Inter-Integrated Circuit): A common communication protocol for sensors and peripherals.
  • SPI (Serial Peripheral Interface): A high-speed serial communication protocol used for displays and storage devices.
  • GPIO (General Purpose Input/Output): Configurable digital input/output pins.
  • PWM (Pulse Width Modulation): Used to control brightness, motors, and servos.
  • ADC (Analog-to-Digital Converter): Converts analog signals (e.g., from sensors) into digital values.