Forgot your password?
No account? Register one!
April 10, 2010
Product SEN-10221 |
about 11 months ago
The resistance is linear with depth, but if you want real accuracy and millimeters count, I found the best way to do it is to use the internal resistor (pins 1 and 4 on the sensor) and the reference instead of an external 1,500 ohm resistor. Then, the REAL way to get solid readings is to do your own calibration. Read the analog values for every 10 millimeters of water you can read on the strip then use this great code found here: http://playground.arduino.cc/Main/MultiMap to do a non-linear map of the real world values to the calibration you did.
Using this method Ive been able to get accuracy down to the millimeter read directly into the arduino with little guesswork. I’m willing to bet it would be even more accurate if I was more careful about measuring the meniscus!
Product SEN-11028 |
about a year ago
That worked great, thanks!
Thanks for putting in all the hard work to make this sensor more accessible, Jeff!
Its almost an embarrasing question to ask, but I am trying to verify how the MPU6050 is connected physically. The wire library says SDA is on analog pin 4 and SCL is on analog pin5. I have VDD on the chip going to 3.3v, GND to GND and SCL and SDA going to 5 and 4 respectively. Is this correct? When I run the MPU6050_Raw sketch it says connection failed. Anyone have suggestions?
Side note: I accidentally connected VDD to 5v for a few seconds before realizing the chip required lower voltages. I’m praying to buddha, krishna, baby jesus, allah and the spirit of Ron Burgundy that I didn’t damage the chip. Is there any way to test if I destroyed it or not?
No public wish lists :(