4 ms·
Accuracy is not as important as precision though. For accuracy, you can usually just calibrate it out against a known reference (you usually need to do this any
by gh02t 10y ago
Accuracy is not as important as precision though. For accuracy, you can usually just calibrate it out against a known reference (you usually need to do this anyway to get consistent results across multiple sensors). The only case when you can't is nonlinear accuracy, which is rare but I've seen it with the DHT22 actually.
Precision (stability of measurements) is what you really care about. That said, the BMP180 isn't so great at that either. The temperature sensor is I think a secondary function used to improve the pressure estimate. It doesn't give very stable temperature estimates in my experience.
If you want a direct replacement for the DHT22 (and I did, god I hate that module for a variety of reasons) the HTU21D-F is great. The BME280 is also a big improvement over the BMP180. If you just care about temperature, the DS18B20 is the way to go on performance and price, while if you really want high accuracy and precision then the MCP9808 is the way to go. I use the MCP9808 as my reference to calibrate against, with a mixture of the other three in various applications.
- perch56 10y agoYou seem to have experimented with some sensors. I was wondering what would be your top choices of sensors for someone learning hardware hacking with Arduino/Raspberry Pi(not only temperature measurements). Thank you very much.
- gh02t 10y agoWell, my favorites are: * DS18B20 - One-wire temperature sensor that is cheap * Generic PIR (motion) sensors - you can find simple motion sensor boards for cheap and they are pretty fun. * Capacitive sensors - you can make a touch sensor/button out of anything conductive that only uses a single wire (not even ground, just one wire) * Ultrasonic distance detectors * Hall effect sensors - detect presence of a magnet, especially useful with stepper motors * BME280 - temperature/barometric pressure/humidity, one of the best all around sensors for weather monitoring as it's all on one chip. Also supports both i2c and SPI. Note it's BME280, the BMP280 doesn't support humidity. A good bet is to buy a kit that gives you a random bunch of sensors to play with. You can find them cheap.