* 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
* 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>
* 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.
* Chrysler NGC pattern for 4-cylinder cam pattern
* New ignition mode for NGC decoder
* NGC decoder: Cleanup/performance improvements
* NGC decoder: Comment fixes
* 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
* 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>
* 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>
* 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
* 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>
* 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
* 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>
* 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>
* 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>
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.
* 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
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>
* 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>
* 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
* 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>
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>
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.