Boards import

This commit is contained in:
Josh Stewart 2020-01-06 12:42:22 +11:00 committed by GitHub
parent 11ff46c5db
commit c56b6dd238
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 764 additions and 0 deletions

101
boards/MX5_PNP.md Normal file
View File

@ -0,0 +1,101 @@
Introduction
------------
The Speeduino Miata / MX5 Plug N Play (PNP) box is designed for easy installation on the 1.6L NA6 vehicles using the 48-pin ECU. This is all 1.6L models from 1989 through 1993 and some 1.6s up to 1995.
The stock ECU for these vehicles have a 2 plug loom connection and look like the below:
<center>
<img src="https://raw.githubusercontent.com/speeduino/wiki/master/MX5/OEM_ECU.png" width="500" />
</center>
<span style="color:red">**WARNING:**</span> In particular, please see below in the fuel pump section for details that must be understood prior to starting
Hardware requirements
---------------------
The PNP box plugs straight into the stock wiring in place of the original ECU, however some hardware changes are either recommended or are desirable in most installations.
Most significantly, Speeduino does not operate with the stock AFM on the NA6 engine. This unit can either be retained or removed, but if being kept in place, the connector to it should be disconnected.
### Manifold Pressure
For a load reference, it is strongly recommended to run a manifold pressure line to the Speeduino PNP box. This allows Speeduino to run in the default Speed-Density configuration and is usually a fairly easy installation. The unit comes with a built-in MAP sensor that supports up to 1 Bar of boost, but is compatible with other external sensors if more pressure is required.
The 1.6L cars typically come with a suitable MAP port near the throttle body that is capped off in stock form and is generally the easiest place to take the manifold pressure reference.
<center>
<img src="https://raw.githubusercontent.com/speeduino/wiki/master/MX5/MAP_orig.png" width="500" />
</center>
5mm or 6mm vacuum hose should be used and there are multiple original holes in the firewall where this can be run.
### Throttle Position Sensor
Manual NA6s come with a switch only TPS that provides limited feedback to the ECU. It is highly recommended to replace this with a Variable TPS (VTPS) that provides a signal indicating the current throttle position. The original wiring can be used with any 3 wire VTPS
<center>
<img src="https://raw.githubusercontent.com/speeduino/wiki/master/MX5/TPS_wiring.png" width="500" />
</center>
**Note:** If a VTPS is **NOT** being fitted, the stock TPS should be disconnected and a 1k resistor placed between the signal line and ground to prevent erratic acceleration enrichment at full throttle.
### Inlet Temperature Sensor
In the stock configuration, inlet air temperature is provided by a sensor in the AFM. If the AFM is retained then this sensor will work if jump wires are run from the AFM to the disconnected connector (See image below), however as most setups elect to remove the AFM, an additional sensor needs to be added. The recommended sensor is the GM open air IAT that is common to many GM vehicles. Part number for this is \#25036751 and it can be found fairly cheaply from many online sources, including the Speeduino store (https://speeduino.com/shop/index.php?id_product=23&controller=product)
The 2 wires from this sensor can be pinned directly into the AFM connector on pins 1 and 6 (It does not matter which wire goes to which pin):
<center>
<img src="https://raw.githubusercontent.com/speeduino/wiki/master/MX5/IAT_connector.png" width="500" />
</center>
### Wideband O2 Sensor
Whilst not mandatory, the installation of a wideband oxygen sensor and controller is strongly recommended. Any wideband controller that outputs a 0-5v signal is supported and calibration for common controllers can be found in the Tools-&gt;Calibrate AFR Table dialog.
The wideband analog output signal should be connected to the original O2 sensor wire. This has a convenient connector in the engine bay, located just next to the coils. This can be found by following the wire from the original sensor. If not reusing the original narrowband sensor, the connector can be cut from this and attached to the wideband signal.
### Fuel pump control
The stock ECU does not perform any fuel pump control as this is taken care of by the AFM. Speeduino however can control the fuel pump through the original wiring, but requires the removal of the ST_SIG fuse. Failure to remove this fuse prior to powering the unit on will trip the smart FET that is used on this line, but should not cause permanent damage if only performed once or twice.
The fuse to be removed is found in the engine bay fuse block:
<center>
<img src="https://raw.githubusercontent.com/speeduino/wiki/master/MX5/ST_SIG_fuse.png" width="500" />
</center>
#### Alternative control methods
If the above method of fuel pump control is either not desirable or not available, an alternative driver wired to pin 2O on the main connector that can be used for this. Pin 2O originally carries the AFM signal, however as Speeduino does not use this (And the AFM must be disconnected) it can be used to carry the fuel pump control.
To do this, a jumper wire is required on the AFM connector per the below:
<center>
<img src="https://raw.githubusercontent.com/speeduino/wiki/master/MX5/AFM_fuel_pump.png" width="500" />
</center>
Once the above jumper is in place, the fuel pump pin in TunerStudio should be set to A9.
### Setup on 1.8 engines
Wiring on the 48-pin 1.8 (NA8) models is largely identical to the 1.6 (NA6) however there are some minor differences. In addition to other points on this page, the following should be observed for 1.8 setups:
- Fuel pump output pin should be set to A9
- If the tacho doesn't work, set the tacho pin to 49 and add a jumper to the pins labelled 'Tach' on the board (Just above R56)
- If the TPS reading is fixed at full open/closed and you have a heated rear demister, you may need to remove/cut wire 2L. This should only be done in this specific case and it is unlikely to affect most cars.
Configuration and start
-----------------------
### Sensor calibration
The stock sensors can use preset calibrations within TunerStudio. The following values should be used if the stock sensors are retained:
**Stock Coolant Sensor (CLT)** - RX-7_CLT(S4 & S5)
**Stock inlet air sensor (IAT)** - RX-7_AFM(S5 in AFM)
<center>
<img src="https://raw.githubusercontent.com/speeduino/wiki/master/MX5/sensor_calibrations.PNG" width="500" />
</center>

