Tag: pressure

2 articles found.

BME680 Gas Sensor Library for Proteus V1.0: VOC, Humidity, Pressure

BME680 Gas Sensor Library for Proteus V1.0: the GY-BME680 with its STATUS panel and the Advance pop-up

Hello friends, I hope you all are doing great. Today, I am going to share the new BME680 Gas Sensor Library for Proteus V1.0. The BME680 from Bosch is a tiny environmental sensor that measures four things at once: the temperature, the humidity, the air pressure and the resistance of a small heated gas sensor - which falls when VOCs from paint, cleaning products, cooking or our own breath reach it. It talks I2C or SPI, and the purple GY-BME680 board is the one most makers buy. Behind the part sits our own model, written from the datasheet and checked against Bosch's BME68x driver inside the Adafruit BME680 library - the model gives the raw numbers the real chip would give, and the library's own maths turns them into C, %RH, hPa and ohm. You can change the air while the simulation runs: its temperature, humidity, pressure and VOCs, four presets and four actions. The heater, the burn-in, the oversampling, the IIR filter and both buses work like the real thing. You get a Simple device with a live STATUS panel and an Advance device with a pop-up window and three test tools. The demo runs on our Arduino UNO V4.0. NOTICE: a gas sensor is easy to fake: a number that follows a slider. We wanted more. Our BME680 answers the same registers as the real one, on I2C and on SPI with its memory pages, measures in forced mode with the real timing, keeps its calibration in memory, and heats its gas sensor for exactly as long as the sketch asks - so a heater time that is too short, an IIR ...

AHT20 Sensor Library for Proteus V1.0: Temperature, Humidity, BMP280

AHT20 Sensor Library for Proteus V1.0: an AHT20 module with its STATUS panel and the AHT20 + BMP280 pop-up

Hello friends, I hope you all are doing great. Today, I am going to share the new AHT20 Sensor Library for Proteus V1.0. The AHT20 is the small I2C temperature and humidity sensor that has replaced the DHT11 in many new designs: it is more accurate, it answers on the I2C bus in a fraction of a second, and it costs about the same. It often comes on a combo board with the BMP280 pressure sensor, which makes a complete weather station on four wires. Now you can build and test those projects in Proteus, with the blue AHT20 module and the purple AHT20 + BMP280 module. Behind the parts sit our own models, not parts that show a number. The AHT20 answers the Arduino exactly as its datasheet says: the status byte with the busy bit, the 80 ms measurement, the 20-bit values and the CRC-8. On the combo board the BMP280 sits on the same I2C bus with its chip ID, its calibration words and its modes, and the Adafruit library turns its raw values back into the air pressure. You get four devices: both modules as a Simple device with a live STATUS panel and the air's controls, and as an Advance device with a pop-up window and the test tools. The demo runs the Adafruit AHTX0 library and the Adafruit BMP280 library on our Arduino UNO V4.0. NOTICE: a weather sensor is easy to fake: read a number from a property and hand it to the Arduino. We wanted more. Our AHT20 measures for 80 ms, sets its busy bit, packs its 20-bit values and computes its CRC, and our BMP280 hands out raw values that only its ...