Commit Graph

55 Commits

Author SHA1 Message Date
Josh Stewart 94eef00fcc Addition of corrections framework 2014-01-07 16:02:00 +08:00
Josh Stewart f280856959 Accuracy improvements to the table lookup 2013-12-29 23:43:19 +11:00
Josh Stewart 789395e874 Revert using fastMap on the analog input for now 2013-12-29 13:03:55 +11:00
Josh Stewart 07018da78d Complete algorithm selection settings 2013-12-26 21:34:32 +11:00
Josh Stewart 5a1e226b3d Add Alpha-N algorithm option 2013-12-22 23:44:25 +11:00
Josh Stewart fc60e4ee95 Minor cleanups for multi-channel 2013-11-14 20:08:14 +11:00
Josh Stewart 6abc9e24ee Add schedules and callbacks for 4 fuel and ignition channels 2013-11-14 17:17:58 +11:00
Josh Stewart 2076d98aa6 Pin mapping updates inline with the 0.1 shield board 2013-11-14 16:44:58 +11:00
Josh Stewart 9cfc5ce2ec Add smoothing on the timePerDegree calculation 2013-11-02 21:54:32 +11:00
Josh Stewart 2946146567 Add check for inverted spark output 2013-10-14 23:53:20 +11:00
Josh Stewart e96935e29b Add pulldowns for the analog pins 2013-09-26 21:27:20 +10:00
Josh Stewart c51e09dedb Add ignition advance gauge and comms 2013-09-25 14:56:38 +10:00
Josh Stewart f085bbefc4 Testing only code - Will be removed shortly 2013-09-24 23:31:36 +10:00
Josh Stewart a3750d36f0 Remove testing line 2013-09-24 23:31:18 +10:00
Josh Stewart 534747c245 Move pin setting to start of setup()
This corrects problems with the coils firing randomly upon startup
2013-09-24 23:30:45 +10:00
Josh Stewart 4390be7494 Introduction of the fast division branch 2013-09-23 22:23:34 +10:00
Josh Stewart 2b1b5c3cf6 Add crank angle estimate back in 2013-09-20 06:41:36 +10:00
Josh Stewart 8cba3fee87 A few new comms features (Flood clear and cranking RPM settings) 2013-09-19 20:49:28 +10:00
Josh Stewart 05f3318319 Added TunerStudio config support for ignition settings 2013-09-18 16:45:53 +10:00
Josh Stewart 1c928119f7 Enable digitalIOPerformance 2013-09-16 17:38:52 +10:00
Josh Stewart 3f5fd34b6f Fully robust and complete comms and EEPROM paging 2013-09-16 10:18:33 +10:00
Josh Stewart b3807be77d Fixes to comms and storage code
Overflow when receiving RPM bins fixed
Corrected the offset when receiving non map based variables.
2013-09-15 22:39:55 +10:00
Josh Stewart 71cdde10aa Performance improvements and cleanup
This commit brings much smoother RPM IO and calcs.
2013-09-14 19:38:15 +10:00
Josh Stewart efe280f88d Verification and correction of some timing issues (Ignition) 2013-09-14 00:21:10 +10:00
Josh Stewart 6bf5e56156 MInor stability improvements and comments 2013-09-14 00:00:17 +10:00
Josh Stewart d86597d700 Huge rewrite of the schedule code to add all 4 required schedules 2013-09-05 10:27:16 +10:00
Josh Stewart 3107854d64 Minor fixes to trigger and RPM calcs code. Should be 100% working 2013-09-03 22:13:28 +10:00
Josh Stewart 2af9c4be6f Huge cleanup and new work. Not in working state
EEPROM storage initial commit - Incomplete
Removal of significant code from .h files
Expansion of MS serial protocol
2013-08-26 14:11:47 +10:00
Josh Stewart 523378144b Complete EEPROM save 2013-07-18 21:53:40 +10:00
Josh Stewart 2e5e6668ff Added further variables to the comms page reads 2013-07-17 13:09:18 +10:00
Josh Stewart d3a5b44eb9 Fixes missed in last commit 2013-07-16 22:31:01 +10:00
Josh Stewart 8e002150ee Large re-org in preparation for EEPROM and comms paging work 2013-07-16 22:29:17 +10:00
Josh Stewart 7ea7c7afe5 Corrected float free pulsewidth calc 2013-07-10 10:26:16 +10:00
Josh Stewart 3d1cdb6f4d Working VE and IGN table comms 2013-07-09 22:12:35 +10:00
Josh Stewart 80320240c1 Initial work on comms 2013-07-09 10:43:41 +10:00
Josh Stewart 92f96291ba Remove unecesary (and confusing) variable 2013-07-04 11:32:36 +10:00
Josh Stewart 89aa44990a Conversion of all fuel variables to uS from ms 2013-07-03 20:27:46 +10:00
Josh Stewart f6c197d0e1 Fixes to the trigger code and inclusion of interrupt mappings for other chips 2013-06-28 21:52:23 +10:00
Josh Stewart 668979407c Corrected pin that the CAS trigger is attached to 2013-06-28 10:21:22 +10:00
Josh Stewart 443eba0083 Initial work on fast digital and analog IO 2013-06-27 13:08:49 +10:00
Josh Stewart 2e9b01c28e Conclude all scheduler call calculations, adjust scheduler to automatically run an end function after a set duration 2013-02-14 23:19:34 +11:00
Josh Stewart f8ccd8ac6d Prep for ignition charging 2013-02-14 17:47:49 +11:00
Josh Stewart 1537249958 Fully working scheduler (With 2 schedules), initial crank timing work. 2013-02-14 17:34:29 +11:00
Josh Stewart feff0b244d Mostly working scheduler 2013-02-14 08:51:29 +11:00
Josh Stewart 25253f0beb Initial scheduler work 2013-02-13 22:49:36 +11:00
Josh Stewart 41d424fca6 Remove float multiplication from trigger interrupt 2013-02-08 09:34:51 +11:00
Josh Stewart 0fd819fe3b Change the pulsewidth calc to us rather than ms 2013-02-06 10:43:17 +11:00
Josh Stewart 066e0ee9e8 Completely bug tested and confirmed working the interpolation code 2013-02-06 00:17:54 +11:00
Josh Stewart 439a936d87 Added some testing code and fixed some minor issues (req_fuel must be float) 2013-02-05 22:31:17 +11:00
Josh Stewart 24e79171af Added testing functions and further comments 2013-02-05 19:27:06 +11:00