Commit Graph

1177 Commits

Author SHA1 Message Date
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
Daniel Tobias 03650d80eb
Doxygen fixes (#689)
* doxygen warning fixes

* run doxygen -u, add speeduino logo to src tree for doxygen

* increase DOT_GRAPH_MAX_NODES

so we generate the complete call graph for loop() and setup()
2021-10-21 08:03:29 +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 7fe55037dc Remove remaining base tunes 2021-08-09 21:31:23 +10:00
Josh Stewart 9849b6a74f Remove old datasheets from repo 2021-08-09 21:23:01 +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
Josh Stewart f43d426018 Remove hardware design files 2021-06-05 23:29:07 +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
Vitor Moreno B. Sales dd3847bfd3
STM32 fixes and tweaks (#553)
* STM32 fixes and tweaks

Removed generic STM32F103 options from PlatformIO
Added optional serial compilations on PlatforIO
Make sure all timers are stoped at boot
Small speed improve at SPIasEEPROM
Added timers usage table to board_stm32_official.h

* Added base board
2021-04-15 10:26:58 +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 0ca79b1ecc Minor parts updates to v0.3 BOM 2021-01-02 09:32:34 +11:00
Josh Stewart a92aa958d8 Minor parts updates for v0.4 BOM 2020-12-16 07:49:10 +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
Josh Stewart bc0b756a92 Minor BOM file updates 2020-09-18 10:47:39 +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
Josh Stewart 494d63d598 Add serial rate gauge and throughput tweaks 2020-09-04 09:19:43 +10:00
Josh Stewart e9fcaffe5b Merge branch 'master' of https://github.com/noisymime/speeduino 2020-08-23 08:57:24 +10:00
Vitor Moreno B. Sales 25f2ef24d0
[Decoder] Add Weber-Marelli pattern (#400)
Co-authored-by: Josh Stewart <josh@noisymime.org>
2020-08-23 08:56:35 +10:00
Josh Stewart f746471b47 Separate 2nd spark table from fuel table 2020-08-23 08:45:47 +10:00
Josh Stewart fb15a565ea
Pr/435 (#445). Closes #435
* Add files via upload

* Add files via upload

* Update storage.h

* Update log size

Co-authored-by: DylanRooijakkers <69131866+DylanRooijakkers@users.noreply.github.com>
Co-authored-by: Dylan Rooijakkers <rooijakkersd@gmail.com>
2020-08-23 08:27:44 +10:00
Josh Stewart 9a0f770a75 September 2020 development signatures 2020-08-23 08:09:51 +10:00
celso acyr 6b5788d09f
FIX A8 Fixed duplicate A8 (#443)
Fixed duplicate A8
2020-08-23 07:33:49 +10:00
Josh Stewart 21063a60ff August 20 signatures and base tunes 2020-08-22 21:15:25 +10:00
Josh Stewart 7c3db9b7df Fix for programmable outputs not funcitoning 2020-08-20 16:58:44 +10:00
Josh Stewart bb58d02b36 Merge branch 'master' of https://github.com/noisymime/speeduino 2020-08-18 16:19:36 +10:00
Pasi Kemppainen c2558fa4a1
Bug fix and small improvement for local aux input channels (#398)
* Add config error indicator

* Fixes and naming change

* Fixes

* Change to fix conflicting error bit flag in init

* Updating IO flag setting

Co-authored-by: Pasi Kemppainen <pazi88@users.noreply.github.com>
Co-authored-by: Josh Stewart <josh@noisymime.org>
2020-08-18 14:51:32 +10:00
iLeeeZi 8e9b680be6
Flex fuel sensor temperature and temperature correction (#413). Also closes #252
* Fuel temperature correction

* fix negative temperatures

* typo fixed
2020-08-18 12:34:56 +10:00
Josh Stewart 18e608be57 Add VSS gauge/logging in MPH 2020-08-18 12:18:30 +10:00
Josh Stewart af13bf7276 REvised layout for the progammable outputs dialog 2020-08-17 09:02:27 +10:00
Vitor Moreno B. Sales 8299c74d38
[AE] Introduce ReqFuel % multiplier (#332)
Co-authored-by: Josh Stewart <josh@noisymime.org>
2020-08-16 09:44:03 +10:00
Josh Stewart 20ee2c88a5 Combine multiply MAP options into single dropdown 2020-08-16 09:36:20 +10:00
Josh Stewart 356b8da8f0 Merge branch 'master' of https://github.com/noisymime/speeduino 2020-08-16 09:01:44 +10:00
Josh Stewart 73938e9640 Test work on progammable outputs UI 2020-08-16 09:01:40 +10:00
Vitor Moreno B. Sales f84bdade64
[PW Math] Introduce fixed MAP multiply (#347)
* [PW Math] Introduce fixed MAP multiply

* Compilation fix

Co-authored-by: Josh Stewart <josh@noisymime.org>
2020-08-16 08:59:36 +10:00
Josh Stewart a6aafee534 Updated PW tests to ensure that work following the introduction of incorporate AFR 2020-08-14 13:17:16 +10:00
Antti Muurikainen 0c78b13c9f
First commit on incorporate AFR (#402) 2020-08-13 22:48:26 +10:00
Vitor Moreno B. Sales b29fa21775
Programmable outputs (#396)
* Programmable outputs

* Prevent array overflow

* Show fullStatus variables names on dialog

* Further fixes

* Update with master

Co-authored-by: Josh Stewart <josh@noisymime.org>
2020-08-12 14:21:36 +10:00
Josh Stewart 9624985299 Revert TS to using 1023 values for ADC calibration to allow custom WB entry 2020-08-11 17:25:20 +10:00
Josh Stewart 53c0dedde1 Complete new calibration routines for testing 2020-08-11 12:07:12 +10:00
Josh Stewart 0fe885344f Mostly working temp calibrations (See #422) 2020-08-07 14:30:56 +10:00
celso acyr 1d45f0d733
Fixed step value. (#390)
* Iac automatic resolution

Fix idle stepper, work direct with values < 255 and keep existing mode

* Fixed Hysteresis for stepper

0 value bug the counter.

* Fix value

Changed value to 255.

* Ensure no overflow on iacMaxSteps

Co-authored-by: Josh Stewart <josh@noisymime.org>
2020-07-30 09:14:10 +10:00
Pasi Kemppainen cc2b95da8d
Add "Half sync" indicator (#370)
* Half sync indicator for 3 different trigger patterns.

Added half sync indicator which shows that there is only primary trigger present for missing tooth, dual wheel and miata 9905 trigger patterns

* missing tooth required some adjusting

* forgot to remove stm32 pin mapping. I have it in other PR

* Leave only for missing tooth

Co-authored-by: Pasi Kemppainen <pazi88@users.noreply.github.com>
Co-authored-by: Josh Stewart <josh@noisymime.org>
2020-07-29 11:07:43 +10:00
Josh Stewart 72531f9c9c Fix incorrect memory alignment in Pg 10 2020-07-27 23:47:52 +10:00
Autohome2 58200f8707
07072020 obdp3 (#411)
* fix to serial0 and serial3 when offset is 0 uses wrong command

* fix to serial0 and serial3 when offset is 0 uses wrong command

* fix hex num

* add teensy canbus library
teensy can read and write functions enabled

* update to teensyduino 1.49

* part 1 prepare structure for obd can port works
rename old can_command() to secondarySerial_command() for secondary serial and create new can_command for real CAN instruction decode.
fix masking for teensy 3x and 4

* set mega as default build

* last part of main obd2 canbus for teensy MCU

* tested obd2 for teensy3.5

* Only init CAN on Teensy with 3.5. Otherwise this will lockup on 4.1

Co-authored-by: Josh Stewart <josh@noisymime.org>
2020-07-27 12:34:05 +10:00
Vitor Moreno B. Sales 31541cca2d
[VVT] PID work (#412)
* [VVT] PID work

Tested on a half  moon CAM pattern as working, it should work on others too.

Added option to reverse the PWM output

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

* Fix typo

Co-Authored-By: diy-efi <diy-efi@users.noreply.github.com>

* Add second VVT pwm on same timer

All precious VVT variables was renamed to VVT1 and added VVT2 stuff.

Tested with logic analyzer.

* Define VVT2 for other boards

Added vvt2Pin

* Just update on first tooth

Co-authored-by: pazi88 <48950874+pazi88@users.noreply.github.com>
Co-authored-by: diy-efi <diy-efi@users.noreply.github.com>
2020-07-27 09:05:02 +10:00
Mateusz Muszyński 5b342d27bd
Water methanol injection (#417). Refer #154
* Add water methanol injection

* Set signature back to default

* Set signature back to default

Co-authored-by: Josh Stewart <josh@noisymime.org>
2020-07-22 11:27:21 +10:00
Josh Stewart f006dacf2b Merge branch 'master' of https://github.com/noisymime/speeduino 2020-07-05 14:30:22 +10:00
Josh Stewart 99eb493d90 Minor changes to the engine limiter interface 2020-07-05 14:30:18 +10:00
Vitor Moreno B. Sales 7bcf4bcb15
[FP] Add injector delay for priming (#391)
* [FP] Add injector delay for priming

* Fix build

* Add the startup TPS read back in to ensure proper flood clear check

Co-authored-by: Josh Stewart <josh@noisymime.org>
2020-07-05 14:28:57 +10:00
Josh Stewart e42a742797 Initial implementation of the 420a decoder. See #133 2020-07-01 16:54:52 +10:00
Josh Stewart ae29912ecd Minor typos, comments and wording cleanup 2020-06-30 11:18:12 +10:00
Josh Stewart 1ec7e7ee86 Mostly complete engine protection (excl AFR) 2020-06-06 14:27:46 +10:00
Josh Stewart 56509b3a4a Merge branch 'master' of https://github.com/noisymime/speeduino 2020-06-06 10:55:38 +10:00
Josh Stewart c3c6cc33c7 Minor work on oil and fuel pressure readings 2020-06-06 10:55:34 +10:00
Josh Stewart 940a6826b5 Initial work on engine protection system 2020-06-06 10:52:27 +10:00
Vitor Moreno B. Sales 27cc6ddf4c
Fix recently added functions (#393)
Changed aseTsnDelay name to aseTaperTime
Added a default aseTaperTime to 0.1S
aseTsnStart isn't needed, removed
Added IAC_STEP_OL taper, big thanks to Ryan
Default dfcoMinCLT is 0C, added calibration offset and increased it to 40C as described on updates.ino
Changed bitRead to BIT_CHECK
Fix dfcoStart wasn't been reseted if conditions was droped before elapsed time causing next DFCO activation right away
Few cosmetical changes on ini

Update commits counter
2020-05-29 12:25:33 +10:00
Josh Stewart fc43f3a479 Allocate memory for fuel/oil pressure inputs 2020-05-29 12:21:28 +10:00
Josh Stewart 2c1269eef9 June development signatures 2020-05-25 09:14:48 +10:00
Josh Stewart 64ef8f40ae Signature and base tunes for 202005 2020-05-22 15:38:15 +10:00
Josh Stewart 24260d1368 Add missing init sections for 36-2-1 2020-05-22 13:49:33 +10:00
Vitor Moreno B. Sales b321e8e17d
[PID] Increase parameters and output resolution (#377)
Parameters are 0.03125% for kP and kI, 0.00981% for kD. Increased output 4 times to give enought room for kP.

PID now ignore compute if input is zero to avoid overshoot, kI and kD part as well.

Added idlePID.Initialize() to crank part to start PID from a working condition.

Show idleLoad when cranking.

Fix TS numbers, increase max value

Co-authored-by: Josh Stewart <josh@noisymime.org>
2020-05-21 19:29:38 +10:00
Antti Muurikainen 113247f005
Cranking enrichment to ASE (or run) taper (#364)
* Cranking enrichment tapering to ASE (or run)

* Precision fix and better helptext

* Fixed calculation and added comments

* Small fix for the taper final values

* Styling

* runSecsX10 is now uint32_t, so modify accordingly
2020-05-19 15:22:43 +10:00
Josh Stewart 05022a5d22 Add option to disable fan whilst cranking. Fixes #383 2020-05-18 10:30:03 +10:00
Josh Stewart d73af98010 Merge branch 'master' of https://github.com/noisymime/speeduino 2020-05-12 12:14:57 +10:00