deckle studio
Open the editor
Behavioural mixed-signal modelAdafruit 4566 (AHT20)aht20

AHT20 temperature & humidity sensor (board)

Temperature (−40…85 °C) and relative humidity on I²C (address 38h), the successor of the DHT11 / DHT22 without their timing-critical one-wire protocol: trigger, 80 ms measurement, 20-bit values with CRC as in the ASAIR data sheet. VIN 2.7–5.5 V (regulator and SDA / SCL pull-ups on the board). Set temperature and humidity while the simulation runs. Use it e.g. with Adafruit_AHTX0 (begin(), getEvent(&humidity, &temp)).

VINGNDSCLSDAAdafruit 4566
Schematic symbol

Key data

Category
Modules
Simulation model
Behavioural mixed-signal model
Manufacturer part number
Adafruit 4566 (AHT20)
Reference prefix
A
Pins
4
Land pattern
PinHeader_1x04_P2.54mm_Vertical

Simulation model

A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.

Model
aht20
Supply pins
VIN / GND

Pins 4

PinNameUse
VINVINSupply pinSupply input: decouple with 100 nF close to the pin
GNDGNDGround pinGround
SCLSCLInput pinI²C clock: sensors, displays; pull-up (about 4.7 kΩ) to the supply
SDASDAI/O pinI²C data: pull-up (about 4.7 kΩ) to the supply

Parameters 2

Temperaturetemplive
Default22 °C
Humidityrhlive
Default45 %

Relative humidity at the sensor; change it while the simulation runs

PCB

Connector / off-boardPinHeader_1x04_P2.54mm_Vertical

AHT20 temperature & humidity sensor (board) as a module on a 4-pin header (VIN, GND, SCL, SDA) – compare the order with your own module