Commit Graph

2475 Commits

Author SHA1 Message Date
Josh Stewart bce06ec4cf New test write calibration methods for the consolidation 2020-07-23 09:44:48 +10:00
Josh Stewart c8d07527ba Teensy 4.1 compatibility fixes 2020-07-23 09:39:51 +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
Tjeerd b9bab9cbfc
Changed platformio.ini to build with the newest visual studio code and PIO. (#418)
Co-authored-by: Tjeerd <tjeerdie@users.noreply.github.com>
2020-07-19 20:31:00 +10:00
Josh Stewart d5bc11e006 Fix bug with the delayed inj priming that could cause lockup 2020-07-14 14:05:07 +10:00
Josh Stewart 4e1a429ff6 Fix the travis test so that it uses Teensy41 2020-07-14 13:58:25 +10:00
Josh Stewart e17874553f Change the TEENSY40 config to be TEENSY41 2020-07-14 13:57:36 +10:00
Teemo Vaas 92ab0a847c
Vbatt reading overflow fixed. sensors.ino (#409)
* Update sensors.ino

Prevent vbatt reading form going negative due to the vatVoltCorrect and overflowing the uint variable.
Variable changed to signed int  and added check to correct if gone negative.
Thought given that all filters using the temp variable shoud remain working.

* Update sensors.ino
2020-07-08 15:29:56 +10:00
Josh Stewart 90fe79a059 Only allow the oil pressure protection to enable if the oil pressure input is actually on 2020-07-07 16:47:28 +10:00
Josh Stewart bf8d9558fe Minor changes to the injector priming routine 2020-07-06 22:17:56 +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
Teemo Vaas 876c09ff27
Pinout corrections for STM32F407VE (#407)
Some more corrections to move battery voltage measurement from pin PC6 to PC5. Because PC6 is not analog input capable (black_STM32F407VE boards).
2020-07-03 14:02:26 +10:00
Vitor Moreno B. Sales f04ea85db4
BlackPill update (#406)
* BlackPill fix

* Fix for disable timers

* Fix STM32GENERIC
2020-07-02 17:25:16 +10:00
Josh Stewart cd6f831c99 Merge branch 'master' of https://github.com/noisymime/speeduino 2020-07-02 10:35:49 +10:00
Tjeerd 7c82095d44
STM32F407 32bit timer issue fix (new) (#374)
* Fixed 32 bit timers again

* Set the battery voltage to a default value when board starts. So before a sensible value is read this is 0. The dwell correction is creating the ignition spurious pulses direct after reset of the  board. (When "flying start" the engine)
2020-07-02 10:35:27 +10:00
Josh Stewart e964ceac6a Warnings cleanup 2020-07-01 17:52:17 +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 6242fa4412 Fix crash on higher IGN channel setups when using trigger fixed cranking timing 2020-06-29 14:39:24 +10:00
Josh Stewart 53bd588062 Experimental new rolling code method (WIP) 2020-06-29 14:38:01 +10:00
Josh Stewart 3d878a1ad4 Default stm32f4 board to 8/8 channels 2020-06-26 15:36:51 +10:00
Josh Stewart b1709f2067 Merge branch 'master' of https://github.com/noisymime/speeduino 2020-06-26 14:56:23 +10:00
Josh Stewart 1f2caef3ba Fix for bad TPS values when using in 'reversed' wiring setups 2020-06-26 14:55:45 +10:00
Josh Stewart ac6f1d1b25 Initial memory reduction work on temp tables (WILL BREAK CALIBRATION) 2020-06-16 08:09:14 +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
Josh Stewart 2368b8890d Merge branch 'master' of https://github.com/noisymime/speeduino 2020-06-05 09:30:42 +10:00
Josh Stewart c3291e8768 Minor corrections on HW test modes 2020-06-05 09:30:06 +10:00
Vitor Moreno B. Sales 7171c12a6a
Fix bu introduced on last commit (#394) 2020-05-31 18:35:25 +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 141078639b Merge branch 'master' of https://github.com/noisymime/speeduino 2020-05-29 12:21: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 7d28b454c3 Final minor cleanup 2020-05-24 21:36:28 +10:00
rei3co 4fb28a9521
Update contributing.md code style guide links from old to new wiki. (#389)
* Update contributing.md code style guide links from old to new wiki.

* Remove /en from new wiki link.
2020-05-23 08:53:37 +10:00
Josh Stewart 64ef8f40ae Signature and base tunes for 202005 2020-05-22 15:38:15 +10:00
Josh Stewart 326405ac55 Flag an error if an invalid MAP reading is calculated 2020-05-22 15:26:20 +10:00
Josh Stewart 24260d1368 Add missing init sections for 36-2-1 2020-05-22 13:49:33 +10:00
Josh Stewart 1a87223472 Merge branch 'master' of https://github.com/noisymime/speeduino 2020-05-22 13:29:45 +10:00
metacomgd bcf9063aaa
Added 36-2-1 basic support (#366)
Co-authored-by: k <k@mj.gd>
2020-05-22 13:27:20 +10:00
Tjeerd 4d5d961486
fix building for ST arduino core 1.9 (#387) 2020-05-22 13:23:05 +10:00
Josh Stewart 61b92dd616 Merge branch 'master' of https://github.com/noisymime/speeduino 2020-05-22 11:43:30 +10:00
Josh Stewart d43767a2a3 Testing PID method for VVT 2020-05-22 10:35:13 +10:00
Josh Stewart f51a43f768 Remove channel checks from the hardware test outputs 2020-05-21 22:20:37 +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
Josh Stewart 904e1956f4 For Travis to do a platform update to try and resolve board not found error 2020-05-21 16:24:13 +10:00