Analog input related subpage of AfreshTiny
The analog input can be logged with megatune.
Use a 10k resistor to connect a 0..5V signal to this input. This will add some added protection, and prevent button to be activated.
Note: round_2007-04-25 or newer firmware required for this [download]
'A' command logs a total of 30 bytes. 14..29 are the 8 internal analog signals in 16bit big endian format
- the analog input ADC (that also has the button at most significant bit) is ADC 4, so 14+2*4=22:
- offset 22 is high byte
- offset 23 is low byte
"Raw reading", 0..255 or rather 0..65535 is useful for calibration.
For linear signal like MAP or TPS a simple 1-line is enough in round.ini
For nonlinear signal, like NTC temperature sensor, fuel pressure with pullup resistor, a megatune calibration file is needed. Provide at least 3 calibration points (more is better) for your sensor (also with button pressed for each point if you care to read the signal while tweaking button).
TODO: examples