View File

@ -0,0 +1,93 @@
The No Overhang Two Channel boards made for Speeduino share the features below
------------------------------------------------------------------------------
- Arduino MEGA 2560 shield board
- Same size as the Arduino
- 2 injector output channels
- 2 coil output channels
- Dedicated tachometer output
- 4 medium/high current outputs (idle, boost, VVT, fuel pump, fan, etc)
- IAT, CLT, TPS, and O2 inputs (protected)
- On-board MAP sensor
- Stepper idle control through board mounted DRV8825 accessory PCB
- VR conditioning through board mounted VR conditioner accessory PCB
Like the official Speeduino boards, the NO2C requires igniter driven coils and a conditioner for crank/cam signals that aren't 5v square-wave. The board is designed to accept the official Speeduino conditioner board for signals that do not meet the requirements.
NO2C v0.1.x
-----------
Uses the AMP MTA-100 or Molex KK100/KK254 connector system and through hole components
### v0.1.0
- Had flaws which caused the Arduino USB connector to interfere with the boards solder pads
- lacked tachometer output
- was never released
### v0.1.1
- corrected the issue mentioned above
- added tachometer output
NO2C v0.2.x
-----------
Uses the Molex Micro-Fit 3.0 connector system and through hole components. The Micro-Fit connector is used as a computer power connector and there are several manufacturers, it's known generically as 3mm connector.
For some tips that will help make the assembly of your board a success: **[v0.2.x Assembly Tips](v0.2.x_Assembly_Tips "wikilink")**
### v0.2.0
- Added pass through pinholes around the edge for daughter board expansion
- Increased size of resistor footprints making it easier to find usable resistors and/or use precision resistors for all voltage dividers
- Increased pitch of 1uf caps (see above)
- Added launch control input
### v0.2.1
- Improved silk screen
- All MOSFET outputs (injector and auxiliary) have the same gate connection to the Arduino MEGA
- VR signals are routed straight into the conditioner
- MAP sensor location accepts either though-hole or SMD part
- Other routing and placement adjustments (R10 and R11 are flipped)
### v0.2.2
- Moved C20 from the edge of the board, it has always bothered me there
- Added Serial0/Bluetooth header
- Other routing and placement adjustments
### vC1
- Traditional reset protection removed in favor of a jumper and resistor to hold the reset pin high
- Routing and placement adjustments
- Version style changed to bring inline with other projects and due to required BOM change compared to v0.2.x
NO2C DB
-------
A daughter board that stacks on top of the NO2C v0.2.x and vCx boards to add the features below. The daughter boards are hybrid surface mount/through hole, see features below for which parts are through hole.
### DB1 (Scraped)
Makes it easy to add additional general outputs, and can be populated to add all the features below.
- 4 low current outputs (through hole)
- 2 general digital inputs (protected)
- 1 analog input (protected)
- Flex-fuel input (protected)
- Barometric pressure sensor (provides constant correction vs power on base)
### DB2
Makes it easy to add additional coil outputs, and can be populated to add all the features below.
- 2 additional coil output channels (through hole)
- 4 low current outputs
- 2 general digital inputs (protected)
- 1 analog input (protected)
- Flex-fuel input (protected)
- Barometric pressure sensor (provides constant correction vs power on base)
With the low current outputs you could reconfigure two of the medium/high current outputs on the NO2C to act as injector drivers. To do this you will have to make minor changes to the firmware before programming the Arduino.

35
boards/V0.1.md Normal file
View File

