Firmware version 1.1 and higher

This firmware reads analog values from pin ADC0 and ADC1. One can switch the display between showing analog measurments from ADC0 or ADC1 by connecting pin PD0 to GND:

The configuration menu looks as shown below. If PD0 is open during configuration then you program the formula for ADC0. If PD0 is connected to GND during configuration then you program ADC1. To program both formulas you enter the configuration procedure twice.

The buttons to access the menu are


           |
           V
           |
setup pin -> GND at power on
           |
   module enters setup mode
           |
           |
    next pin -> GND
           |
module shows raw  analog digital converter 
readings.
ADC0 with 12bit accuracy. The display shows 
"a0:" followed by numbers between 0 and 4092.
           |
           |
    next pin -> GND
           |
Module shows "D:" and you can use the 
pins "+" and "-" to change the value for
the divider. Touch "+" or "-" with a GND
connected wire to step the value up or down
and connect the wire for a longer time to
fast scroll up or down.
           |
           |
    next pin -> GND
           |
Module shows "M:" and you can use the 
pins "+" and "-" to change the value for
the multiplier. The handling is the same
as described above for "D:".
           |
           |
    next pin -> GND
           |
Module shows "A:" and you can use the 
pins "+" and "-" to change the value for
the add or subtract constant. 
The handling is the same as described above 
for "D:".
           |
           |
    next pin -> GND
           |
Module shows "P:" and you can use the 
pins "+" and "-" to change the value for
the amount of digits behind decimal point.
The handling is the same as described above 
for "D:".
           |
           |
    next pin -> GND
           |
Module shows "c0:none" and you can use the 
pins "+" and "-" to change the "none" into
a letter (can be used to display the 
measurement unit).
Possible letters are one of the following:
ABCDEFGHIJKLMNOPQRSTUVWXYZ '%$
abcdefghijklmnopqrstuvwxyz
Note: programming c0 to none means not showing
any units indepdent of what values are set for
c1 and c2. You should program c0 to a single space
character if you want a bit of space between the
digits and the measurement unit.
           |
           |
    next pin -> GND
           |
Module shows "c1:none" and you can use the 
pins "+" and "-" to change the "none" into
a second letter (can be used to display the 
measurement unit).
           |
           |
    next pin -> GND
           |
Module shows "c3:none" and you can use the 
pins "+" and "-" to change the "none" into
a second letter (can be used to display the 
measurement unit).
           |
           |
    next pin -> GND
           |
The values are stored permanently in
EEPROM and the module shows "done" in
the display. Power-cycle the module.