Commit Graph

1206 Commits

Author SHA1 Message Date
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
Josh Stewart a826b20307 Most of the remaining VSS parts 2020-05-12 12:14:37 +10:00
Pasi Kemppainen b7e91b58df
Added option for soft limit to also be able to retard by x-amount of degrees (#368)
* Changed the soft limit from absolute value to retard by

* Added selection for fixed and relative retard

Co-authored-by: Pasi Kemppainen <pazi88@users.noreply.github.com>
2020-05-09 08:39:13 +10:00
celso acyr 8ac3717507
Idle Steeper motor cracking in closed loop (#371)
* Idle Steeper motor cracking  in closed loop

Adding to run position while starting the engine..

* Update speeduino.ini
2020-05-06 15:17:53 +10:00
Josh Stewart a335820b46 Enable the use of the 50% hardware test modes 2020-05-04 15:08:45 +10:00
Josh Stewart ccad3d258f VSS calibration routines (untested) 2020-04-23 20:34:31 +10:00
Josh Stewart e5f2193abe Introduce command button handler and expand the hardware testing to 8 channels 2020-04-22 11:02:35 +10:00
Josh Stewart 5366695f96 Initial VSS dialog 2020-04-20 23:43:02 +10:00
Josh Stewart fae78b95f7 Merge branch 'master' of https://github.com/noisymime/speeduino 2020-04-20 22:57:39 +10:00
Josh Stewart 4aa86aae67 Initial basic VSS calcs (Incomplete) 2020-04-20 22:57:00 +10:00
Antti Muurikainen fb0750580b
FIx flexfuel ignition correction value displayed in TS (#361) 2020-04-20 19:52:29 +10:00
Antti Muurikainen 274f424151
Acceleration enrichment cold temperature adjustment (#359)
* New README format

* Update README.md

* STM32F407 fixes (#338)

* Correct overflow for 32bit timers

* fix pins PA0-PA5 on some f407 boards

* Enable access to SRAM Backup domain at boot

* Add missing callback functions

* Change timer resolutions. Corrects idle/aux timer frequencies

* 32 bit overflow only for STM32F4

* Check and update ignition count target before checking other conditions to avoid peramently disabling ego correction in case ignition count rolls over while ego correction is disabled. (#344)

Co-authored-by: bera-n <notrevealedbera-n@gmail.com>

Fixes #343

* Setup memory for vss

* Update all dialog help links to the new wiki

* [DFCO] Add a minimum coolant (#353)

* [DFCO] Add a minimum coolant

On pure ethanol or E85 the engine need a lot fuel to return from DFCO when cold.

Add a minimum temp

Fixes copy-paste error

Fix sign error

* Add signed cast on the calibration offset

Co-authored-by: Josh Stewart <josh@noisymime.org>

* AE cold temp correction

Added possibility to increase AE amount on cold engine. Max cold modifier is tapered with clt.

* Added help texts and value limitation in speeduino.ini and overflow prevention in corrections.ino

* Terminology patch

* Unsigned long in calculation isn't really needed as AE max setting is 255 (+100). Changed to uint16_t.

* Comment revision for the previous

* Updated function description

* Fixes to make correction equal in MAP and TPS modes

* AE cold temp correction

Added possibility to increase AE amount on cold engine. Max cold modifier is tapered with clt.

* Added help texts and value limitation in speeduino.ini and overflow prevention in corrections.ino

* Terminology patch

* Unsigned long in calculation isn't really needed as AE max setting is 255 (+100). Changed to uint16_t.

* Comment revision for the previous

* Updated function description

* Fixes to make correction equal in MAP and TPS modes

Co-authored-by: Josh Stewart <josh@noisymime.org>
Co-authored-by: iLeeeZi <ilari.vehniainen@hotmail.fi>
Co-authored-by: bera-n <bjorn.nyhlen@gmail.com>
Co-authored-by: Vitor Moreno B. Sales <vitor_boss@yahoo.com.br>
2020-04-19 08:21:52 +10:00
Vitor Moreno B. Sales 127bc1585a
[DFCO] Fix - delay isn't working if conditions aren't met immediately (#363)
* [DFCO] Include a delay

* [DFCO] Fix - delay isn't working if conditions aren't met immidiatly

Co-Authored-By: muuris <55035659+muuris@users.noreply.github.com>

Co-authored-by: Josh Stewart <josh@noisymime.org>
Co-authored-by: muuris <55035659+muuris@users.noreply.github.com>
2020-04-17 23:32:10 +10:00
Antti Muurikainen 8e89d5ff3e
Fix negative values in flexfuel ignition advance (#360)
* Fix negative values in flexfuel

* Simplification

* Update previous values

* Comment update
2020-04-16 16:31:54 +10:00
Antti Muurikainen 5b9bc789ab
Datalog entries of pulsewidth with 3 decimals instead of 1 (#336)
It's already with this higher resolution in TS, and tuning idle and low load area with big injectors really require more than just one decimal precision.
2020-04-12 08:13:53 +10:00
Antti Muurikainen 53faee1a3e
First commit (#358) 2020-04-12 07:31:03 +10:00
Vitor Moreno B. Sales 62e90379f6
[DFCO] Add a minimum coolant (#353)
* [DFCO] Add a minimum coolant

On pure ethanol or E85 the engine need a lot fuel to return from DFCO when cold.

Add a minimum temp

Fixes copy-paste error

Fix sign error

* Add signed cast on the calibration offset

Co-authored-by: Josh Stewart <josh@noisymime.org>
2020-04-08 11:25:53 +10:00
Josh Stewart 7edd9f7d38 Update all dialog help links to the new wiki 2020-04-08 08:30:47 +10:00
Josh Stewart af5d769147 Setup memory for vss 2020-04-07 23:45:24 +10:00
Vitor Moreno B. Sales 558d063f56
[DFCO] Include a delay (#348)
Co-authored-by: Josh Stewart <josh@noisymime.org>
2020-04-03 14:46:11 +11:00
iLeeeZi fc40cc24db
prevent priming pulse if flood clear is active (#289) 2020-04-02 10:42:26 +11:00
iLeeeZi 8722065168
6 and 8 cylinder sequential injection (#280)
* 6 cyl sequential related cleanup

* disable 6cyl seq fuel trim tables for now

* add the over 2 squirts fix

* Add 5 and 6 cylinder semi and full sequential

* 5 cylinder changes

* fix priming pulse when using paired or semi-sequential injection

* add 5 cyl special case back

* Add missing 8 cyl stuff

* add missing PW8

* allow to change inj4Ang with non sequential 5 cylinder

* add missing helptext
2020-04-01 17:03:11 +11:00
Vitor Moreno B. Sales 1c7ac1a825
Fix idle taper variable names and include commits counter (#346)
* Fix ini errors

* Include commits counter
2020-04-01 14:33:41 +11:00
Josh Stewart 5107372f30 Merge branch 'master' of https://github.com/noisymime/speeduino 2020-04-01 12:21:03 +11:00
Josh Stewart 5ce4d06975 Add design files for v0.4.4b board 2020-04-01 12:20:47 +11:00
Pasi Kemppainen 1b4d81453c
6&8-cyl wasted cop (#314)
* Added 6-cyl cop mode

* Update to ini

* Why not 8-cyl wasted COP too

Co-authored-by: Pasi Kemppainen <pazi88@users.noreply.github.com>
2020-03-26 21:49:55 +11:00
Josh Stewart e6cf7b57cb Cleanup from last commit 2020-03-25 22:08:08 +11:00
Vitor Moreno B. Sales 4ca428e61e
[IDLE] Crank to run PWM taper (#340) 2020-03-25 21:36:45 +11:00
Vitor Moreno B. Sales 63b726cf78
[ASE] Transition time to disable (#342)
* [ASE] Transition time to disable

* Real time ASE

* Fix last commit

* Fix variables declaration
2020-03-24 12:36:24 +11:00
iLeeeZi a3aedad316
Calculate the injector open time in tunerstudio (#319)
* Add injector open time calculation option

* update calculations dash

* better help text

* remove option to turn off
2020-03-19 15:27:23 +11:00
Josh Stewart bc67453098 Addition of 0-720 injector timing curve. See #306 2020-03-17 18:27:05 +11:00
Josh Stewart faaf530b0c Merge branch 'master' of https://github.com/noisymime/speeduino 2020-03-17 10:39:39 +11:00
Josh Stewart 48387cf14c Change ini to move individual injector timing to an RPM based curve 2020-03-17 10:39:35 +11:00
Antti Muurikainen b942f090cf
Added cranking enrich range (#335)
* First commit

Increases cranking enrichment range from 0..255% to 0..1275%, accuracy is reduced to 5% steps but this should be enough.

Max allowable gammae increased from 511% to 1500%, overflow in PW-function prevented.

* Last one missed the second overflow prevention (less bitshift)

* Version needs to be increased in order to avoid performing value update routine on every startup

* Less bitshift is required only on iCorrections
2020-03-17 10:38:03 +11:00
Josh Stewart f8b382f1ae Update ignition channel numbers for BMW PNPs 2020-03-16 12:02:49 +11:00
Josh Stewart 0948abe77a Merge branch 'master' of https://github.com/noisymime/speeduino 2020-03-12 11:44:38 +11:00
Josh Stewart 9249c63ac9 Add new dynamic ini mode based on # inj/ign outputs 2020-03-12 10:07:40 +11:00
Pasi Kemppainen 743129b21c
Small change to write Aux in channel names to Data Logs. (#334)
* Aux in names to datalog

* Datalog rest of the channels and also only if configured
2020-03-07 08:43:17 +11:00
Josh Stewart 228d491098 Dev signatures for March 2020 2020-02-18 17:29:32 +11:00
Josh Stewart e31773ff13 Base tunes for 202002. Fixes #304 2020-02-16 20:27:22 +11:00
Josh Stewart 80f7fcf7fd Signatures for 202002 2020-02-16 20:11:10 +11:00
Josh Stewart 5be1626bca Create schematic v0.4.4b_schem.pdf 2020-02-03 17:34:36 +11:00
Josh Stewart 6f8c126581 Merge branch 'master' of https://github.com/noisymime/speeduino 2020-01-30 11:53:03 +11:00
Josh Stewart 8886d3dbd7 Bump required TS version to 3.1 to allow for use of restrictSquirtRelationship option 2020-01-30 11:52:51 +11:00
iLeeeZi 335a191238 Wue autotune (#294)
* add wue autotune

* fix ve autotune if lambda is used

* add lambdaTarget

* fix typo

* change one name
2020-01-28 22:50:34 +11:00
Josh Stewart 0be03b20eb Merge branch 'master' of https://github.com/noisymime/speeduino 2020-01-21 16:59:42 +11:00
Josh Stewart 52cce70784 Resolve merge 2020-01-21 16:59:33 +11:00
Josh Stewart d4104ea9f2 Minor tweaks for better operation of higher sequential fuel counts 2020-01-21 16:57:26 +11:00
Pasi Kemppainen 9d0b74982b Pin mapping for BMW PnP boards (#295)
BMW PnP pin mapping to support 6cyl fully seqvential. Basically same as v0.4 pin mapping, but in addition there is correct pins for ign/inj 5-6.
2020-01-21 15:41:51 +11:00
Josh Stewart e004a81524 Increase maximum corrections value from 255 to 511 2020-01-21 15:16:54 +11:00
Josh Stewart fee931c421 Updated files for the early SpeedyMAP work 2019-12-19 17:38:49 +11:00
Josh Stewart 9ffbdcc132 Cleanup of hardware directory 2019-12-19 17:37:25 +11:00
Bruno Bousquet ac3ec76b53 add io summary and gauge limits dialogs in TS (#288)
* add io summary gauge limits dialogs in ts

* Clean titles
2019-11-28 16:30:34 +11:00
Josh Stewart 8cb7876406 Improvements to the high speed loggers. Fixes #285 2019-11-25 14:50:43 +11:00
Josh Stewart 262e9dc506 Dev signatures for 201912 2019-11-19 21:17:44 +11:00
Josh Stewart f1f593f97c Signatures and base tunes for the 201911 release 2019-11-14 23:17:46 +11:00
Josh Stewart bfe704ab05 Add default values in updates.ino for 201911 2019-11-14 18:00:39 +11:00
Josh Stewart d75dbf9719 Add new MAP sampling option (Event average) 2019-11-14 17:40:25 +11:00
iLeeeZi 77975a0a59 Fix idle advance delay and add baro correction comms (#279) 2019-11-11 14:32:49 +11:00
Josh Stewart de8b563028 Merge branch 'master' of https://github.com/noisymime/speeduino 2019-11-10 19:27:56 +11:00
Josh Stewart 44ce30ab75 Cleanup idle adv dialog and add delay 2019-11-10 19:26:10 +11:00
Bruno Bousquet 5b876b252a fix WUE lookup function and add missing commas in speeduino.ini (#278)
* fix WUE lookup

* fix missing commas in speeduino.ini

* fix correctionWUE
2019-11-10 19:04:32 +11:00
iLeeeZi 892e05d2fc Add idle ignition timing correction feature (#275)
* Add idle advance and idle switch settings

Add idle RPM target based ignition timing correction

* Change few names to avoid confusion

changed idle switch to closed throttle position sensor  (CTPS) and moved CTPS settings under idle advance settings dialog for now
2019-11-08 16:40:53 +11:00
Pasi Kemppainen 3a6b9045f3 Added missing TS gauges (#272)
* Map reading offset fix

Because of this, mega was backfeeding +5v to map sensor signal pin, causing offset to map reading.

* Update init.ino

* Added new TS gauges

Added missing TS gauges:
- boostTarget
- Boost Duty Cycle
- Target AFR
- VVT Duty Cycle
- Idle Target RPM
- IAC Value
- # Sync Losses
2019-11-06 17:13:18 +11:00
Josh Stewart 71add256fc
Merge branch 'master' into dev/injOpen 2019-11-06 17:00:45 +11:00
Josh Stewart 4ffee25c4a Add manual baro correction curve 2019-11-04 10:14:11 +11:00
Josh Stewart 434467686c Prevent potential overflow of the ASE enrich value. Fixes #274 2019-11-01 14:25:51 +11:00
Bruno Bousquet 91f90f32e6 Add condition to apply BattV correction only on open time 2019-10-14 21:08:18 -04:00
Josh Stewart be7e8359bc
Merge pull request #258 from Tjeerdie/dev_STM32F407VE
Development STM32F407VE with official core
2019-10-15 07:59:12 +10:00
ric355 0e5f50d1e9 Separate out stepper homing steps from maximum number of steps (#257)
* Provide support for changing the idle stepper direction through the use
of an "inverted Y/N" setting. This is to avoid the need to change wiring
if it turns out the stepper is working in the opposite direction to what
is expected.

* Add a new setting maximum number of stepper motor steps, so that homing can be done more reliably.
2019-10-01 17:22:33 +10:00
hoogendijkta a8bc25bd9d Merge branch 'FixTimers_STM32F4' 2019-09-30 21:44:23 +02:00
hoogendijkta 9ccb913738 Added STM32F407VET6 to speeduino.ini 2019-09-25 20:14:00 +02:00