Parts Sensors and input

The Temperature + Humidity (AHT20) as drawn on the PinBench canvas.

Temperature + Humidity (AHT20)

An I²C temperature and relative humidity sensor.

Category
Sensors and input
Interface
I²C, 0x38
Size
10.2 × 12.7 mm

Pins

PinRole
VINPower
GNDGround
SCLInput
SDASignal

Settings

Change these in the part's properties on the canvas.

Temperature
25 °C
Relative humidity
50 %

How PinBench simulates it

  • It answers at 0x38 with a status byte, 20-bit humidity and temperature readings and a CRC, as the real chip does.
  • Set the temperature and humidity you want the sketch to read.