View Single Post
Old 10-26-2022, 09:45 AM   #170 (permalink)
t vago
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Hungary
Posts: 1,807

iNXS - '10 Opel Zafira 111 Anniversary

Suzi - '02 Suzuki Swift GL
Thanks: 828
Thanked 708 Times in 456 Posts
Updates -

Examined my code from the last time it was uploaded onto GitHub, made a zipfile from the code, and updated the first post in this thread with the zipfile.

Added the ability to display gallons/100 miles and km/L values for fuel economy. Graphic units added accordingly. Swapping between MPG<->gal/100miles and L/100km<->km/L is a bit-wide parameter setting, much like swapping between US SAE and metric displays.

More progress made on ability to output analog voltages corresponding to tank quantity used/remaining. Hope to have it in testing by next week.

Cleaned up #defines related to underlying processors. Separated ATmega32U4, ATmega2560, and ATmega128 from definitions for Tinkerkit LCD, JellyBeanDriver board, ArduinoMega2560, and legacy MPGuino boards.

Configuration changes made to Tinkerkit LCD - it now can support TWI just like the other boards, but it lost the ability to output on the Serial1 UART. Oh well... I will likely enable USB serial0 output on this board instead.

Identified ways to further separate the low-level MPGuino code from the LCD display/button interface, so as to facilitate using MPGuino with things like TFT displays and Bluetooth.

Moved some Chrysler-specific code around a little. Maybe there's some other automaker who also uses a returnless fuel system and does not adjust fuel pressure to the rail...

Reviewed matrix math code in preparation for implementing both the microseconds per gallon parameter calculator and the coastdown calculator.
  Reply With Quote