@ -0,0 +1,35 @@
<img src="IMG_20151010_123440490_zpsqw2dla5a-sideways.jpg" title="IMG_20151010_123440490_zpsqw2dla5a-sideways.jpg" alt="IMG_20151010_123440490_zpsqw2dla5a-sideways.jpg" width="500" />
Overview
--------
The V0.1 board was the first hardware implementation and is not intended for general in car use. It does however drastically simplify testing on stationary engines.
Layout
------
The board is a 2 sided 'shield' that is approximately the same width as an Arduino Mega, but extends out at both ends. It has I/O for all the main sensors as well as 4 channels each of ignition and fuel.
<img src="https://raw.githubusercontent.com/noisymime/speeduino/master/reference/hardware/v0.1/kartduino%20v.1.png" style="width: 1000px;height: auto" />
Populating the board
--------------------
The following components are needed to fully populate the board:
- R1, R2, R3, R5, R7, R7 = 10k Ohm resistors
- R4, R6, R8, R9 = 1k Ohm resistors
- D1-D4 = Schottky diode (Eg 1N5819)
- C1-C4 = 100nF capacitors rated for at least 6V
- Q1-Q4 = TO220 nChannel MOSFETs (Eg STP62NS04Z). Other appropriate MOSFETs will work and maybe substituted but these should have clamping &gt;30V and some protection built in.
- U1 = Opto-isolator (Eg CNY17-3). May or may not be needed depending on the type of crank sensor you are using. If your sensor outputs 0-5V directly, this can be left out and the sensor connected directly to digital pin 2 on the arduino
Dev Notes
---------
The V0.1 board has several drawbacks and issues that are to be addressed for the next version. These include:
- Lack of ground screw terminals. The board only has a single ground screw connector which must be shared by all sensors. This is less than ideal both physically and electrically.
- The use of an opto-isolator for the crank sensor is of debatable value. Most suitable hall sensors will output 0-5V signals and I'm not sure it's worth the extra cost/space to support 0-12V+ sensors as well. This leads to the next issue:
- No support for VR crank sensors. The next version of the board will either use a built in VR conditioner or will allow something such as \[the jbperf VR conditioner board\](http://jbperf.com/dual_VR/v2_1.html) to be plugged in if required
- No bias resistors onboard for the 2 temperature inputs (CLT and IAT). In order to standardise the voltage divider circuit, these should both have a 2490 Ohm resistor
- There is no fly back diode on the MOSFETs. Assumption for this board was that protected drivers would always be used, but the provision for a diode should be added for flexiblity.

72
boards/V0.2.md Normal file
View File

@ -0,0 +1,72 @@
Overview
--------
The second speeduino shield board is intended to be much more usable and feature complete than the original v0.1 prototype. To this end, I expect it to have the following features:
- 4 fully protected High impedance injector channels (Each with a LED indicator)
- 4 ignition outputs (for driving igniters or logic level coils)
- Inputs for CLT, IAT, O2 and TPS
- Optional onboard MAP sensor
- 2 medium current generic PWM output (3A - Eg Idle control)
- 2 low current digital outputs (Max 40mA)
- Battery voltage monitoring
- 2 speed sensing inputs (RPM and cam)
`   * Hall or optical input by default or;`
`   * Optional plug in board for VR sensors (Likely to be `[`http://jbperf.com/dual_VR/v2_1.html`](http://jbperf.com/dual_VR/v2_1.html)`)`
- All I/O to be through screw terminals. Will look at doing an alternative version of the board with a connector if there is interest
Status
------
First batch of boards is currently in testing (Sep 2014)
Board layout
------------
A snapshot of the current state of the board is below. Note that this is a working snapshot of the board, so it may look quite messy at times.
[<img style="width: 500px;height: auto" src="https://raw.githubusercontent.com/noisymime/speeduino/master/reference/hardware/v0.2/speeduino-v0.2-board.png"/>](https://raw.githubusercontent.com/noisymime/speeduino/master/reference/hardware/v0.2/speeduino-v0.2-board.png)
Schematic
---------
As above, this is a working, in-progress snapshot of the current schematic. It may look messy at times.
[<img style="width: 1000px;height: auto" src="https://raw.githubusercontent.com/noisymime/speeduino/master/reference/hardware/v0.2/speeduino-v0.2-schematic.png" />](https://raw.githubusercontent.com/noisymime/speeduino/master/reference/hardware/v0.2/speeduino-v0.2-schematic.png)
Board Configuration
===================
The board can be configured in multiple ways depending on the hardware you use and way your setup is configured.
Optional Components
-------------------
If using a VR crank sensor, the board will require the addition of a VR conditioner. The board has been designed to work with the dual VR conditioner from JBPerf (http://www.jbperf.com/dual_VR/index.html) which will plug directly in. Other VR conditioners will also likely work, but have not been tested.
Jumper Configs
--------------
Depending on the type of crank and cam sensors you have, there are a number of jumpers that will need to be set. The jumpers that need setting are:
- JP1 - This sets whether the Ignition outputs are 12v or 5v. Note that even if you set this to 12v you should \*\*NOT\*\* connect these directly to a high current coil. These outputs should only ever go to a logic level coil or an igniter
- JP2 - Whether or not the RPM1 (Crank) input should be routed via the (Optional) VR conditioner. This should be set to VR when using either a VR sensor or a hall sensor that switches between 0v-12v
- JP3 - Same as JP2, but for the RPM2 (Cam) input
- JP4 - 10k pullup resistor for RPM1 input. Should be jumpered ('On') when a sensor is used that switches between ground and floating (Which is most hall effect sensors)
- JP5 - Same as JP4, but for the RPM2 (Cam) input
To make this simpler, the most common sensor types and their required configurations are below:
| Crank Sensor | Cam Sensor | JP2 | JP3 | JP4 | JP5 |
|---------------------------|-----------------------|------|------|-----|-----|
| Floating Hall sensor
(Ground and floating) | - | Hall | Off | On | Off |
| VR Sensor | - | VR | Off | Off | Off |
| 0v-12v Hall Sensor
(Requires VR Conditioner) | - | VR | Off | Off | Off |
| Floating Hall sensor
(Ground and floating) | Floating Hall sensor
(Ground and floating) | Hall | Hall | On | On |
| VR Sensor | Floating Hall sensor
(Ground and floating) | VR | Hall | Off | On |

View File

@ -0,0 +1,13 @@
**The most current version of the bill of materials is kept on my GitHub here: [GitHub](https://github.com/turboedge/SpeedyBoards)**
------------------------------------------------------------------------
I normally insert and then solder all the passive components at one time, BUT I would suggest soldering down the resistor networks before you bend a whole bunch of through hole leads (especially from the input capacitors) in front of their solder pads. It's difficult to get the tip in there otherwise. Speaking of the resistor networks. The orientation on them does not matter except for RN3 where is does matter. The dot on RN3 should align with the square pad and the little square around the square pad.![](rn3.jpg "fig:rn3.jpg")
When soldering the stepper module pin sockets bend the first four pins over. This will help the board sit flat even though the Arduino DC jack will be right under it (Optional, I always forget).![](steppersocket.jpg "fig:steppersocket.jpg")
If you choose to have the connector soldered directly to the PCB the tab for the locking latch should aim toward IC2, and do NOT use a socket under IC2, solder it directly to the board. If you use an IC socket it will be difficult to unlatch the connector.![](ic2.jpg "fig:ic2.jpg")
When inserting the LEDs be sure to put the squared off side with the short lead into the square solder pad. Or it won't work. Also, if you want the resistors to sit flush like the ones in the picture (though that third one crept up a bit) the legs need to be folded over as close to the resistor body as possible.![](leds.jpg "fig:leds.jpg")
For version v.0.2.2 a header was added to the NO2C to allow easier connection of a Bluetooth module. This causes a bit of an issue with the Arduino header pins. The pins required for the BTMod to function (TX0/RX0) are marked for use with the daughter-board. The DB has connections for a BTMod also, so they were routed to that, and if you ever got a DB you may want to connect the BTMod there since it is easier. If you don't have any plans to use the mostly unreleased DB with your NO2C you may want to add standard header pins in the two serial0 locations.

82
boards/V0.3.1.md Normal file
View File

@ -0,0 +1,82 @@
Overview
========
The v0.3 board is the first widely available Speeduino shield and is suitable for many typical 1-4 cylinder injection and ignition applications (Excluding direct injected engines).
Board Features
==============
The v0.3 boards includes the following features:
- 4 injector channels
- 4 Ignition outputs
- Fully protected input channels for CLT, IAT, TPS and O2
- Optional VR conditioner mount on crank and cam inputs
- MAP sensor mount location
- 4 medium current spare outputs (Eg Fuel pump, thermo fan etc)
- All I/O through screw terminals on the board
- Optional EEPROM mount (Not currently in use, but expected for future potential support of Arduino Due)
- OLED breakout header
Physical Layout
===============
<img src="https://raw.githubusercontent.com/speeduino/wiki/master/v0_3_board_annotated.jpg" width="60%" />
Board Assembly
==============
Assembly of a complete board is relatively straightforward with all components being through hole and labelled on the board. Whilst it does not matter which order components are installed, the following is recommended for simplicity:
1. All resistors
2. All diodes (Including LEDS)
3. All capacitors
1. Take note that C14 and C16 are polarised capacitors, meaning that they must be put in the correct way around. The capacitors should be marked with a + sign on one side. On the PCB, the positive side is indicated by a line on the capacitor symbol.
4. All jumper headers (JP\*)
5. Arduino pins:
1. Suggested method: Break header pins into required lengths and insert into an Arduino Mega. Place the board over the top of the pins and solder in place
2. Note that not all the pins on the end double row need to be populated (Though there's no harm in doing so). The odd numbered pins (Eg D23, D25 .. DD53) do not need pins on them.
6. IC sockets
7. MAP sensor (If used)
8. All screw terminals
9. All MOSFETs
10. Power regulator
Board Configuration
===================
The board can be configured in multiple ways depending on the hardware you use and way your setup is configured.
Optional Components
-------------------
If using a VR crank sensor, the board will require the addition of a VR conditioner. The board has been designed to work with the dual VR conditioner from JBPerf (http://www.jbperf.com/dual_VR/index.html) which will plug directly in. Other VR conditioners will also likely work, but have not been tested.
Jumper Configs
--------------
Depending on the type of crank and cam sensors you have, there are a number of jumpers that will need to be set. The jumpers that need setting are:
- JP1 - This sets whether the Ignition outputs are 12v or 5v. Note that even if you set this to 12v you should \*\*NOT\*\* connect these directly to a high current coil. These outputs should only ever go to a logic level coil or an igniter
- JP2 - Whether or not the RPM1 (Crank) input should be routed via the (Optional) VR conditioner. This should be set to VR when using either a VR sensor or a hall sensor that switches between 0v-12v
- JP3 - Same as JP2, but for the RPM2 (Cam) input
- JP4 - 10k pullup resistor for RPM1 input. Should be jumpered ('On') when a sensor is used that switches between ground and floating (Which is most hall effect sensors)
- JP5 - Same as JP4, but for the RPM2 (Cam) input
To make this simpler, the most common sensor types and their required configurations are below:
| Crank Sensor | Cam Sensor | JP2 | JP3 | JP4 | JP5 |
|---------------------------|-----------------------|------|------|-----|-----|
| Floating Hall sensor
(Ground and floating) | - | Hall | Off | On | Off |
| VR Sensor | - | VR | Off | Off | Off |
| 0v-12v Hall Sensor
(Requires VR Conditioner) | - | VR | Off | Off | Off |
| Floating Hall sensor
(Ground and floating) | Floating Hall sensor
(Ground and floating) | Hall | Hall | On | On |
| VR Sensor | Floating Hall sensor
(Ground and floating) | VR | Hall | Off | On |

1
boards/V0.3.2.md Normal file
View File

@ -0,0 +1 @@
1. REDIRECT [V0.3](V0.3 "wikilink")

143
boards/V0.3.md Normal file
View File

@ -0,0 +1,143 @@
Overview
--------
The v0.3 board is the first widely available Speeduino shield and is suitable for many typical 1-4 cylinder injection and ignition applications (Excluding direct injected engines).
Board Features
--------------
The v0.3 boards includes the following features:
- 4 injector channels
- 4 Ignition outputs
- Fully protected input channels for CLT, IAT, TPS and O2
- Optional VR conditioner mount on crank and cam inputs
- MAP sensor mount location
- 4 medium current spare outputs (Eg Fuel pump, thermo fan etc)
- All I/O through screw terminals on the board
- Proto area with i2c, SPI and power breakouts.
Physical Layout
---------------
<center>
<img src="https://raw.githubusercontent.com/speeduino/wiki/master/v0_3_2_board_annotated.jpg" width="60%" />
</center>
Proto area
----------
The proto area can be used for adding your own circuits on to Speeduino if required or simply as a convenient access point to various connections. The connections broken out to the proto board are:
- 5v and 12v
- Grounds
- SPI pins (MOSI, MISO, SCK and SS). Alternatively these can be used as generic digital IO (Arduino pins 50-53)
- I2C pins (SDA and SCL).
- 3 generic analog inputs (13-15)
<center>
<img src="https://raw.githubusercontent.com/speeduino/wiki/master/v0_3_2_proto_annotated.jpg" width="60%" />
</center>
Board Assembly
--------------
Refer to the [Board revisions](Board_revisions "wikilink") for a link to the Bill of Materials (BOM) of your specific board.
Assembly of a complete board is relatively straightforward with all components being through hole and labelled on the board (See above mentioned BoM for parts list). Whilst it does not matter which order components are installed, the following is recommended for simplicity:
1. All resistors
2. All diodes (Including LEDS)
3. All capacitors
1. Take note that C14 and C16 are polarised capacitors, meaning that they must be put in the correct way around. The capacitors should be marked with a + sign on one side. On the PCB, the positive side is indicated by a line on the capacitor symbol.
<center>
<img src="https://raw.githubusercontent.com/speeduino/wiki/master/hardware/capacitor_orientation.png" />
</center>
1. All jumper headers (JP\*)
2. Arduino pins:
1. Suggested method: Break header pins into required lengths and insert into an Arduino Mega. Place the board over the top of the pins and solder in place
2. Note that not all the pins on the end double row need to be populated (Though there's no harm in doing so). The odd numbered pins (Eg D23, D25 .. DD53) do not need pins on them.
3. IC sockets
4. MAP sensor (If used)
1. **NOTE:** ALL self assembly boards have the MAP sensor with the hole at the top.
5. All screw terminals
6. All MOSFETs
7. Power regulator
### Assembly Instruction video
<center>
<embedvideo service="youtube">IjKlmIi_Dug</embedvideo>
</center>
Board Configuration
-------------------
The board can be configured in multiple ways depending on the hardware you use and way your setup is configured.
### Board default outputs
Multiple functions within Speeduino have adjustable outputs or can be set to Board Default. The following are the Default pin outs for the v0.3
**Note:** *These defaults are applicable to the Jan 2017 firmware and newer*
| Function | Board output | Arduino pin |
|-----------------------------|--------------------------|-------------|
| Boost control | S2 Screw terminal | 7 |
| VVT | S1 Screw terminal | 6 |
| Idle 1 | Idle Screw terminal | 5 |
| Idle 2 (3 wire idle valves) | Proto area (Labelled 53) | 53 |
| Fuel pump | FP Screw terminal | 4 |
| Launch/Clutch | Proto area (Labelled 51) | 51 |
### Optional Components
If using a VR crank sensor, the board will require the addition of a VR conditioner. The board has been designed to work with the dual VR conditioner from JBPerf (http://www.jbperf.com/dual_VR/index.html) which will plug directly in. Other VR conditioners will also likely work, but have not been tested. There is now also an official VR board that can be used, see link on the left.
#### SP721 Over-voltage Protection
For users having difficulty obtaining the SP721 used in some versions, see info on the [SP721 Diode Alternate](https://speeduino.com/wiki/index.php/SP721_Diode_Alternate) page.
### Jumper Configuration
Depending on the type of crank and cam sensors you have, there are a number of jumpers that will need to be set. The jumpers that need setting are:
- JP1 - This sets whether the Ignition outputs are 12v or 5v. Note that even if you set this to 12v you should \*\*NOT\*\* connect these directly to a high current coil. These outputs should only ever go to a logic level coil or an igniter
- JP2 - Whether or not the RPM1 (Crank) input should be routed via the (Optional) VR conditioner. This should be set to VR when using either a VR sensor or a hall sensor that switches between 0v-12v
- JP3 - Same as JP2, but for the RPM2 (Cam) input
- JP4 - 10k pullup resistor for RPM1 input. Should be jumpered ('On') when a sensor is used that switches between ground and floating (Which is most hall effect sensors)
- JP5 - Same as JP4, but for the RPM2 (Cam) input
To make this simpler, the most common sensor types and their required configurations are below:
| Crank Sensor | Cam Sensor | JP2 | JP3 | JP4 | JP5 |
|---------------------------|-----------------------|------|------|-----|-----|
| Floating Hall sensor
(Ground and floating) | - | Hall | Off | On | Off |
| VR Sensor | - | VR | Off | Off | Off |
| 0v-12v Hall Sensor
(Requires VR Conditioner) | - | VR | Off | Off | Off |
| Floating Hall sensor
(Ground and floating) | Floating Hall sensor
(Ground and floating) | Hall | Hall | On | On |
| VR Sensor | Floating Hall sensor
(Ground and floating) | VR | Hall | Off | On |
Board revisions
---------------
| Version | Changes | BOM |
|---------|-------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------|
| V0.3.7 | Added bluetooth header | [Same as v0.3.6](https://github.com/noisymime/speeduino/raw/master/reference/hardware/v0.3/BOMs/v0.3.6_bom.xlsx) |
| V0.3.6 | Added filter caps to both crank and cam inputs | [Download](https://github.com/noisymime/speeduino/raw/master/reference/hardware/v0.3/BOMs/v0.3.6_bom.xlsx) |
| V0.3.5 | Added flex fuel input to proto area. Many routing improvements. | [Download](https://github.com/noisymime/speeduino/raw/master/reference/hardware/v0.3/BOMs/v0.3.5_bom.xlsx) |
| V0.3.4 | Routing cleanup and more useful silkscreening | Same as v0.3.3 |
| V0.3.3 | Replaced diode array with SP721 | [Download](https://github.com/noisymime/speeduino/raw/master/reference/hardware/v0.3/BOMs/v0.3.3_bom.xlsx) |
| V0.3.2 | Added Proto area. Removed spare IC socket (Had not been used) | [Download](https://github.com/noisymime/speeduino/raw/master/reference/hardware/v0.3/BOMs/v0.3.2_bom.xlsx) |
| V0.3.1 | Moved MAP sensor closer to edge of board. Beefier routing on the high current outputs (Including injectors) | [Download](https://github.com/noisymime/speeduino/raw/master/reference/hardware/v0.3/BOMs/v0.3.1_bom.xlsx) |
| V0.3 | Initial release | [Download](https://github.com/noisymime/speeduino/raw/master/reference/hardware/v0.3/BOMs/v0.3_bom.xlsx) |

183
boards/V0.4.md Normal file
View File

@ -0,0 +1,183 @@
Overview
--------
The v0.4 board is a testing board that was developed with the goals of reproducing the existing v0.3 boards capabilities, but with the following improvements:
- Lower cost (Primarily due to reduced size, but also some component changes)
- More compatible with off the shelf cases/enclosures
- Stepper-style IAC driver option
- Has a single 40 pin connector for all IO (Excluding 12v power)
**Note** that the v0.4 is **NOT** intended as a replacement for the v0.3 line of boards! The 2 are designed with different goals in mind. The v0.4 is intended to be integrated more closely into existing wiring, with the aim being that interface boards can be used to easily connect through the IDC40 connector. Unless you understand the interface on the v0.4 board and believe it is the best option for your install, the v0.3 may well be a better option for you.
Board Features
--------------
The v0.4 boards includes the following features:
- 4 injector channels
- 4 Ignition outputs
- Fully protected input channels for CLT, IAT, TPS and O2
- Optional VR conditioner mount on crank and cam inputs
- MAP sensor mount location
- DRV8825 stepper module mount location
- 4 medium-current spare outputs (e.g., fuel pump, thermo fan, boost control, VVT, etc)
- 5 unpopulated/configured optional low-current spare outputs in "proto" section, including tachometer-out
- A single 40-pin IDC connector includes all pins required for the board with the exception of the 12v input
Physical Layout
---------------
Note that there are some differences between the various versions of the board, however the pinouts on the main IDC40 connector remain the same.
| Board Pins |
|---------------------------------------------------------------------------------------------------------------|
| <center>
<img src="https://raw.githubusercontent.com/speeduino/wiki/master/v0_4_board_annotated_1.jpg" width="90%" />
</center> |
| 1 |
| 2 |
| 3 |
| 4 |
| 5 |
| 6 |
| 7 |
| 8 |
| 9 |
| 10 |
| 11 |
| 12 |
| 13 |
| 14 |
| 15 |
| 16 |
| 17 |
| 18 |
| 19 |
| 20 |
| 21 |
| 22 |
| 23 |
| 24 |
| 25 |
| 26 |
| 27 |
| 28 |
| 29 |
| 30 |
| 31 |
| 32 |
| 33 |
| 34 |
| 35 |
| 36 |
| 37 |
| 38 |
| 39 |
| 40 |
Board Assembly
--------------
Assembly of a complete board is virtually identical to the v0.3 and remains relatively straightforward with all components being through hole and labelled on the board. Whilst it does not technically matter which order components are installed, the following is recommended for simplicity:
1. All resistors
2. All diodes (Including LEDS)
3. All capacitors
1. Take note that C14 and C16 are polarised capacitors, meaning that they must be put in the correct way around. The capacitors should be marked with a + sign on one side. On the PCB, the positive side is indicated by a line on the capacitor symbol.
<center>
<img src="https://raw.githubusercontent.com/speeduino/wiki/master/hardware/capacitor_orientation.png" />
</center>
1. All jumper headers (JP\*)
2. Arduino pins:
1. Suggested method: Break header pins into required lengths and insert into an Arduino Mega. Place the board over the top of the pins and solder in place
2. Note that not all the pins on the end double row need to be populated (Though there's no harm in doing so). The odd numbered pins (Eg D23, D25 .. DD53) do not need pins on them.
3. IDC 40 connector
4. IC sockets
5. All screw terminals
6. All MOSFETs
7. Power regulator
8. MAP sensor (If used)
1. **NOTE:** ALL self assembly boards have the MAP sensor with the hole at the top.
### Assembly Instruction video
This video is for the v0.3 board, but it largely applies to v0.4 designs as well.
<center>
<embedvideo service="youtube">IjKlmIi_Dug</embedvideo>
</center>
Board Configuration
-------------------
The board can be configured in multiple ways depending on the hardware you use and way your setup is configured.
### Board default outputs
Multiple functions within Speeduino have adjustable outputs or can be set to Board Default. The following are the Default pin outs for the v0.4, however all of these functions can be reassigned to other pins if required (Eg to use the onboard high current outputs)
| Function | Board output | Arduino pin |
|-----------------------------|-----------------|-------------|
| Boost control | IDC Pin 35 | 7 |
| VVT | IDC Pin 38 | 4 |
| Idle 1 | IDC Pin 37 | 5 |
| Idle 2 (3 wire idle valves) | IDC Pin 36 | 6 |
| Fuel pump | Proto area (45) | 45 |
| Fan | Proto area (47) | 47 |
| Tacho | Proto area (49) | 49 |
| Launch / Clutch | Proto area (51) | 51 |
### Optional Components
If using a VR crank sensor, the board will require the addition of a VR conditioner. The board has been designed to work with the dual VR conditioner from JBPerf (http://www.jbperf.com/dual_VR/index.html) which will plug directly in. Other VR conditioners will also likely work, but have not been tested. There is now also an official VR board that can be used, see link on the left.
#### SP721 Over-voltage Protection
For users having difficulty obtaining the SP721 used in some versions, see info on the [SP721 Diode Alternate](https://speeduino.com/wiki/index.php/SP721_Diode_Alternate) page.
### Jumper Configs
Depending on the type of crank and cam sensors you have, there are a number of jumpers that will need to be set. The jumpers that need setting are:
- JP1 - This sets whether the Ignition outputs are 12v or 5v. Note that even if you set this to 12v you should \*\*NOT\*\* connect these directly to a high current coil. These outputs should only ever go to a logic level coil or an igniter
- JP2 - Whether or not the RPM1 (Crank) input should be routed via the (Optional) VR conditioner. This should be set to VR when using either a VR sensor or a hall sensor that switches between 0v-12v
- JP3 - Same as JP2, but for the RPM2 (Cam) input
- JP4 - 1k pullup resistor for RPM1 input. Should be jumpered ('On') when a sensor is used that switches between ground and floating (Which is most hall effect sensors)
- JP5 - Same as JP4, but for the RPM2 (Cam) input
To make this simpler, the most common sensor types and their required configurations are below:
| Crank Sensor | Cam Sensor | JP2 | JP3 | JP4 | JP5 |
|---------------------------|-----------------------|------|------|-----|-----|
| Floating Hall sensor
(Ground and floating) | - | Hall | Off | On | Off |
| VR Sensor | - | VR | Off | Off | Off |
| 0v-12v Hall Sensor
(Requires VR Conditioner) | - | VR | Off | Off | Off |
| Floating Hall sensor
(Ground and floating) | Floating Hall sensor
(Ground and floating) | Hall | Hall | On | On |
| VR Sensor | Floating Hall sensor
(Ground and floating) | VR | Hall | Off | On |
### 40-pin connection
You can solder wires directly to the board or use IDC (Insulation Displacement Contact) connectors. The 40-pin IDC is the connector that was used on computer drive ribbon cables for years and old computer cables can be used. A heavier cable, called DuPont cable is recommend for long term use though. Later in the IDE/ATA interfaces life the speed was increased and this required a new fine 80-wire cable. These cables are **NOT** compatible. Some of the pins are connected together causing the magic blue smoke to be released.
Board revisions
---------------
| Version | Changes | BOM |
|---------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|
| V0.4.4b | A new ground up, all SMD, board design that includes additional onboard drivers and protection circuits. It is electrically and physically compatible with all other v0.4 versions. | Not Required |
| V0.4.4 | Modified for easier automated assembly, including some SMD components and mounting the pressure sensor flat side up. Run/program switch added. Only sold officially as complete boards | Not Required |
| V0.4.3 | Filter capacitors added to both primary and secondary RPM inputs. Voltage clamp added to secondary RPM input. Flex fuel input added to proto area | [Download](https://github.com/noisymime/speeduino/raw/master/reference/hardware/v0.4/BOMs/v0.4.3_bom.xlsx) |
| V0.4.2 | Considerable number of routing improvements. Neater proto area layout. Voltage clamp added to primary RPM input | [Download](https://github.com/noisymime/speeduino/raw/master/reference/hardware/v0.4/BOMs/v0.4.2_bom.xlsx) |
| V0.4.1 | Added Proto area. Replaced diode array with SP721. Added optional high current aux output socket (J5). Diode relocated on power circuit to prevent USB back feeding 5v onto 12v rail when ignition off | Same as v0.4.2 |
| V0.4 | Initial release | [Download](https://github.com/noisymime/speeduino/raw/master/reference/hardware/v0.4/BOMs/v0.4_bom.xlsx) |

View File

@ -0,0 +1,5 @@
The following Signal Conditioner Boards are known to work with Speeduino, and plug into the VR conditioner Socket:
The JBPerf dual VR conditioner (http://forum.jbperf.com/viewtopic.php?f=6&t=1089)
The "RichCreations" Single VR Conditioner board, Single Opto board, and dual carrier board (needs links/info)

36
boards/VR_conditioner.md Normal file
View File

@ -0,0 +1,36 @@
Overview
========
For its crank and cam signals, Speeduino requires 3.3v-5v square wave pulses. Such signals can be inputted directly from hall or optical sensors, however the common Variable Reluctance (VR) sensor requires conditioning in order to convert its AC signal. Speeduino has an onboard socket and jumper system to allow for simple use of a plug in conditioner board.
Conditioner Board
=================
The plug in dual VR conditioner board has been developed and is for sale as well as having its design files make available on github (https://github.com/noisymime/speeduino/tree/master/reference/hardware/VR%20Conditioner). The board can take either a single VR signal input or one for both the cam and crank.
**Note:** The same PCB is used for both the VR conditioner and as a dual Opto isolator. It is populated on 1 side only, depending on which configuration is needed. For VR conditioning, only the bottom side of the board is populated, so don't be alarmed that the side labelled Top is left bare.
This board is physically and electrically compatible with other boards such as those from JBPerf. The Speeduino version is offered as an open hardware alternative to these.
Mounting
--------
The board can be mounted onto Speeduino fairly simply. To provide maximum clearance, it is recommended that the socket on the Speeduino is populated with female headers to lift the VR board away from other components. The following images show the mounting orientation of the VR board.
<img src="https://raw.githubusercontent.com/speeduino/wiki/master/vr/vr_mount1.JPG" width="60%" /> <img src="https://raw.githubusercontent.com/speeduino/wiki/master/vr/vr_mount2.JPG" width="60%" />
Jumper configuration
--------------------
It is critical that the jumpers on the Speeduino board be set appropriately to use the VR conditioner. Failure to do so could cause damage to your Arduino if the high voltage signal from the VR sensors is passed through directly due to incorrect jumper settings.
See the jumper settings table on the page for your board for how these should be configured for 1 or 2 VR inputs.
Technical
=========
The board is based around the reference design for the MAX9926 adaptive conditioner from Maxim. It optionally has mounting holes for 2 shunt resistors (R10 and R12) that can be installed to alleviate noise issues at high RPMs should it be a problem. If needed, these resistors should be of value 10k and rated for at least 1W.
Alternative uses
----------------
Whilst the 'VR' socket on the Speeduino board was initially designed for a VR conditioner, it can be used to process any incoming signal. An example of this would be an opto isolator to bring a 0-12v signal down to a safe 0-5v range. For reference, the pinout of the socket is shown below: <img src="https://raw.githubusercontent.com/speeduino/wiki/master/vr/VR%20Conditioner%20pinout.png" />