rusefi_documentation/HOWTO-Miata-NB2-on-Proteus.md

93 lines
4.7 KiB
Markdown
Raw Normal View History

**# This page is still WIP**
# PnP adapter board
https://rusefi.com/forum/viewtopic.php?f=4&t=1701
# Pinning
## OEM 72 pins connector
| Pin Number | Name | Proteus pin | Type ID | Default function |
| ----------:|:-------- | ------------ | ------------ |:---------------------------------------------------- |
| 2A | Inj 1 | B3| Low-Side 1 | Injector #1 |
| 2B | Fan | B9| Low-Side 11 | Radiator Fan Control Relay Output |
| 2C | A/C Fan | --| Low-Side xx | A/C Fan Control Relay Output |
| 2D | Inj 2 |B15| Low-Side 2 | Injector #2 |
| 2G | Inj 3 | B4| Low-Side 3 | Injector #3 |
| 2J | Inj 4 |B16| Low-Side 4 | Injector #4 |
| 2O | - | | x | x |
| 2M | Fuel Pump |B6 | Low-Side 6 | Fuel Pump Relay Output |
| 2P | IAC Feed | | 12V | Idle Valve Power |
| 2Q | IAC Control |B7 | Low-Side 7 | Idle Valve Control |
| 2R | MIL |B20| Low-Side 10 | Check Engine Light output |
| - | - | - | - | - |
| 3A | GND | A1| Power Ground | Ground |
| 3B | GND |C19| Power Ground | Ground |
| 3F | Coil #1 |B35| Ignition 1 | Coil #1 control |
| 3I | Coil #2 |B22| Ignition 3 | Coil #2 control |
| 3H | Main Relay | B5| Low-Side 5 | Main Relay Control |
| 3K | - | | x | x |
| 3L | - | | x | x |
| 3M | Alternator | B1| High-Side 2 | Alternator Control Output |
| 3N | - | | x | x |
| 3O | Tach | B2| High-Side 1 | Tachometer Output |
| 3V | Cam | C1| Digital 2 | Cam shaft Hall Input |
| 3U | Alt Warn | | x | x |
| 3Y | Crank |C10| Digital 1 | Crank shaft Hall Input |
| 3Z | - | | x | x |
| - | - | | - | - |
| 4A | GND | | Ground | Ground |
| 4D | VVT Feed | | 12V | VVT Power |
| 4K | - | | | |
| 4L | - |A21| 5v Sensor 1 | OEM 5V Sensor Power |
| 4N | IAT |A20| Analog Temp 3| Intake Air Temperature Sensor |
| 4O | GND |A23| GND | Sensor Ground |
| 4P | CLT |A19| Analog Temp 1| Coolant Temperature Sensor Input |
| 4R | VVT | B8| Low-side 9 | VVT Control |
| 4S | Key |C18| 12V RAW | +12v from Ignition Key |
| 4V | TPS |A14| Analog Volt 3| Throttle Position Sensor |
| 4X | MAF |A25| Analog Volt 4| Mass airflow sensor, needs pulldown |
| 4AE | EGR Boost Sensor|A16| Analog Volt 7| MAP |
| 4AF | Main Relay Power|C23| 12V MR | +12v from Main Relay |
## Auxiliary inputs
### MAP sensor
Using an external MAP sensor allows you to get the engine running above ambiant pressure when using forced induction. Good cheap option is GM 3 bars but anything will work for you. MAP input can be mapped to Analog Volt 1 (A13 pin).
**Note :**
You can also run the engine naturally aspirated using the OEM "boost sensor". It is located on the EGR systems and is used by stock ECU to determine whether the EGR is working or not. You've probably ditched EGR so far and so you can run a vacuum line from your plenum to this sensor and use it with this calibration:
* 0V - 15Kpa
* 5V - 115Kpa
Or you can use the OEM sensor for barometric reading and correction.
### WBO2 sensor
### To sum up
# Tune config
## Engine basics
## Trigger
## Ignition and injection
## VVT parameters
## Alternator and tachometer
## Useful inputs/outputs
# Miscellaneous
# Running engines forum links
* CrazyStriker's NB2 : [2004 Mazda MX5 1.8 VVT #50](https://rusefi.com/forum/viewtopic.php?f=2&t=1536&sid=2763fcb9e79e72c3cd9860a69d3620b3)