VernierST / arduino

Project sketches using Vernier Sensors with Arduino. The Vernier Library is used where appropriate. Please see VernierLib for additional sketches.
https://www.vernier.com/arduino
Other
28 stars 21 forks source link

quadratic calibration curves sensors #4

Closed Basazababo closed 7 years ago

Basazababo commented 7 years ago

Hey, We bought ETH-BTA from you and am trying to use it with arduino uno and i found that You have a bunch of arduino codes for most of your products; do you by chance have a sample codes for the sensor with quadratic calibration curves? @davidlim

Smythics commented 7 years ago

I put this together based on the basic Vernier Analog Sensor sketch. The default calibration for this sensor is to take the voltage to the -2.995 power and multiply that by the coefficient (0.9054).

VernierEthanolSensor.zip

There is additional information in the sensor user manual regarding calibration.

dvernier commented 7 years ago

I think that this sensor is handled in the VernierAnalogSensorAutoIDDisplay sketch, but I have not tested it much.

Basazababo commented 7 years ago

@dvernier, @Smythics; Thank you for your prompt response; i will try this