Commit Graph

722 Commits

Author SHA1 Message Date
DeionSi 0605b7f822
Added loops per revolution gauge and adjustments to loops per second gauge (#741) 2021-12-23 14:45:48 +11:00
Josh Stewart 2892ac04fc Complete triggering options for SD logging 2021-12-22 15:20:39 +11:00
Daniel Tobias 241917cc7f
don't manually set values for FILTER defaults, use defines (#698)
fixes a few inconsistencies where defaults are set to different values, defaults for generic pressure sensors
2021-12-22 07:56:55 +11:00
Josh Stewart 744621db34 Slight tweaks to composite logger 2021-12-21 14:34:54 +11:00
Josh Stewart 809fd9d55b New Comms Tooth and Composite loggers 2021-12-20 16:22:23 +11:00
DylanRooijakkers 0a71d0972b
Boost by gear (Open loop) (#729)
* Boost by Gear

* Minor changes to PR

- Changed *2 into bitwise operator
- Reserved 1 extra bit for boostByGearEnabled for 2 additional boost by gear modes in the future

* Added mode to set percentage of boost target table

* Boost by Gear (Open loop)

Added Boost by Gear to open loop boost control
2021-12-19 09:43:14 +11:00
DeionSi db8722e3d0
Add MPX4100A pressure sensor;Fix Bosch 3 Bar TMAP baro setting (#693)
* Add MPX4100A pressure sensor;Fix Bosch 3 Bar TMAP baro setting.

* Correct MPX4100A pressure sensor values

* Rename sensors according to datasheets
2021-12-13 08:10:56 +11:00
Vitor Moreno B. Sales 1536b9196d
Steper OL+CL mode (#554) 2021-12-09 08:52:56 +11:00
Josh Stewart 8b262a0087 Sensor calibration in New Comms 2021-12-07 15:20:02 +11:00
Corey Harding b419f15a32
Add Radiator Cooling Fan indicator (#719). Fixes #716
* Update auxiliaries.ino

Add Radiator Fan Status Indicator Changes

* Update globals.h

Add Radiator Fan Status Indicator Changes

* Update cancomms.ino

Add Radiator Fan Status Indicator Changes

* Update speeduino.ini

Add Radiator Fan Status Indicator Changes

* Update speeduino.ini

Simplify Naming

* Update auxiliaries.ino

Simplify Naming

* Update cancomms.ino

Simplify Naming

* Update globals.h

Simplify Naming

* Update speeduino.ini

Enable Datalogging of Radiator Cooling Fan Status

* Update auxiliaries.ino

Remove old instances of fanOn

* Update globals.h

Remove old instances of fanOn

* Update auxiliaries.ino

Correct formatting

* Update auxiliaries.ino

formatting

* Update auxiliaries.ino

formatting

* Update auxiliaries.ino

formatting

* Update auxiliaries.ino

formatting

* Update auxiliaries.ino

formatting

Co-authored-by: github-account-0 <91717711+github-account-0@users.noreply.github.com>
2021-11-26 10:28:53 +11:00
Josh Stewart 6025b88fdf Merge branch 'master' of https://github.com/noisymime/speeduino 2021-11-25 13:19:59 +11:00
Josh Stewart c3805456b2 SD File copy to TunerStudio working 2021-11-25 13:19:54 +11:00
Pasi Kemppainen e213f2534e
PWM Fan addition (#637)
* Added PWM Fan functionality

PWM Fan output for Teensy and STM32

* Teensy3.5 timer fix for PWM Fan.

* Fix the conflicts with incorporate AFR

* Possibility to use PWM fan on mega too

Not tested at this stage!! Do not merge yet.

* Fix log entry size

* Remove duplicate stuff and use same way off toggling fan

* Fix typo errors

* Move fan pin definitions to globals.h

* Fix problems related to PWM fan.

* Revert previous change.

* Fix problems with idle things

* fix idle duty getting stuck at 100%

* Revert "fix idle duty getting stuck at 100%"

This reverts commit 7e9779483b.

* Revert "Fix problems with idle things"

This reverts commit 8bccb56d9a.

* Revert "Revert previous change."

This reverts commit fcb962864a.

* Remove mega support

* fixes

* more fixes

* moar fixes

* Should be working now

* Update speeduino.ini

* Lots of tweaking

* Update to work better with current FW

* Fix compiler warnings and include update things.

* Minor fixes

* Update logger.ino

* Fan duty working on mega too and fan output will be on/off

Co-authored-by: Pasi Kemppainen <pazi88@users.noreply.github.com>
2021-11-24 12:18:41 +11:00
Josh Stewart 2439883a69 Further SD compatibility work with new comms 2021-11-20 08:29:11 +11:00
Josh Stewart db2e667abb Initial work on new serial comms (Disabled in ini) 2021-11-19 11:07:38 +11:00
Josh Stewart 606fac30ff Merge branch 'master' of https://github.com/noisymime/speeduino 2021-11-11 12:06:53 +11:00
Josh Stewart bb9a7135aa Remove controllerPriority for the ADC filters 2021-11-11 12:06:48 +11:00
tx_haggis b3b32a489a
Allow logging of loopsPerSecond (#699) 2021-11-09 17:48:24 +11:00
DeionSi 366f720455
Ignition advance range changes (#701)
* Signed int8 for fixed crank angle (range -10to80)

* Limit ignition advance in tables to 70 and use different range for multiplied

* Limit WMI and Nitrous ign adv to reasonable values

* Fix IAT timing retard table

* Don't let IAT retard correction set a fixed advance. No other correction does this and this fixed correction can be changed by other corrections. Also the current code is not working as ignition offset is not used for IAT retard.
2021-11-09 07:57:15 +11:00
Josh Stewart fa481c5724 Don't lock trigger speed field in TS for dual wheel pattern 2021-10-18 14:34:44 +11:00
Josh Stewart ef59fbabf0 First complete (Basic!) SD logging 2021-10-13 17:10:05 +11:00
DeionSi b5f60ba012
Chrysler NGC pattern for 4-cylinder cam pattern (#679)
* Chrysler NGC pattern for 4-cylinder cam pattern

* New ignition mode for NGC decoder

* NGC decoder: Cleanup/performance improvements

* NGC decoder: Comment fixes
2021-10-11 10:55:32 +11:00
Pasi Kemppainen 968e6304a2
Fix speeduino.ini (#630)
Add missing description.
2021-10-06 18:35:03 +11:00
HWright9 1d3a30ab4c
Cylinder Trims to use Fuel Load (#672)
Changed from MAP to fuel load so these work with TPS. Added 2 and 3 cylinder engines to fuel trim.
Fixed Logging issue not showing PW2.
2021-10-04 01:14:31 +11:00
Josh Stewart 93de5eecda Initial work on common SDFat library.
Implements much of the layout and settings from #543
2021-10-04 00:09:53 +11:00
mike501 d8474462d8
DRZ400 Trigger Decoder (#625)
* DRZ400 

Create the DRZ400 decoder based on duel wheel. Works by creating a filter on the secondary filter so it only detects one of the two teeth enabling single tooth decoder to work

* fix missing commas to speeduino.ini
2021-09-16 10:36:39 +10:00
Vitor Moreno B. Sales b0e311b3e4
202108 fixes (#659)
Added correct pin out for SPI flash using BlackPill

Fix fsIntIndex size
2021-09-14 11:23:32 +10:00
tx_haggis de2dc65538
Missing commas (#656) 2021-09-12 09:14:06 +10:00
Josh Stewart b2878d66f8 Fixes for #649 2021-09-11 10:42:39 +10:00
Dave Smith 1b16b2ca6b
Fixes #646, log the load fields for TS to use (#647)
Co-authored-by: David Smith <dave@smithfamily.org.uk>
2021-09-10 16:35:18 +10:00
shiznit304 46e0742b79
Added VVT Min Coolant Condition (#649)
The VVT Minimum coolant condition

Update auxiliaries.ino

Co-authored-by: Josh Stewart <josh@noisymime.org>
2021-09-10 16:34:19 +10:00
tx_haggis a0a994acdd
INI file fixes (#651)
* Use CNAME

* Missing commas

* Add missing expression delimiters

* Fix incorrect table page numbers

* Remove duplicated empty section
2021-09-10 15:59:22 +10:00
Josh Stewart 82cdbdc561 202109 dev signatures 2021-08-20 15:26:14 +10:00
Josh Stewart e7ed4f86b8 Fix warning in ini 2021-08-10 09:54:25 +10:00
Josh Stewart 95b8e6ee75 Signatures for 202108 release 2021-08-09 23:05:32 +10:00
Josh Stewart 16b642d630 Remove the (non-functional) tacho sweep option from GUI 2021-08-09 16:35:57 +10:00
Vitor Moreno B. Sales b6147b65b0
AE graph unit for O2 sensor (#617) 2021-07-22 13:53:51 +10:00
Vitor Moreno B. Sales b5c6127028
Add delay option for idle advance (#601)
* Make idle advance respect delay

Also increased resolution to half second.

Remove code duplication, removed unnecessary math

* Add a new configurable delay

* Fix copy paste error

Co-authored-by: Josh Stewart <josh@noisymime.org>
2021-07-19 18:03:07 +10:00
Vitor Moreno B. Sales cd9092517c
Allow negative angle on flat shift (#600) 2021-07-19 09:35:42 +10:00
tx_haggis ef03225c32
INI file fixes (#615)
* Add missing commas

* Missing closing brace

* Missing &

Was using bitwise comparison (&): looks like it should be boolean (&&)

* Remove extra closing brace "}"

Co-authored-by: Josh Stewart <josh@noisymime.org>
2021-07-19 09:14:45 +10:00
Vitor Moreno B. Sales 118e3d40a5
Enhanced programmable outputs (#589)
* Enhanced programmable outputs

Added possibility to set minimum programmable output time.

Added names for the comparators to make it more user friendly, TS will complain about the change for existing tune.

Added more possibilities

Added possibility to set a minimum or a maximum output time

Added possibility to combine any number of rules or all of them

I got a lot of requests for this feature.

Keeps the RAM usage the same.

fix

* Fixed maximum timing

* Fix STM32 build
2021-07-19 09:11:04 +10:00
Pasi Kemppainen 0e3514980e
Add RPM switch point for instantaneous map sample method. (#572)
* Add RPM switch point for instantaneous MAP reading

* Add descriptions and other stuff to make PR

* Add suggested changes

* Use RPMdiv 100 for reading switch point

Co-authored-by: Josh Stewart <josh@noisymime.org>
2021-07-19 09:07:44 +10:00
DylanRooijakkers 49a251432c
Boost by Gear (#573)
* Boost by Gear

* Minor changes to PR

- Changed *2 into bitwise operator
- Reserved 1 extra bit for boostByGearEnabled for 2 additional boost by gear modes in the future

* Added mode to set percentage of boost target table
2021-07-18 10:37:16 +10:00
Josh Stewart e2d486a116 Add filter for Flex sensor (Eth% and fuel temp) 2021-07-17 09:42:58 +10:00
adamg-86 41a7bcfe84
fix the afterstart enrichment table display in TS (#568) 2021-07-08 17:13:07 +10:00
Pasi Kemppainen 1da3fb1304
Add EMAP gauge/logging (#596) 2021-07-04 11:26:57 +10:00
tx_haggis 12de8294a8
Add missing commas (#571) 2021-04-28 09:58:46 +10:00
Pasi Kemppainen 982e52db1b
VVT2 addition and closed loop VVT improvement (#551)
* VVT2 and closed loop VVT improvement

* Fix building for latest changes

* Fix CRC error

Co-authored-by: Josh Stewart <josh@noisymime.org>
2021-04-22 08:56:39 +10:00
Josh Stewart 9a7ab944d4 Fix spark 2 load axis showing incorrect name 2021-04-07 10:55:37 +10:00
Josh Stewart 324c1523e8 Expand Analog pin range for fuel/oil to A22 and add proper analog translate 2021-03-19 11:59:21 +11:00
Josh Stewart d6fbe824d1 Signatures for 202104-dev 2021-03-13 08:38:48 +11:00
Josh Stewart 62e889eaa9 Signatures and base tunes for 202103 2021-03-02 21:32:14 +11:00
Josh Stewart fd52de49d6 Potential fix for injector priming running multiple times 2021-03-02 13:52:11 +11:00
Josh Stewart b690de934c Fix value limits on secondary fuel and ignition tables in TS 2021-03-02 08:52:14 +11:00
celso acyr 8b57f37e5c
Condition vss idle adv (#454)
* Vss condition in Idle Advance.

VSS value condition to activate Idle Advance.

* Update 1

Adequacy of verification

Co-authored-by: Josh Stewart <josh@noisymime.org>
2021-02-22 11:32:47 +11:00
Dave Smith a9b1cba37b
TBI Staging (#496)
* Allow staged injection if we have throttle body injection regardless of the number of cylinders.

* Allow staged injection if we have throttle body injection regardless of the number of cylinders.

Co-authored-by: David Smith <dave@smithfamily.org.uk>
Co-authored-by: Josh Stewart <josh@noisymime.org>
2021-02-22 11:24:11 +11:00
Pasi Kemppainen 7d3df68dd3
Added poll level cam trigger type for missing tooth decoder. (#450)
* poll-level setting for speeduino.ini

* Update globals.h

* Simple poll level decoder

* Changed the poll level check to happen at tooth #1. Not at missing tooth.

* Set trigger edge automatically correct to work with closed loop VVT.

* Fix typo

* Changed to READ_SEC_TRIGGER() -macro

Co-authored-by: Pasi Kemppainen <pazi88@users.noreply.github.com>
2021-02-22 11:14:46 +11:00
Josh Stewart 116c05b611 Subaru 36-2-2-2 H6 decoder for testing 2021-02-17 12:34:42 +11:00
Josh Stewart 5fc35e21e9 Add back missing mixed-mode idle condition removed in last commit 2021-02-17 09:48:40 +11:00
Pasi Kemppainen a3373878c0
Add option to run PWM idle valve before engine is cranked over (#458)
* Add option to run PWM idle valve before engine is running

* Update updates.ino

Co-authored-by: Pasi Kemppainen <pazi88@users.noreply.github.com>
2021-02-17 08:56:31 +11:00
Josh Stewart 57ebf498a1 Add fuel trim tables 5-8 2021-02-15 16:01:28 +11:00
DIY-EFI 809bd3a54c
Add Ford ST170 Decoder (#530)
This adds a decoder for the Ford ST170 engine.
This setup uses a 36-1 primary and a unique 8-3 secondary trigger.
The existing missing tooth deooder with fixed parameters is used as the primary to reduce duplication.
2021-02-14 09:15:53 +11:00
Pasi Kemppainen f67817b4ad
Dwell map addition (#525)
* Add dwell map

* Add information about the dwell settings

* Fix copy/paste error

Co-authored-by: Pasi Kemppainen <pazi88@users.noreply.github.com>
2021-02-12 09:11:42 +11:00
Josh Stewart b045233ab5 Merge branch 'master' of https://github.com/noisymime/speeduino 2021-02-04 12:23:12 +11:00
Josh Stewart 68abcd9638 Remove RTC from mega2560 build 2021-02-04 12:22:30 +11:00
Daniel Tobias f59e45f286
programmable outputs being off is not an error, don't make them display red (#518) 2021-02-03 22:24:17 +11:00
Josh Stewart 414d664c03 Fix for excessive EEPROM writes causing disconnect when loading tune onto blank board 2021-02-03 11:51:17 +11:00
Vitor Moreno B. Sales 132cc6200d
Fix pin 54 selection (#511)
Fix pin 54 listing and renamed macros to better understanding

Co-authored-by: Josh Stewart <josh@noisymime.org>
2021-02-02 10:00:04 +11:00
Josh Stewart 54044edaad Separate chunkWrite command from the regular w command 2021-01-29 15:02:02 +11:00
Joe Mann 4ba9d15178
Pin definition for user board (#425)
* Pin definition for the Juice Box board

Ignition-only user board

* Update platformio.ini

Formatting corrections.

* Added JUICEBOX user board

User board and pin mappings

* Updated platformio.ini to reflect noisymime

* Add platformio.ini to gitignore

* Updated pin mappings

Pin mappings updated. Serial 2 now working

* Removed platformio.ini

* Match noisymime version

* Match noisymime version (2nd attempt)

* Update speeduino.ini

Match noisymime version to allow merge.

* JuiceBox pin layout added back in
2021-01-29 11:00:10 +11:00
ric355 dd7c21ba9b
Restore the 'translate' attribute for iacStepHyster to 1. Fixes #498 by (#504)
preventing the value sent from TS to the firmware from being zero when
a value of 1 is selected in the dropdown.    Note the original change
set the minimum value to 1; this has been retained.

Co-authored-by: Richard Metcalfe <richard@richmet.com>
2021-01-23 09:32:01 +11:00
Pasi Kemppainen 941da74154
Fix Advance 1/2 gauges in TS ini. (#509)
Co-authored-by: Pasi Kemppainen <pazi88@users.noreply.github.com>
2021-01-23 08:25:37 +11:00
Josh Stewart ca6eef2b31 Initial layout work on RTC and SD 2021-01-22 16:16:30 +11:00
Piotr Rogowski 62dbec22c5
Fix Warmup Enrichment dialog responsiveness (#500)
Move description from extra field to context help
2021-01-12 11:24:01 +11:00
Josh Stewart d5e4370343 Small change to the MPX4115/KP234 baro sensor values 2021-01-02 09:33:49 +11:00
Josh Stewart 0c5472096f 202101 dev signatures 2020-12-15 10:25:01 +11:00
Josh Stewart 0995eb4ad4 Fix for misaligned spark2 memory 2020-12-13 15:36:01 +11:00
Josh Stewart 23bbee6b82 Add some missed update variables for 202012 2020-12-13 09:40:03 +11:00
Josh Stewart 5de6becbfa Signatures and base tunes for 202012 2020-12-12 08:09:01 +11:00
Vitor Moreno B. Sales 0760fa65d0
STM32 jump to DFU bootloader (#485)
* STM32 jump to DFU

This enable jumping to hardware bootloader with software command.
Based on @iLeeeZi previous work.

Co-Authored-By: iLeeeZi <3372213+iLeeeZi@users.noreply.github.com>
Co-Authored-By: Pasi Kemppainen <48950874+pazi88@users.noreply.github.com>

* lowercase functions fixes

Co-authored-by: iLeeeZi <3372213+iLeeeZi@users.noreply.github.com>
Co-authored-by: Pasi Kemppainen <48950874+pazi88@users.noreply.github.com>
2020-12-03 09:24:15 +11:00
Josh Stewart 232439e39d Merge branch 'master' of https://github.com/noisymime/speeduino 2020-12-03 09:02:08 +11:00
Josh Stewart 98d08b7446 Add DIY-EFI wideband calibration 2020-12-03 09:01:54 +11:00
Vitor Moreno B. Sales c8ee272aca
Update speeduino.ini (#483) 2020-12-03 08:54:25 +11:00
celso acyr 4a2d6482e3
Value of programmable outputs in the datalogger. (#444)
Fixed value of programmable outputs, now appears in the datalogger.

Co-authored-by: Josh Stewart <josh@noisymime.org>
2020-12-02 10:50:06 +11:00
Josh Stewart 4f6e99cbe0 Revise the number of channels on the stm32 Balck testing board. Closes #473 2020-12-02 09:52:23 +11:00
Vitor Moreno B. Sales 00801ad82f
Added pinIsReserved macro (#479)
* Added pinIsReserved macro

Function used to don't initialize reserved pins such as USB on ARM boards, each pin must be defined on board.h file

* Update board_teensy35.h

Include Serial and CAN0 pins
2020-12-02 08:59:44 +11:00
Tjeerd df1f5ccbf0
Closed loop idle improve (#481)
* Squashed commit of the following:

commit c73f316fa5bf8c929a8fef5736f4a40045ea992f
Author: Tjeerd <tjeerdie@users.noreply.github.com>
Date:   Wed Nov 25 21:53:45 2020 +0100

    cleanup and fix merge issues

commit 57f1e8c6c73bcfb699b18ac51a2ec646be822f55
Merge: 04478ca 131673d
Author: Tjeerd <tjeerdie@users.noreply.github.com>
Date:   Wed Nov 25 18:59:58 2020 +0100

    Merge branch 'Closedloop_idle_improvements' into ClosedLoopIdleImprovement

commit 131673dc60417cbc773b0763d2f93e917c83325f
Author: Tjeerd <tjeerdie@users.noreply.github.com>
Date:   Sun Nov 22 21:54:03 2020 +0100

    more fiddeling with idle control

commit e4406166cde91552027a0dfb7958d6894098f066
Author: Tjeerd <tjeerdie@users.noreply.github.com>
Date:   Sun Nov 22 20:36:24 2020 +0100

    More fiddeling with idle control

commit 45822003d41e021e3ed93e8e14ce05479ddfd17b
Author: Tjeerd <tjeerdie@users.noreply.github.com>
Date:   Sat Nov 21 14:59:32 2020 +0100

    fix initial value

commit ff8fadae7844bd8e5934ee0f311fbf5e0842ec29
Author: Tjeerd <tjeerdie@users.noreply.github.com>
Date:   Thu Nov 19 23:14:14 2020 +0100

    add TPS limit to prevent integeral windup.

commit 7683b2e65569787b1c94eae6f4847cdadd394402
Author: Tjeerd <tjeerdie@users.noreply.github.com>
Date:   Thu Nov 19 22:40:53 2020 +0100

    cleanup idle.h

commit da55ee9dbd76d65608bfb5b950bc948a498b9599
Author: Tjeerd <tjeerdie@users.noreply.github.com>
Date:   Thu Nov 19 22:36:18 2020 +0100

    Further improvement simplifying code for closedloop PID control with feedforward.
    make PWM output work
    Tinkering new Idle control
    working on closedloop idle
    Initial work on improving closed loop Idle control

* reset platformio.ini

Co-authored-by: Tjeerd <tjeerdie@users.noreply.github.com>
2020-12-02 08:37:58 +11:00
DIY-EFI fe6f0c684a
Add Idle up output (#378)
Implement functionality to allow a defined output pin to toggle (normal or inverted) based on the idle up input pin.

Co-authored-by: Josh Stewart <josh@noisymime.org>
2020-11-16 08:49:22 +11:00
henriquebelaz 60ffb92c45
Added default Fueltech WB-O2 Nano wideband values. (#467)
* Added Fueltech WB-02 Nano default wideband calibration.

Default wideband lambda values go from 0.59 at 0.2V to 1.10 at 4.8V.

* Update speeduino.ini

* Update speeduino.ini
2020-11-12 07:23:23 +11:00
Josh Stewart 5e6fd748dc Merge branch 'master' of https://github.com/noisymime/speeduino 2020-11-10 16:12:14 +11:00
Josh Stewart 27630dfaf0 Memory definitions for a few upcoming changes 2020-11-10 16:11:59 +11:00
sandmanWAjeep 0f67b5ddfc
Update speeduino.ini (#466)
changed the numbers for the secondDataInBits. This fixed issue #464 where the second condition for rule number 1 was being used to evaluate rule number 2 of the programmable outputs.
2020-11-10 15:46:22 +11:00
Josh Stewart 4d28aca672 Remove typo in ini file. Fixes #474 2020-11-09 11:41:16 +11:00
Josh Stewart 4661a040f9 Free up position 0 on the pinLayout array. Fixes #472 2020-11-04 08:37:48 +11:00
Josh Stewart e4ecd00618 Allow the hard launch and flat shift cuts to operate below the engine Protection min RPM 2020-10-20 10:56:03 +11:00
Josh Stewart dc18ea91c1 Serial performance tweaks. Remove uneeded data rate variable 2020-10-19 15:22:19 +11:00
Josh Stewart 05f6da9e4a Move Teensy35 CAN init. Fixes #456 2020-09-18 12:42:24 +10:00
Josh Stewart ffa6054e37 Remove typo in ini file 2020-09-18 11:05:17 +10:00
celso acyr 14c7058239
ODG Wideband option (#452)
Common calibrations for ODG conditioners
2020-09-05 14:24:32 +10:00
Josh Stewart e418224405 Formatting cleanup of ini file 2020-09-04 09:41:50 +10:00