How to connect a DHT11 sensor on a v1,2 shield to a base shield? [Solved]


I’ve got a dht11 temperature and humidity sensor connected to its own shield which is called “Temperature & Humidity sensor v1.2” that I want to connect to a base shield that is connected again to a particle shield shield. Which port should I use? Digital or analog?

@bringeborg, I’m not sure about all those shields but the DHT11 is a digital (quasi) one-wire sensor. You can use either digital or analog pins on the Photon since the DHT11 library will configure the pin as for digital mode anyway.

Thanks @peekay123!

That answered my question, and will hopefully solve my connection problems :slight_smile:

1 Like