Voltage and data coding

voltage and data coding

This forum is intended for discussion of Particle products and services. Iā€™d recommend trying an Arduino forum if your question is not related to Particle.

1 Like
xVoltage = supplyVoltage*xReading/1024.;

FYI on a Particle device such as a Photon:

> The device has 8 channels (A0 to A7) with a 12-bit resolution. This means that it will map input voltages between 0 and 3.3 volts into integer values between 0 and 4095. This yields a resolution between readings of: 3.3 volts / 4096 units or, 0.0008 volts (0.8 mV) per unit.


This topic was automatically closed after 24 hours. New replies are no longer allowed.