From 49c492b925a0a2795ee94f17f26a015be35a7aed Mon Sep 17 00:00:00 2001 From: pazi88 Date: Mon, 4 Apr 2022 07:59:41 +0000 Subject: [PATCH] docs: update boards/V04 --- boards/V04.md | 48 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/boards/V04.md b/boards/V04.md index 96c162d..5476f7f 100644 --- a/boards/V04.md +++ b/boards/V04.md @@ -2,7 +2,7 @@ title: V04 Board description: published: true -date: 2022-04-04T07:43:38.766Z +date: 2022-04-04T07:59:33.827Z tags: boards, hardware, v0.4 editor: markdown dateCreated: 2020-01-06T01:53:44.099Z @@ -192,3 +192,49 @@ You can solder wires directly to the board or use IDC (Insulation Displacement C Github for the 0.4 hardware designs: https://github.com/speeduino/Hardware/tree/main/v0.4 +## Full pin number chart + +Chart consist all pin numbers used in Speeduino Firmware for v0.3 boards. Pin numbers are Arduino Mega pin numbers. Not IDC pin numbers. This chart can be used as a guide when setting unused default outputs for some other use. + +| Pin name | Pin number | Description | +|---------------------------|-----------------------|-----| +| pinInjector1 | 8 | Output pin injector 1 +| pinInjector2 | 9 | Output pin injector 2 +| pinInjector3 | 10 | Output pin injector 3 +| pinInjector4 | 11 | Output pin injector 4 +| pinInjector5 | 12 | Output pin injector 5 +| pinInjector6 | 50 | CAUTION: Uses the same as Coil 4 below. +| pinCoil1 | 40 | Pin for coil 1 +| pinCoil2 | 38 | Pin for coil 2 +| pinCoil3 | 52 | Pin for coil 3 +| pinCoil4 | 50 | Pin for coil 4 +| pinCoil5 | 34 | Pin for coil 5 (PLACEHOLDER) +| pinTrigger | 19 | The CAS pin +| pinTrigger2 | 18 | The Cam Sensor pin +| pinTrigger3 | 3 | The Cam sensor 2 pin (VVT2 input pin) +| pinTPS | A2 | TPS input pin +| pinMAP | A3 | MAP sensor pin +| pinIAT | A0 | IAT sensor pin +| pinCLT | A1 | CLS sensor pin +| pinO2 | A8 | O2 Sensor pin +| pinBat | A4 | Battery reference voltage pin +| pinDisplayReset | 48 | OLED reset pin +| pinTachOut | 49 | Tacho output pin (Goes to ULN2803) +| pinIdle1 | 5 | Single wire idle control +| pinIdle2 | 6 | 2 wire idle control +| pinBoost | 7 | Boost control +| pinVVT_1 | 4 | Default VVT output +| pinVVT_2 | 48 | Default VVT2 output +| pinFuelPump | 45 | Fuel pump output (Goes to ULN2803) +| pinStepperDir | 16 | Direction pin for DRV8825 driver +| pinStepperStep | 17 | Step pin for DRV8825 driver +| pinStepperEnable | 24 | Enable pin for DRV8825 +| pinFan | 47 | Pin for the fan output (Goes to ULN2803) +| pinLaunch | 51 | Can be overwritten below +| pinFlex | 2 | Flex sensor (Must be external interrupt enabled) +| pinResetControl | 43 | Reset control output +| pinBaro | A5 | Input pin for Baro sensor +| pinVSS | 20 | VSS input pin +| pinWMIEmpty | 46 | +| pinWMIIndicator | 44 | +| pinWMIEnabled | 42 | \ No newline at end of file