




























































































Estude fácil! Tem muito documento disponível na Docsity
Ganhe pontos ajudando outros esrudantes ou compre um plano Premium
Esta página não é visível na pré-visualização
Não perca as partes importantes!





























































































V0.3 Board 130 Overview............................................. 130 Board Features.......................................... 130 Physical Layout.......................................... 131 Proto area............................................. 131 Board Assembly.......................................... 132 Board Configuration....................................... 133 Board revisions.......................................... 136
This manual covers the hardware (sensors, wiring etc), software configuration and tuning elements related to running a Speeduino unit. When beginning with Speeduino, particularly if it is your first time installing and configuring an engine management system, this manual will assist in understand- ing Speeduino’s capabilities and how it should be installed, both in terms of hardware and software/- firmware.
Whilst this document will assist in providing information related to Speeduino’s configuration, it does not cover advanced engine tuning, fuel / ignition strategies etc. As with any changes to engine manage- ment, the possibility of damage to hardware is very real should a system be configured incorrectly.
Getting Started
In terms of starting out with Speeduino, it can help to understand the various components that make up the system:
As a starting point, it is generally recommended to first upload the firmware to your Arduino and get it connecting to the tuning software (Tuner Studio) before moving on to hardware assembly or wiring etc. Software setup and configuration on Speeduino can be completed without the need for any additional
Once the firmware is installed on the board, see Connecting to TunerStudio for more details on how to configure TunerStudio
Note that manually compiling the firmware is NOT required to install Speeduino, the easiest (and recommended for most users) method is using SpeedyLoader as described above. {.is-warning}
If you want to compile the firmware yourself, or make any code changes, then the source of both the releases and the current development version is freely available.
Requirements
Downloading the firmware
There are two methods for obtaining the Speeduino firmware:
Compiling the firmware
At this point you should have a compiled firmware! If you experienced a problem during the compile, see the Troubleshooting section below.
This video walks through the whole process of installing the firmware on your Arduino from scratch:
Optional (But recommended) There is an option available for changing the compiler optimization level, which can improve. By default, the IDE uses the -Os compile option, which focuses on producing small binaries. As the size of the Speeduino code is not an issue but speed is a consideration, changing this to -O3 produces better results (Approximately 20% faster, with a 40% larger sketch size) To do this, you need to edit the platform.txt file:
Note: This is NOT required if using PlatformIO, the above optimisation is applied automatically there
Installing
Once you’ve successfully compiled the firmware, installation on the board is trivial.
Troubleshooting
Incorrect Arduino board selected If you see the following (or similar) errors when trying to compile the firmware and the solutions: 1 scheduler.ino:317:7: error: ‘’OCR4A was not declared in this scope 2 scheduler.ino:323:8: error: ‘’TIMSK5 was not declared in this scope 3 scheduler.ino:323:25: error: ‘’OCIE4A was not declared in this scope
You may have the wrong kind of Arduino board selected. Set the board type by selecting Tools > Board
Arduino Mega 2560 or Mega ADK
Entire Speeduino project is not opened The following can occur if you have only opened the speeduino.ino file rather than the whole project. speeduino.ino:27:21: fatal error: globals.h: No such file or directory Make sure all the files are contained within the same directory, then select File->Open and find the speeduino.ino file. If you have opened the project correctly, you should have multiple tabs along the top:
Figure 1: speeduinoIDE.png
If you see only a single file or a small number of files then you haven’t opened the entire project.
Tuner Studio is the tuning interface software used by Speeduino. It runs on Windows, Mac and linux and provides configuration, tuning and logging capabilities. Once you have the firmware compiled and uploaded to your Arduino, you’re ready to setup Tuner Studio in order to configure and monitor it. If you haven’t yet compiled and uploaded the firmware, refer to the Installing Firmware page.
If you haven’t already, grab a copy of Tuner Studio from EFI Analytics Tuner Studio is available for Windows, Mac and linux and will run on most PCs as it’s system requirements are fairly low.
The current minimum version of TunerStudio required is 3.0.7, but the latest version is usually recom- mended. If you find Tuner Studio to be useful, please consider paying for a license. This is a fantastic program from a single developer that rivals the best tuning software in the world, it’s worth the money.
Create new project
When you first start TunerStudio, you’ll need to setup a new project which contains the settings, tune, logs etc. On the start up screen, select ‘Create new project’
speeduino.ini file
Figure 4: TS_3.png
Configuration options
Refer to the Configuring TunerStudio project options page for this
Comms settings
Select your comms options. The exact port name will depend on which operating system you are running and this will be the same as in the Arduino IDE. Baud rate should be 115200.
Figure 5: Comms Settings
Note: The Detect and Test port options require Tuner Studio version 3.0.60 or above to work correctly {.is-info}
Load base tune
Once the project is created, you’ll need to load in a base tune to ensure that all values are at least somewhat sane. Failure to do this can lead to very strange issues and values in your tune.
Figure 6: TS_6.png
In the Speeduino reference directory, you will find the base tune file to be opened:
Figure 8: TS_9.png
Once opened this page will be seen.
Figure 9: TS_4.png
The Settings tab does not affect the tune directly, but does change the way some things are displayed within Tuner Studio. Some menus are hidden by default, either for safety reasons or because they are still under development, and they can be enabled here.
Lambda Display
This changes whether the oxygen sensor reasons are shown in AFR (default) or Lambda.
Temperature Display
The temperature selection changes all degrees values within TunerStudio.
Reset control features
An optional Speeduino specific boot loader is available that has different methods of controlling the automatic reset. The vast majority of users should leave this on the default ‘Basic options only’
CAN options are currently under development, but settings are available on this tab for testing if you have supported hardware.
Figure 11: CAN Devices
Configuration of CAN devices is currently unsupported
Speeduino can be configured in many ways depending on the engine, sensors, ignition and fuel hard- ware being used. For this reason it is impossible to provide 1 single diagram that will cover all scenar- ios, however the below is provided as a high level guide that can be used as a starting point. See the Hardware Requirements page for specific requirments and exceptions to the image below.
Figure 12: wiring_overview.png
Speeduino contains 4 injector control circuits and is capable of supporting up to 8 injectors (and cylin- ders) with these.