Read analog pin () is a Robot block and a reporter block. It returns the value of analog pins available in evive. Analog reading is of 10 bit resolution, hence the range of value is 0 to 1023. This range is mapped to the voltage of the pin (normally 0 to 5V). If the value received is 512, the voltage value will be around 2.5V.
Available pins in evive:
- 10 analog pins available for the user, A0 to A5 & A12 to A15
- Two potentiometers: Potentiometer_1, Potentiometer_2
- VSS_Voltage_Sense (for sensing input voltage)
- VVR_Voltage_Sense (for sensing variable voltage output)
This block can be used in Arduino Mode as well as in Scratch Mode.