So you are using 10.0.02? If this is the case, then you will not have access to the built-in Mathematica device driver, but you can manually modify the sketch I attached to that blog post to include this line in the setup()
function:
analogReference(INTERNAL);
in the sketch you upload through the Arduino IDE.
Alternatively, if you are using Mathematica 10.4 or higher, you can use a "BootFunction" to set the analog reference like this:
DeviceConfigure["Arduino","Upload"->"BootFunction"-><|"Code"->"void setAnalogRef() { analogReference(INTERNAL); }"|>]
This function will be called as soon as the Arduino turns on (as if it was called from the setup()
function), to set the analog reference to the internal 1.1 volt reference.
Hope this helps you with your application.
Ian