5v Digital Pin Data on 3.3v board

I have been out of the Arduino and Micro controller scene for a while and honestly programing is more of my thing than hardware is. So expect this to be a dumb hardware question.

I got an Arduino Nano 33 IoT and I have a couple of sensors to hook up that are 3.3v analog. These won't be an issue but I also have a DHT11 sensor that uses digital pins for data. I was going to power it off the 5v supply but I can't find out if this will be bad or not considering the NANO 33 IoT is a 3.3v board. I assumed that putting an analog signal of 5v into one of the Analog Inputs was a bad idea, but I don't know a lot about "Data Inputs". I tried some Googling but everything comes back talking about Analog Signals.

TL;DR: Can I connect a digital signal from a 5v sensor into a 3.3v Arduino?

You need a hardware logic level converter.



Analogs need a voltage divider.


For higher speed operation, use the TXS0108E

2 Likes

According to this data sheet https://cdn-learn.adafruit.com/downloads/pdf/dht.pdf (you should check your own).

The DHT11 can operate between 3-5 volts, so just power at 3.3 volts and you should be fine.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.