Commit Graph

6 Commits

Author SHA1 Message Date
ole00 cf34c1dfee Sketch: support Arduino based on ESP32-S2 MCU
Because of the internal reference of 2.5V on Analogue pins
of ESP32-S2, the R6 must be modified from 20k Ohm to 16.67k Ohm.
This can be achieved by placing a new 100k Ohm resistor
in parallel with R6 resistor. Use this mod only when Arduino
is ESP32-S2 based.
2024-04-21 00:12:15 +01:00
ole00 a9bf98b719 Sketch: reduced duration on VPP ramp-up
The VPP ramp-up was too long after the change of the calibration
scale in recent commits.
2024-03-19 21:05:32 +00:00
ole00 3ee0147d88 sketch: improved calibration, mcp4151 uses full tap scale
This change stores the digi pot indices in the scale 1-255
(previously 1 -128) so the stored values for calibration
are no longer valid after this change is uploaded to Arduino.

Please re-run the full calibration on your Afterburner!
2024-03-17 21:15:05 +00:00
HubertH 0cd9ac9b35 Minor changes in aftb_vpp.h
Added a dummy conversation after setting the analog reference
Print out pot type (4131/4151) if VPP_VERBOSE is set
2024-02-04 08:53:50 +00:00
ole00 6beae4de9c Initial support for Arduino UNO Minima (Renesas MCU)
This change handles EXTERNAL vs AR_EXTERNAL definitions of ADC constants
as defined on different Arduino platforms (Atmega vs Renesas).
Also an ADC gain error is compensated for Uno R4. The compensation
values are work-in-progress as I only have a single Uno R4, which
might no produce typical ADC values. That means Uno R4 needs more testing
reports while calibrating the VPP voltages.
2023-10-10 07:55:21 +01:00
ole00 4db4108d4a Sketch: added support for new board design (v 3.0)
New features:
* unified socket for 20 pin and 24 devices (including GAL20V8)
* variable VPP via digi pot
* VPP measurement via A0 ADC (used for VPP calibration)
2023-04-07 19:15:36 +01:00