Commit Graph

2812 Commits

Author SHA1 Message Date
mbbrinkman eddc59d65b
Allow WOT ego correction (#832) 2022-04-26 10:38:09 +10:00
Josh Stewart 97f8ef795a Remove duplicate updates from last PR 2022-04-21 16:37:05 +10:00
Pasi Kemppainen af5272b74c
[WIP] CAN broadcasting menu (#639)
* Add CAN broadcasting menu

* Fix updates.ino

* Remove use of floats and few other fixes.

* Fix building.

* Change updates.ino up to date.
2022-04-21 16:33:10 +10:00
Josh Stewart bce129cb68 Fix edge case that could prevent tooth log completing its transmission 2022-04-21 13:37:18 +10:00
Josh Stewart b7c02b53d6 Fix cranking to run idle taper time not running correctly 2022-04-21 11:42:00 +10:00
Josh Stewart ec51500d36 Ensure RTC is updated when time is changed on T3.5 2022-04-20 11:57:52 +10:00
Vitor Moreno B. Sales 4ce8c28c5a
Enable semi sequential and wasted COP on half sync (#478)
* Semi/Full sequential mode

Semi sequential in case of absent phase input at crank, engine will almost aways start in semi sequential mode

Minimal code change at speeduino.ino

Fix RPM reading when in half sync

* Update with latest changes in master

* Less calls to change functions

See #478 chat history for details

* Semi/Full sequential mode

Semi sequential in case of absent phase input at crank, engine will almost aways start in semi sequential mode

Minimal code change at speeduino.ino

Fix RPM reading when in half sync

* Update with latest changes in master

* Less calls to change functions

See #478 chat history for details

* Add sync status to log

* Updates

Updated speeduino.ini
Updated updates.ino

* Fix error in half to full sync function

Co-authored-by: Josh Stewart <josh@noisymime.org>
2022-04-18 14:12:57 +10:00
Josh Stewart 024c900aa0 Align TPS_rateOfChange scale. Potential fix for #773 2022-04-16 12:51:54 +10:00
Josh Stewart 4aed412ab4 Fix validTrigger assignment in Vmax decoder 2022-04-16 12:19:23 +10:00
Josh Stewart 31e7531128 Remove duplicate iacClosedLoopTable. Lookup idle target RPM @ 4Hz after CLT reading 2022-04-16 12:18:58 +10:00
Pasi Kemppainen 5dee6135b7
PWM and on/off idle fixes/cleanup (#806)
* Idle fixes #1

* Idle fixes #2

Co-authored-by: Josh Stewart <josh@noisymime.org>
2022-04-12 10:23:18 +10:00
Josh Stewart 2cda68277b Merge branch 'master' of https://github.com/noisymime/speeduino 2022-04-11 15:33:19 +10:00
Josh Stewart 6323b58798 Fix the calculations dash figures when battery correction is applied to open time only 2022-04-11 15:33:15 +10:00
Josh Stewart 3e56b2bd4d Simplify the corrections calculations using div100 2022-04-11 15:32:49 +10:00
tx_haggis 7933bb68c4
Remove previousLoopTime - never used (#706) 2022-04-11 14:16:26 +10:00
Vitor Moreno B. Sales 1ba1dabbfb
Added idle advance start threshold (#747)
* Added idle advance start threshold

On lower temp and/or on ethanol the engine need to crank more, without this my starter get a kick and the engine backfires.

This enable it only at 200 RPM below the target

* Use define to idle advance RPM threshold

Co-authored-by: Josh Stewart <josh@noisymime.org>
2022-04-11 13:38:23 +10:00
Josh Stewart 0dc31edc22 Allow for '?' command through legacy comms.
Fixes #821
2022-04-11 11:29:43 +10:00
RempageR1 d8be3f56e8
Added Trigger for the Yamaha Vmax motorcycle, 1990 and up. (#823)
* Test 1

* Added the Vmax decoder option

* Added the Yamaha Vmax decoder

Co-authored-by: RempageR1 <unconfigured@null.spigotmc.org>
Co-authored-by: Josh Stewart <josh@noisymime.org>
2022-04-11 11:08:22 +10:00
Daniel Tobias 7020705dbe
fix typos in code documentation (#816)
* fix typos in code documentation

* minor reverts

* fix typos in ini

Co-authored-by: Josh Stewart <josh@noisymime.org>
2022-04-11 10:49:58 +10:00
Pasi Kemppainen 04b45f6a2d
Remove tacho output flags (#814) 2022-04-10 09:18:08 +10:00
Corey-Harding f8e7422464
Add low/high battery voltage indicator (#824)
Fixes #822
2022-04-10 09:17:20 +10:00
Josh Stewart f55789e5a3 Reorganise Engine Protection UI 2022-04-10 09:07:21 +10:00
Josh Stewart d01b5fe0dd Fix issue with SD RPM threshold not correctly detecting on/off 2022-04-05 17:56:18 +10:00
Josh Stewart 22ec9c8a20 Correct variable size for MAPlast 2022-04-05 17:55:09 +10:00
Vitor Moreno B. Sales 9c3f745c16
All tapers use byte counters (#746)
Fixes

Update idle.ino
2022-04-05 07:27:54 +10:00
theKraid 2411fbdddb
Increase dwell limiter in RX-8 type ignition (#820)
Currently the dwell limiter calculation considers rotary ignition to have more than 1 pulse per revolution. This only holds true for FC/FD type ignition which is wasted spark correctly resulting in 2 pulses per revolution. RX-8 type ignition however is fully sequential so there is only 1 pulse per revolution. As a result the dwell limiter is being calculated too low.
This change fixes the issue by correctly assuming 1 pulse per revolution in RX-8 type ignition
2022-04-03 20:09:55 +10:00
Pasi Kemppainen 4c81135c62
Fix soft and hard rev limiter (#813) 2022-03-28 08:31:58 +11:00
Josh Stewart 7e7056fa09 Add timestamp field to SD logs 2022-03-18 11:38:24 +11:00
Josh Stewart 4d747e1aef Merge branch 'master' of https://github.com/noisymime/speeduino 2022-03-18 09:45:12 +11:00
Josh Stewart beedfb44e4 Add 4cyl semi-seq injector pairing option 2022-03-18 09:45:07 +11:00
Corey-Harding 560537f1da
Datalogging rename Advance/Current VE to Advance/VE (Current) (#811)
* Change "Aux in" 1-16 to 0-15 under prog outputs

Change "Aux in" 1-16 to 0-15 under "programmable outputs" menu to match the pin configuration page found under "local auxillary input channel configuration" menu.

* Update sensors.ino

* Update sensors.ino

* Match datalogging names to gauge names in ini

for ve/advance (current)

Co-authored-by: github-account-0 <91717711+github-account-0@users.noreply.github.com>
2022-03-11 09:46:48 +11:00
Pasi Kemppainen 27e4a14506
CAN current status array added (#733) 2022-03-04 11:11:14 +11:00
Josh Stewart 35f196930a Minor cleanup from the newComms / LegacyComms move 2022-03-01 15:27:46 +11:00
Josh Stewart 0e365b4dff Merge branch 'master' of https://github.com/noisymime/speeduino 2022-02-28 10:28:11 +11:00
Josh Stewart 8a54c4b23b Fix calibrations tx on legacy comms
Note the renaming of newComms to comms. Old comms has been moved to _legacy files
2022-02-28 10:28:06 +11:00
DeionSi 6dbdfb84d5
Rename gauges to sort them next to similar gauges (#712) 2022-02-25 15:15:04 +11:00
Josh Stewart 87e21fc7e2 Increase O2 read frequency to 30Hz
Fixes #799
2022-02-25 15:13:35 +11:00
tx_haggis 6c12bcc32d
Separate table axis I/O conversion from iteration (#767)
* Missing include

* 1. Add int16_byte class
2. Add axis factory function for int16_byte instances
(flyweight pattern)

* Separate out axis iteration and I/O conversions

* Optimize for size and performance.

* Fix unit test
2022-02-24 16:11:54 +11:00
Josh Stewart 3a4470642c Remove failing native test from workflow 2022-02-24 11:05:54 +11:00
Josh Stewart b7901568a0 Write to EEPROM more aggressively when engine not running 2022-02-24 10:50:01 +11:00
Josh Stewart 738ae2ed93 Add indicator showing when an EEPROM burn is in progress 2022-02-24 10:22:28 +11:00
Josh Stewart 962e717754 Merge branch 'master' of https://github.com/noisymime/speeduino 2022-02-22 23:29:48 +11:00
Josh Stewart 3d627ded34 More efficient EEPROM write deferral 2022-02-22 23:29:41 +11:00
tx_haggis fc9967e31d
Performance: optimize fuel trim PW calcs (#756)
* Consistent set of div100 functions

* Add typedef for trimTable3d

* Performance: use div100() function
when applying fuel trim corrections

* Silly ARM compiler!

* Unit test fixes

* Fix tests: expected & actual parameters were swapped

* div100(): add 8-bit overloads for completeness

* Fix unit tests
1. Force call to correct div100() overload
2. Use appropriately typed assertion

* Restore use of USE_LIBDIVIDE preprocessor symbol

* Add div360() - encapsulate libdivide use

* Fix copy/paste issue.
2022-02-18 14:55:43 +11:00
Corey-Harding 3138506897
Change Aux in from 1-16 to 0-15 under programmable outputs (#745)
* Change "Aux in" 1-16 to 0-15 under prog outputs

Change "Aux in" 1-16 to 0-15 under "programmable outputs" menu to match the pin configuration page found under "local auxillary input channel configuration" menu.

* Update sensors.ino

* Update sensors.ino

Co-authored-by: github-account-0 <91717711+github-account-0@users.noreply.github.com>
2022-02-14 11:16:21 +11:00
tx_haggis c9213a5555
Fix native unit test (#763)
* Fix native unit test

* Include native unit test in CI build
2022-02-14 11:04:11 +11:00
Josh Stewart 86110a23fc Fix missing declaration from last commit 2022-02-14 10:57:42 +11:00
Benas Brazdziunas 07a4d1ea79
Coolant/RPM Protection (#785)
* Coolant/RPM Protection

* removed test  clear flash option

* Add new update section for coolantProtEnbl rather than using old area

Co-authored-by: Benas <bbrazdziunas@gavea.co.uk>
Co-authored-by: Josh Stewart <josh@noisymime.org>
2022-02-14 10:41:58 +11:00
DeionSi 6be6cd7795
libdivide for angletotime (#791) 2022-02-14 10:24:34 +11:00
tx_haggis f782db6c5c
Allow logging of loops per revolution (#753)
Co-authored-by: Josh Stewart <josh@noisymime.org>
2022-02-14 10:10:40 +11:00