TroubleshootingArduino

How to connect DHT20 to other pins besides A4-A5

userHead Yarden.BISROR 2023-07-30 15:22:24 409 Views1 Replies

Hello guys,

I follow the wiki here:

https://wiki.dfrobot.com/Gravity_I2C_Temperature_Humidity_Sensor_DHT20_SKU_SEN0497

I have encountered a problem when I was asked to connect the sensor to pins A4-A5 for SDA and SCL pins of the DHT20 sensor.

Those pins are already used by my LCD screen on 0x27 address, both of them are I2C components.

However, how can I use both LCD and sensor on 9600 baud rate when A4-A5 are occupied?

 

Thanks!

2023-07-31 00:21:02

I think you need to use an I2C multiplexer. 

 

https://www.dfrobot.com/product-1780.html

userHeadPic bidrohini.bidrohini