Commit Graph

331 Commits

Author SHA1 Message Date
Josh Stewart 575c9d0334 Fix fan pin off by 1 bit 2017-11-05 02:05:48 +11:00
Josh Stewart 4b5b040615
Merge pull request #110 from Autohome2/can-serial3
Can serial3 updates
2017-11-03 00:00:53 +11:00
darren siepka 7d4b90a6a0 fix conflicts 2017-11-02 00:19:57 +00:00
darren siepka 380ffc20b8 update serial3 and canbus related data transfer protocols and naming 2017-11-01 20:17:47 +00:00
Josh Stewart 17030a9df7 Add in check for ignition count to the closed loop AFR control 2017-11-01 16:10:06 +11:00
Josh Stewart 9d2192d04c Fix the array (packet) sizes for both the main serial and CAN 2017-11-01 14:55:47 +11:00
Josh Stewart 95aea5637c Merge pull request #108 from Autohome2/can-serial3
Serial3 own sendvalues routine
2017-10-27 09:42:43 +11:00
Josh Stewart 1cfdcb0c77 Bunch of small tweaks to reduce Bluepill flash usage 2017-10-26 12:25:53 +11:00
autohome2 ef657a08b3 added sendcanValues routine for serial3 and canbus use 2017-10-26 01:43:33 +01:00
Josh Stewart b67ae45b69 Added NO2C pin mapping
Closes #106
2017-10-25 20:55:46 +11:00
Josh Stewart 763f434a57 Addition of experimental ignition schedule refreshing (Not enabled yet) 2017-10-24 23:31:42 +11:00
Josh Stewart 5de68f3c54 Add matching corrections.h to go with the current corrections.ino 2017-10-24 23:30:51 +11:00
Josh Stewart 91bea0766f Fix bug that could cause RPM to spike when first cranking on missing tooth patterns 2017-10-24 21:07:22 +11:00
Josh Stewart 2ec972948f Changes to logged variables 2017-10-24 16:54:18 +11:00
Josh Stewart 6a8ab1015b Move the pulse width function into the speeduino.h scope 2017-10-24 14:08:32 +11:00
Josh Stewart 543b33c774 Remove some unused variables 2017-10-24 11:22:05 +11:00
Josh Stewart d3303e8b3d Add small flash mode to help with the Bluepill memory problem 2017-10-19 17:15:08 +11:00
Josh Stewart 53b039a3df Add check on the fuel schedules to prevent overflow below 58rpm 2017-10-19 17:02:43 +11:00
Josh Stewart 98f5640a77 Another attempted fix for fluctuating MAP readings 2017-10-11 18:54:42 +11:00
Josh Stewart ace8c1f129 Potential fix for erratic MAP readings in some instances 2017-10-11 00:12:07 +11:00
Josh Stewart e921901fc0 Pass fuel pulse width full value to TS 2017-10-10 21:58:03 +11:00
Josh Stewart 91a428401a October dev signature 2017-10-10 19:56:37 +11:00
Josh Stewart 2fca4d481b Correction for fuel pump over analog pin mapping 2017-10-09 13:34:41 +11:00
Josh Stewart b067ef100b Signature and base tunes for Sep 2017 release 2017-10-09 12:02:05 +11:00
Josh Stewart 34cd1d3cfd Corrected scope for valueOffset to fix chunk write issue 2017-10-09 11:52:27 +11:00
Josh Stewart ea77358045 More string trimming for bluepill 2017-10-08 20:50:54 +11:00
Josh Stewart 7adeeb3eaa Some incomplete work on 4g63 sequential 2017-10-08 20:15:49 +11:00
Josh Stewart 9af5534de4 Better handling of live chunk receives in comms 2017-10-08 11:07:49 +11:00
Josh Stewart ef89229e27 More consistent rolling hard cut 2017-10-04 21:16:08 +11:00
Josh Stewart 485affc81e Cleanup some of the strings to reduce sketch size for Bluepill 2017-10-04 18:02:12 +11:00
Josh Stewart 9202afe7cf Prevent memory corruption from the page expansion 2017-10-04 12:24:40 +11:00
Josh Stewart 621f6b4d68 Small adjustments to Miata 9905 pattern 2017-10-04 10:45:00 +11:00
Josh Stewart 683fe44562 Initial work on rolling sign cut rev limit 2017-10-04 09:48:46 +11:00
Josh Stewart 172cd18435 Add explicit on/off mode for the VVT table 2017-10-02 20:01:08 +11:00
Josh Stewart c901748974 Allow use of Analog pins for some selectable outputs 2017-10-01 00:07:36 +10:00
Josh Stewart 9591d4f935 Add dedicated CPU and memory outputs for future benchmarking 2017-09-22 21:28:34 +10:00
Josh Stewart 7aa8d277f3 Potential fix for cranking problem on Miata 9905 pattern 2017-09-20 16:43:55 +10:00
Josh Stewart 515f0a626f MISRA cleanup from the comms work 2017-09-20 14:38:42 +10:00
Josh Stewart e4a18fb45e Updater script for all the crazy serial stuff 2017-09-20 14:07:15 +10:00
Josh Stewart 46b1663da9 Support chunk serial comms mode 2017-09-20 14:06:55 +10:00
Josh Stewart 9d89494666 Expand page 4 to 128 bytes 2017-09-20 12:15:41 +10:00
Josh Stewart 1cd2a0f296 Expand page 2 to 128 bytes in size 2017-09-19 15:09:32 +10:00
Josh Stewart 5b3df5ac4d Merge config pages 6 and 7 2017-09-19 14:51:33 +10:00
Josh Stewart 6763ff15b4 Initial work on new serial comms protocols (Working, but slow) 2017-09-19 14:10:07 +10:00
Josh Stewart 7ca7650a31 Disable manual WDT to prevent it causing problems with serial comms 2017-09-19 14:09:02 +10:00
Josh Stewart ae780dc940 New per page based EEPROM writes 2017-09-19 14:05:43 +10:00
Josh Stewart 02976029cf Comment cleanup 2017-09-18 10:38:49 +10:00
Josh Stewart 7d3ffa5941 Fix for fuel pump priming never ending on 4g63 and Miata9905 patterns 2017-09-16 16:45:40 +10:00
Josh Stewart 2d03665162 Remove unused odd fire variable 2017-09-12 14:02:00 +10:00
Josh Stewart d0d5a38c23 Double sync checking method for 4g63 2017-09-12 14:01:28 +10:00
Josh Stewart 0694564ed1 September dev signature 2017-09-10 00:51:10 +10:00
Josh Stewart d8d1d8ff04 August signature and base tune 2017-09-09 22:07:46 +10:00
Josh Stewart 70693ae3a8 Further improvements to the Nissan 360 pattern 2017-09-09 22:07:12 +10:00
Josh Stewart 62d3c19c31 Adjust for full sensitivity scale on ideal PID controller 2017-09-07 08:58:24 +10:00
Josh Stewart 7c0932a396 Adjust boost timings slightly 2017-09-07 06:20:22 +10:00
Josh Stewart 72c2a3fb4b Change MAP variable type to long for boost levels > 255kPa 2017-09-06 09:40:56 +10:00
Josh Stewart 4e858f1ca8 Completed new PID mode for boost control 2017-09-04 11:50:55 +10:00
Josh Stewart 3b33094230 Initial commit of new Ideal PID implementation (Active for boost control) 2017-09-03 20:28:49 +10:00
Josh Stewart bd54aae566 Enable per tooth timing on Nissan 360 2017-08-31 21:04:32 +10:00
Josh Stewart eb400302f4 Fix incorrect divide on Nissan 360 2017-08-31 18:20:25 +10:00
Josh Stewart e7ac717796 Startup improvements on Nissan 360 CAS 2017-08-31 18:01:37 +10:00
Josh Stewart 515cf332f1 MISRA cleanup 2017-08-31 15:03:39 +10:00
Josh Stewart 2d0189c76d Cleanup of files that didn't need to be changed in preparation for merge 2017-08-31 14:53:46 +10:00
Josh Stewart 976c18fb26 Merge branch 'master' into master 2017-08-31 14:46:06 +10:00
Josh Stewart 0ccab57e61 Fix for potential miss on trailing spark of FC rotary mode at high RPM 2017-08-31 12:09:13 +10:00
Josh Stewart 6aebf7e068 Allow for setting secondary trigger edge on Miata 99-05 2017-08-30 12:54:21 +10:00
Josh Stewart e93bf9f5ac Fix RPM calc issue on Miata 99-05 2017-08-30 12:53:56 +10:00
Josh Stewart 2ced120022 Tweaks to Miata 99-05 pattern 2017-08-29 00:11:50 +10:00
VitorBoss b9282e1edd Clear MISRA error on decoders 2017-08-28 02:36:28 -03:00
VitorBoss d4876f5883 Removed unused table code 2017-08-28 02:32:18 -03:00
VitorBoss 9e4746596a Fix github mistakes 2017-08-28 02:21:34 -03:00
VitorBoss 04be30dc03 Add missing variables 2017-08-28 02:15:05 -03:00
VitorBoss 1ffbad8a43 Revert "Merge branch 'master' into pr/5"
This reverts commit d8898db9fe, reversing
changes made to b1e7b854d0.
2017-08-28 02:01:36 -03:00
Vitor Moreno B. Sales 8f9619ca96 Update timers.ino 2017-08-28 01:54:53 -03:00
Vitor Moreno B. Sales d8898db9fe Merge branch 'master' into pr/5 2017-08-28 01:53:24 -03:00
VitorBoss b1e7b854d0 Enable CRC on multi lib 2017-08-28 01:44:08 -03:00
VitorBoss c10a637853 Sync with last changes 2017-08-28 01:35:49 -03:00
Josh Stewart a15e830321 Add filters for Miata 99-05 2017-08-28 13:02:06 +10:00
Josh Stewart e01dccc6b8 Initial work on revised version of the Miata 99-05 decoder 2017-08-27 09:26:36 +10:00
VitorBoss 38a89e41d0 082617 2017-08-26 19:48:04 -03:00
Josh Stewart b8706f69b2 Re-add scope guard in comms.ino 2017-08-25 17:26:24 +10:00
Josh Stewart 4e47e8ae19 Cleanup page 11 array 2017-08-25 17:26:04 +10:00
Josh Stewart fc06ce4d1b Minor ini and comms cleanup 2017-08-24 17:24:28 +10:00
Josh Stewart 630a3bfe2a Checks on trailing ignition angles for FC rotary 2017-08-24 10:17:35 +10:00
Josh Stewart 9e4c191d7b Use correct page size for Pg 11 2017-08-24 08:33:32 +10:00
Josh Stewart 73712764c4 Add missing #defines for stm32 platforms 2017-08-24 01:05:25 +10:00
Josh Stewart 5400b3fe81 Comment cleanup 2017-08-24 00:56:05 +10:00
Josh Stewart 0a7b782af9 Better method of doing trailing select for FC rotary configs 2017-08-24 00:55:44 +10:00
Josh Stewart 7db1101429 Completely untested trailing spark for FC rotary ignitions
May God have mercy on us all
2017-08-23 17:18:59 +10:00
Josh Stewart 539618c583 Initial interface work on rotary ignition modes 2017-08-23 08:14:11 +10:00
Josh Stewart cf6beeb53c Disable VVT and Boost control timers when engine is off 2017-08-22 19:57:45 +10:00
Josh Stewart 13e3b1f37b Starting improvements on the 4g63 pattern 2017-08-21 11:52:12 +10:00
Josh Stewart b71c59947e Cleanup #defines in maths.x 2017-08-21 11:51:05 +10:00
Josh Stewart 4340e58fa3 Add very lite filter to the cycle average MAP sampling 2017-08-21 11:50:50 +10:00
Josh Stewart 90b4f5f62f Minor Subaru 6/7 decoder tweak 2017-08-18 08:50:39 +10:00
Josh Stewart c791302a0e Harley EVO decoder (courtesy of @bitwise17)
Closes #93
Slightly changed to fix bugs and be MISRA compliant
2017-08-17 14:17:21 +10:00
Josh Stewart afa83cfdd7 Experimental new low res mode (Testing only) 2017-08-17 13:51:12 +10:00
Josh Stewart 77094a59d1 Better startup procedure and DIY watchdog 2017-08-17 11:24:26 +10:00
Josh Stewart 83b486ef1f Change to single calculation of the cranking RPM 2017-08-10 11:44:32 +10:00
Josh Stewart 692cb68cf1 Better locked ignition timing during cranking 2017-08-09 10:37:53 +10:00