odroid-c4:hardware:expansion_connectors

Expansion Connectors

The ODROID-C4 provides 40-pin dual row expansion header “J2”.
The location and pinout of these connectors are illustrated below. (Board Revision 1.0 : 2020/01/29)
All signals on the expansion headers are 3.3V except for the analog input signal.

Default Pin State GPIO & Export No Net Name Pin Number Pin Number Net Name GPIO & Export No Default Pin State
- - 3.3V 1 2 5.0V - -
I(P/D) GPIOX.17 (#493) I2C0_SDA 3 4 5.0V - -
I(P/U) GPIOX.18 (#494) I2C0_SCL 5 6 GND - -
I(P/D) GPIOX.5 (#481) PWM_C 7 8 TXD1 GPIOX.12 (#488) I(P/U)
- - GND 9 10 RXD1 GPIOX.13 (#489) I(P/U)
I(P/U) GPIOX.3 (#479) PWM_D 11 12 PWM_E GPIOX.16 (#492) I(P/U)
I(P/U) GPIOX.4 (#480) 13 14 GND - -
I(P/U) GPIOX.7 (#483) PWM_F 15 16 GPIOX.0 (#476) I(P/U)
- - 3.3V 17 18 GPIOX.1 (#477) I(P/U)
I(P/U) GPIOX.8 (#484) SPI0_MOSI 19 20 GND - -
I(P/U) GPIOX.9 (#485) SPI0_MISO 21 22 GPIOX.2 (#478) I(P/U)
I(P/U) GPIOX.11 (#487) SPI0_SCLK 23 24 SPI0_CS0 GPIOX.10 (#486) I(P/U)
- - GND 25 26 SPI0_CS1 GPIOH.6 (#433) I(P/D)
I(P/U) GPIOA.14 (#474) I2C1_SDA 27 28 I2C1_SCL GPIOA.15 (#475) I(P/U)
I(P/U) GPIOX.14 (#490) 29 30 GND - -
I(P/U) GPIOX.15 (#491) 31 32 GPIOH.7 (#434) I(P/D)
I(P/U) GPIOX.6 (#482) PWM_A 33 34 GND - -
I(P/D) GPIOX.19 (#495) PWM_B 35 36 GPIOH.5 (#432) -
ADC.AIN2 37 38 REF 1.8V
- - GND 39 40 ADC.AIN0

GPIO Map for WiringPi Library

GPIO WiringPi Name Mode Initial Level Header Pin Header Pin Initial Level Mode Name WiringPi GPIO
3.3V 1 2 5v
493 8 I2C.SDA0 IN 1 3 4 5v
494 9 I2C.SCL0 IN 1 5 6 GND
481 7 GPIO.481 IN 1 7 8 1 IN TxD1 15 488
GND 9 10 1 IN TxR1 16 489
479 0 GPIO.479 IN 1 11 12 1 IN GPIO.492 1 492
480 2 GPIO.480 IN 1 13 14 GND
483 3 GPIO.483 IN 1 15 16 1 IN GPIO.476 4 476
3.3v 17 18 1 IN GPIO.477 5 477
484 12 SPIO_MOSI IN 1 19 20 GND
485 13 SPIO_MISO IN 1 21 22 1 IN GPIO.478 6 478
487 14 SPI_CLK IN 1 23 24 1 IN SPI_CE0 10 486
GND 25 26 1 IN GPIO.433 11 433
474 30 I2C.SDA1 IN 1 27 28 1 IN I2C_.SCL1 31 475
490 21 GPIO.490 IN 1 29 30 GND
491 22 GPIO.491 IN 1 31 32 0 IN GPIO.434 26 434
482 23 GPIO.482 IN 0 33 34 GND
495 24 GPIO.495 IN 0 35 36 1 OUT GPIO.432 27 432
25 AIN.2 37 38 1.8V 28
GND 39 40 AIN.0 29

Note that I2C-1(Pin 27/28) is shared with add-on board RTC chip PCF8563.
So the GPIO feature on Pin 27/28 is disabled by default until you change Device Tree file.

GPIO Name Alternative Mode V PU/PD PIN
- GND - - - - 1
506 GPIOAO.10 SPDIF Output OUT 0 P/U 2
- 5.0V - - - 3
505 GPIOAO.9 I2S MCLK OUT 0 P/U 4
503 GPIOAO.7 I2S LRCLK OUT 0 P/U 5
504 GPIOAO.8 I2S SCLK OUT 0 P/U 6
500 GPIOAO.4 I2S Data Output OUT 0 P/U 7

Two 5V / 3.3V Power Out ports each in 40 Pin expansion connectors. 5V Out is pin number 2 and 4 and 3.3V Out is pin number 1 and 17.
They each be connected to the DC-DC converter directly.
Measured at 5V(U25) and 3.3V(U27) DC-DC out on the board how much the power consumption they used during the OS Ubuntu Mate / Android is booting, idle, and until power off.

Measurement tools could be missed the peak current and varied depending on how you operate it. so, this measurement value is NOT 100% sure.
Please note that the value is just for reference to use power usage of expansion connectors.

* Measurement environment

  • Peak(Max) Current measure by Digital multi-meter
    • Ubuntu Mate : 0.102A
    • Android : 0.099A
  • Peak(Max) Current measure by Digital multi-meter
    • Ubuntu Mate : 0.299A
    • Android : 0.303A
  • Power consumption measured by Smart power 3 ( It is calculated to Ampare at peak)
    • Ubuntu Mate : Roughly 0.3A
    • Android : Roughly 0.3A


There is C4 Power Hierarchy on page 4 in the schematics that you could see the whole power structure and roughly guess power consumption.
The first revision of C4 has been released with 5V/3A output( U25 DC-DC in the schematics ). but shortly afterward, because of a shortage of material, it has replaced with 5V/2A.
Refer to the C4 PCB revision history.

5V/3.3V power seems not to be much consumed by the above environment.
The 12V/2A(24 watts) Main power consumes roughly 3.5 watts for the whole C4 components. It could be ignored in order to derive the result since their DC-DCs are 10 watts for 5V and 6.6 watts for 3.3V.

If you want to use a 5V/3.3V power source via an expansion pin, the measurement could say ( without anything connected & installed any apps on the ODROID-C4 that is the above environment )

  • Theoretically calculated 5V out in the expansion pin is :
    It has 5V/2A 10W DC-DC. With the above environment, the 5V expansion pin has room to supply power 9.5W. It could be supplied a current 1.9A via the 5V expansion pin with NOT anything connected at the pins.
  • 3.3V out in the expansion pin is :
    It has 3.3V/2A 6.6W DC-DC. With the above environment, the 3.3V output pin has room to supply power 5.6W. It could be supplied a current 1.69A via the 3.3V expansion pin with NOT anything connected at the pins.

But, there is something we have to consider the PCB routing length and width, the wire's length and its followed impedance and inductance, etc…
so, have done an experiment to connect the loader machine to check how much the current can supply to the external via expansion pins 5V and 3.3V.

  • 5V out in the expansion pin : Pin 2 and 4 are connected simultaneously to 5V Power and pin 6 to the Ground.
    When 1.5A load is loading on the pins by the loader machine, it dropped from 5.2V to 4.9V. The load could be increased a bit more. but it is not worth it.
  • 3.3V out in the expansion pin : Pin 1 and 17 are connected simultaneously to 3.3V Power and pin 6 to the Ground.
    When 1A load is loading on the pins by the loader machine, it dropped from 3.29V to 3.01V.
    When 0.6A load is loading on the pins by the loader machine, it dropped from 3.29V to 3.14V. The 0.6A load is inside the 5% margin.


But adding utilities or apps is able to make it have higher power consumption than your thought.

We can NOT guarantee how much power supply via the 5V / 3.3V in the expansion pin. It really depends on your use case of C4.
For example, It depends on how many USB devices are connected which consume 5V current, or how many processes running which could be consumed 3.3V current or something,
There are so many unexpected situations on their power consumption.

  • odroid-c4/hardware/expansion_connectors.txt
  • Last modified: 2023/06/27 17:11
  • by steve.jeong