2019-06-23 08:38:59 -07:00
# Connector Pinout
2021-02-13 07:05:58 -08:00
[Interactive Pinout ](https://rusefi.com/docs/pinouts/microrusefi/ )
2021-02-22 14:13:14 -08:00
## WARNING: for historical reasons microRusEFI pin numbers do not match Molex numbers on the plastic
2021-02-22 14:12:27 -08:00
2021-02-17 15:12:57 -08:00
![connector ](Hardware/microRusEFI/Hardware_microRusEFI_connector.png )
2019-08-03 12:16:51 -07:00
2021-02-17 15:22:49 -08:00
![microRusEFI photo ](Hardware/microRusEFI/Hardware_microRusEFI_connector.jpg )
2020-03-19 16:41:51 -07:00
2020-03-26 23:49:21 -07:00
Rear side of PCB
2021-02-17 15:22:49 -08:00
![microRusEFI image ](Hardware/microRusEFI/Hardware_microRusEFI_0_3_PCB_pinout.png )
2020-03-26 22:39:10 -07:00
2021-02-17 15:12:57 -08:00
![x ](Hardware/microRusEFI/microRusEFI_connectors/MRE_reality.jpg )
2020-08-28 19:26:39 -07:00
2020-03-12 16:00:03 -07:00
In some cases without "main relay output +12v" both pins #1 and #5 should be connected to the single source of +12v.
2020-05-21 11:55:09 -07:00
Pin #1 feeds ETB H-bridge, battery voltage sense, gp5 & gp6 high-side +12v, TLE8888 H-bridges.
2019-06-23 08:38:59 -07:00
# Pin Types
2021-02-17 14:50:11 -08:00
These tables provide technical information about the different types of pin found on microRusEFI.
2019-06-23 08:38:59 -07:00
## Power
| ID | Type | Notes & Limits |
|----|-------------| ---- |
| 12V | Power supply | 9-22V operating, 5A fuse recommended |
| pgnd | Power ground | Solidly ground directly to chassis or engine block. |
| sgnd | Signal ground | Sensor ground. ** *Do not ground to engine!***
| 5v | 5V sensor supply | 5V supply for external sensors. 200mA maximum per pin.
2020-05-25 09:18:34 -07:00
## Stepper
| Pin | Name | Notes & Limits |
|------|---------------------| ------------------------------------------------------------------------------------ |
2021-04-08 11:00:47 -07:00
| #33 | GP4 | Stepper Coil #2 |
| #34 | GP2 | Stepper Coil #1 |
| #35 | GP1 | Stepper Coil #1 |
| #43 | GP4 | Stepper Coil #2 |
2020-05-25 09:18:34 -07:00
2019-06-23 08:38:59 -07:00
## Input
| ID | Type | Notes & Limits | Possible functions |
|------|---------------------| ------------------------------------------------------------------------------------ | --- |
| at | Analog temperature | Analog temperature (thermistor) input. < mark > 2.7k/TBD< / mark > pullup resistor to 5v | Thermistor temperature sensor, fuel level sender (variable resistor type) |
| av | Analog voltage | Analog voltage input. 500k pull down to GND | Analog voltage sensor (MAP, TPS, acc pedal, oil pressure, etc)
| vr | Variable reluctor | VR crank input | VR sensors including crank, cam, vehicle speed
| hall | Hall cam/crank | < mark > TBD pull up to 5v< / mark > hall sensor for cam/crank | Hall sensors including crank, cam, vehicle speed
## Output
| ID | Type | Notes & Limits | Possible functions |
|----|-------------| ---- | --- |
| inj | Injector output | Low side, 2.2A maximum< br / > **Only saturated (high impedance) injectors are supported.** | Injector, general purpose low side |
| ign | Ignition output | 5V push-pull, 250mA maximum | Ignition coil, general purpose 5V push-pull
| ls | High power low side | General purpose low side output, 4.5A maximum | General purpose low side, injector
2020-04-21 20:35:00 -07:00
| gp_high | General purpose high side | General purpose high side push output, 5V/12V (internally selectable based on JP2 jumper) 250mA maximum | General purpose 5V/12V high side, ignition coil
| gp_low | General purpose low side | General purpose low side pull output, 12V 500mA maximum | General purpose low side
2020-05-09 16:28:40 -07:00
| gp_pp | General purpose Push-Pull | General purpose push-pull (low and high side) output, 600mA | Bipolar IDLE stepper, relays, solenoids |
2019-06-23 08:38:59 -07:00
| mr | Main relay | Dedicated main relay output. Low side turned on with power, 800mA maximum. | Main relay
| etb | Electronic throttle | Dedicated electronic throttle outputs. Connect a brushed motor< br / > throttle body directly to these two pins.
## Communication
| ID | Type | Notes & Limits |
|----|-------------| ---- |
| usb | USB | USB tuning interface
2019-07-25 19:52:26 -07:00
| can | CAN bus | CAN communication
USB cable green wire: USB D+ DATA+
2020-03-26 22:39:10 -07:00
2019-07-25 19:52:26 -07:00
USB cable white wire: USB D- DATA-
2020-03-26 22:39:10 -07:00
2019-07-25 19:52:26 -07:00
USB cable black wire: ground
2020-09-17 01:21:46 -07:00
[HOWTO wire external USB ](https://youtu.be/4v2VnP-YdlQ )
2021-02-17 15:22:49 -08:00
USB cable red wire: +5v (would not work via microRusEFI connector for versions < 0.5.0 )
2019-08-08 05:45:06 -07:00
2019-07-25 19:52:26 -07:00
## Hall type Crank sensor
2019-11-08 16:41:55 -08:00
See TLE8888 datasheet figure 71
2019-07-25 19:52:26 -07:00
R9=DNP
R15=DNP
R17=2.7K pull-up to 5v
R12=10K
R13=0R
2019-07-25 21:56:07 -07:00
2021-02-17 15:12:57 -08:00
![front hall ](Hardware/microRusEFI/Hardware_microRusEFI_0_1_assembled_front_hall_setup.jpg )
![front lower ](Hardware/microRusEFI/Hardware_microRusEFI_0_1_assembled_front_lower.jpg )
2020-05-09 15:42:58 -07:00
# Extra pins
microRusEFI exposes the following pins in addition to the primary 48 pin connector:
J4:
2021-02-17 15:12:57 -08:00
![x ](Hardware/microRusEFI/J4.png )
2020-05-09 16:38:10 -07:00
| N | Name | Possible functions (not all listed!) |
2020-05-09 16:06:02 -07:00
|----|-------------| ---- |
| 9 | GNS | GND
| 4 | VDD | 3.3V
2020-05-09 16:20:57 -07:00
| 1 | 5V | 5V
2020-05-09 16:06:02 -07:00
| 2 | 12V | 12V from Main Relay
| 3 | PB8 | I2C1_SCL or CAN1_RX
| 6 | PB9 | I2C1_SDA or CAN1_TX
| 8 | PC10 | SPI3_SCK or USART3_TX or UART4_TX
| 5 | PC11 | SPI3_MISO or USART3_RX or UART4_RX
| 10 | PC12 | SPI3_MOSI or USART3_CK or UART5_TX
| 7 | PA15 | SPI3_NSS (Chip Select)
2021-02-13 07:05:58 -08:00
[J2 Interactive Pinout ](https://rusefi.com/docs/pinouts/microrusefi/main.html )
2020-05-09 16:20:57 -07:00
Three GPIOs are available on J2 (SWD) connector. If you are not going to use debuger J2 connector can be used for other purposes.
2020-05-09 16:38:10 -07:00
| N | Name | Possible functions (not all listed!) |
2020-05-09 16:20:57 -07:00
|----|-------------| ---- |
| 7, 8 | GND | GND |
| 1, 2 | 5V | 5V |
| 3, 4 | VDD | 3.3V |
| 5 | SCK | SWD clock or PA14 gpio (no alternative functions) |
| 9 | SWDIO | SWD data or PA13 gpio (no alternative functions) |
| 6 | SWO | SWD/JTAG data out (?) or SPI1_SCK or SPI3_SCK |
| 10 | NRST | CPU reset input (active low) |
For HW version 0.5.0 and newer some additional GPIOs are available on testpoints around STM32.
2020-05-09 16:08:07 -07:00
2021-02-17 15:12:57 -08:00
![x ](Hardware/microRusEFI/J8_9_10.png )
2021-02-13 07:05:58 -08:00
[Testpoint Interactive Pinout ](https://rusefi.com/docs/pinouts/microrusefi/pads.html )
2020-05-09 16:08:07 -07:00
2020-05-09 16:38:10 -07:00
| Tespoint | GPIO | Possible functions (not all listed!) |
|----|-------------| ---- |
| J6 | PE0 | GPIO |
| J8 | PB7 | USART1_RX or TIM4_CH2 |
| J9 | PC13 | GPIO only |
| J10 | PE6 | TIM9_CH2 |
| J11 | PE5 | TIM9_CH1 |
| J16 | PD0 | CAN1_RX |
Please refer to STM32F407 chip documentation for full list of alternative functions of GPIOs listed above.