There is not only digital I/O ports but also an analog port in the CIE-M10.
This port is connected to 10 bits ADC (Analog to Digital Converter).
You should input 2.6V ~ 3.3V to the ADVREF for reference voltage of the ADC.
The ADC converts the input voltage of the ADC_IN0 (0V~ADVREF(:2.6V~3.3V)) to 0 ~ 1023 digital value.
You can read values that are both digital and analog through HTTP.
There is an example for this port.
<Analog Temperature Sensor>
((B-A) / 1024 * Register value($a0)) + (A)
B : MAX temperature
A : MIN temperature
Temperature Voltage
300℃ 3.3v
-50℃ 0v
--> (300-(-50)) / 1024 * <?io_echo($a0);?> + (-50)
<HTML>
-click-
Then you can see the real temperature through the register value.
Posted by eztcp

















