3.3 V or 5 V? Check logic levels before you wire boards and sensors together
Most projects that mix an Arduino, an ESP32, a Raspberry Pi and a sensor or two hit the same question sooner or later: what voltage does each pin expect, and does the other side match it? The answer depends on what each manufacturer documents for its own part, and those documents are spread across a dozen datasheets and guides.
This page puts the documented logic levels and supply ranges for the boards and sensors BenchRove tracks side by side. It then works through the pairings people ask about most. It is a planning aid built from manufacturer documentation, not a wiring tutorial. BenchRove has not bench-tested any of the pairings below.
Safety notice:
Boards like these switch low-voltage signals only. Motors, relays, mains wiring and battery charging need separate driver, isolation and protection parts that BenchRove has not checked, so we cannot validate that setup. Follow the board and part makers’ documentation, and use a qualified electrician for anything connected to mains.
Every instrument and board has maximum input voltages. BenchRove does not check whether a measurement setup is safe. Stay within the manufacturer’s input and probe ratings, and do not measure mains or high voltage unless you are qualified and using rated equipment.
BenchRove compares manufacturer documentation only; it has not validated or physically tested any setup. Our content does not cover mains wiring, high-voltage builds such as coils or inverters, or modifying or charging lithium cells and packs outside the manufacturer’s instructions. For that work, follow the manufacturer’s safety documentation and use a qualified electrician or other qualified professional.
Step 1: know which side of the line each part is on
The table lists what each manufacturer documents. "Logic level" means the voltage the board's I/O pins work at, not the voltage you power the board from.
Scroll sideways to see every column of this table.
| Part | What the manufacturer documents | Record |
|---|---|---|
| Arduino UNO R3 | A 5 V logic board. | [Arduino UNO R3 · Arduino, data sheet] |
| Arduino UNO R4 WiFi | The RA4M1 microcontroller runs at a fixed 5 V. The on-board ESP32-S3 module runs at 3.3 V, and the two talk through a logic-level translator. | [Arduino UNO R4 WiFi · Arduino, data sheet] |
| Arduino Nano ESP32 | All digital and analog pins are 3.3 V, and higher-voltage devices must not be connected to them. | [Arduino Nano ESP32 · Arduino, data sheet] |
| ESP32-DevKitC | GPIO logic level is 3.3 V. | [ESP32-DevKitC · Espressif Systems, documentation page] |
| ESP32 chip (on the DevKitC) | Maximum high-level input voltage (VIH) is VDD + 0.3 V (Table 5-3, DC characteristics at 3.3 V, 25 °C). 5 V signals are therefore outside the documented input range. | [ESP32-DevKitC · Espressif Systems, data sheet] |
| ESP32-S3 chip (on the ESP32-S3-DevKitC-1) | Recommended chip supply is 3.0–3.6 V, typically 3.3 V (Table 5-2). This is a chip-level figure, not a board GPIO statement. | [ESP32-S3-DevKitC-1, chip supply voltage · Espressif Systems, data sheet] |
| Raspberry Pi 5 | GPIO header pins are 3.3 V logic. Do not apply 5 V to them. | [Raspberry Pi 5 · Raspberry Pi Ltd, documentation page] |
| Raspberry Pi 40-pin header | Pins output 3.3 V and inputs are 3.3 V-tolerant. Raspberry Pi says the GPIO pins aren't 5 V tolerant and never to apply 5 V directly to a GPIO pin. | [Read an analog sensor with a Raspberry Pi · Raspberry Pi Ltd, documentation page] |
| Raspberry Pi Pico | IO voltage is fixed at 3.3 V. The ADC-capable pins GPIO26–29 must not exceed IOVDD + ~300 mV. | [Raspberry Pi Pico (RP2040), GPIO logic level · Raspberry Pi Ltd, data sheet] |
| Raspberry Pi Pico 2 | IO voltage is fixed at 3.3 V; three of its 26 GPIO can be used for ADC. | [Raspberry Pi Pico 2 · Raspberry Pi Ltd, data sheet] |
| LabJack T7 | Digital I/O uses 3.3 V logic. Outputs drive 0 or 3.3 V. Inputs read 0 below a typical 0.9 V threshold and 1 above a typical 2.1 V threshold. | [LabJack T7 · LabJack, documentation page] |
| LabJack T7 | All T-series digital I/O lines, including the T7, are 5 V tolerant for input. | [LabJack T7 · LabJack, documentation page] |
| Bosch BME280 | VDD main supply is 1.71–3.6 V; the VDDIO interface supply is 1.2–3.6 V. | [Bosch BME280 · Bosch Sensortec, data sheet] |
| TI ADS1115 | Supply range is 2.0–5.5 V. | [TI ADS1115 · Texas Instruments, data sheet] |
| DFRobot SEN0193 | Operating voltage is 3.3–5.5 V DC. | [DFRobot SEN0193 capacitive soil moisture sensor · DFRobot, documentation page] |
| DFRobot SEN0193 | DFRobot gives two output ranges: 0–3.0 V on its wiki and 1.2–2.5 V on its product page. Both maximums are 3.0 V or less. | [DFRobot SEN0193 capacitive soil moisture sensor · DFRobot, documentation page; DFRobot, vendor page] |
Arduino's serial reference makes the same point for the UART pins: TX/RX use TTL logic levels of 5 V or 3.3 V, depending on the board [Arduino vs Raspberry Pi · Arduino, documentation page].
Reading the table
The boards fall into two groups, plus one chip-level entry (a summary of the rows above):
- 5 V: the UNO R3 (5 V logic) and the UNO R4 WiFi's RA4M1 microcontroller (fixed 5 V operating voltage; the R4 WiFi's individual pin levels aren't in BenchRove's records yet).
- 3.3 V: the Nano ESP32, the ESP32-DevKitC, the Raspberry Pi 5, both Picos and the LabJack T7 (whose digital inputs are also 5 V tolerant).
- Chip figure only: the ESP32-S3-DevKitC-1. BenchRove records only the ESP32-S3 chip's recommended supply, not a board GPIO statement.
Sensors are different again. A wide supply range, such as the ADS1115's 2.0–5.5 V [TI ADS1115 · Texas Instruments, data sheet], tells you what the chip can be powered from. It does not tell you that every pin accepts every voltage in that range at all times. Check the I/O figure, not just the supply figure.
Step 2: look up your pairing
The second table puts the documented figures for both sides of each pairing next to each other. It does not say whether a pairing works: BenchRove hasn't tested any of them, and where the records hold no manufacturer statement for a pairing, the row says so.
Scroll sideways to see every column of this table.
| Pairing | What the manufacturers document | Basis |
|---|---|---|
| UNO R3 output → ESP32-DevKitC input | The UNO R3 is a 5 V logic board [Arduino UNO R3 · Arduino, data sheet]. The ESP32 datasheet gives a maximum high-level input voltage of VDD + 0.3 V, so 5 V signals are outside the ESP32's documented input range [ESP32-DevKitC · Espressif Systems, data sheet]. | Documented |
| UNO R3 TX → Raspberry Pi 5 GPIO RX | Arduino's TX/RX pins use TTL logic levels of 5 V or 3.3 V, depending on the board [Arduino vs Raspberry Pi · Arduino, documentation page], and the UNO R3 is a 5 V logic board [Arduino UNO R3 · Arduino, data sheet]. Raspberry Pi says its GPIO pins aren't 5 V tolerant and never to apply 5 V directly to a GPIO pin [Read an analog sensor with a Raspberry Pi · Raspberry Pi Ltd, documentation page]. | Documented |
| Raspberry Pi Pico ↔ ESP32-DevKitC (UART, SPI, I2C) | Pico IO voltage is fixed at 3.3 V [Raspberry Pi Pico (RP2040), GPIO logic level · Raspberry Pi Ltd, data sheet], and the ESP32-DevKitC GPIO logic level is 3.3 V [ESP32-DevKitC · Espressif Systems, documentation page]. BenchRove's records hold no manufacturer statement about connecting these two boards, and pin-level compatibility hasn't been checked. | Documented figures only; no pairing statement |
| UNO R3 digital output → LabJack T7 digital input | LabJack says all T-series digital I/O lines, including the T7, are 5 V tolerant for input [LabJack T7 · LabJack, documentation page], and the UNO R3 is a 5 V logic board [Arduino UNO R3 · Arduino, data sheet]. The reverse direction (a 3.3 V T7 output into an UNO input) isn't covered: UNO R3 input thresholds aren't in BenchRove's records. | Documented; reverse direction is a gap |
| BME280 → ESP32-DevKitC | The BME280 VDDIO interface range is 1.2–3.6 V [Bosch BME280 · Bosch Sensortec, data sheet], and the ESP32-DevKitC GPIO logic level is 3.3 V [ESP32-DevKitC · Espressif Systems, documentation page]. The records hold no manufacturer statement for this pairing, or any breakout-board details. | Documented figures only; no pairing statement |
| BME280 → UNO R4 WiFi (RA4M1 I2C) | The RA4M1 operates at a fixed 5 V [Arduino UNO R4 WiFi · Arduino, data sheet], and the BME280 VDDIO interface range tops out at 3.6 V [Bosch BME280 · Bosch Sensortec, data sheet]. The R4 WiFi's I2C pin levels aren't stated in BenchRove's records. | Documented figures; pin levels are a gap |
| BME280 → UNO R3 | The UNO R3 is 5 V logic [Arduino UNO R3 · Arduino, data sheet] and the BME280 interface range tops out at 3.6 V [Bosch BME280 · Bosch Sensortec, data sheet]. The records don't contain a conclusion for this pairing, or any breakout-board details. | Gap (not in BenchRove's records yet) |
| ADS1115 → Raspberry Pi 5 | The ADS1115 supply range is 2.0–5.5 V [TI ADS1115 · Texas Instruments, data sheet], and Raspberry Pi 5 GPIO header pins are 3.3 V logic [Raspberry Pi 5 · Raspberry Pi Ltd, documentation page]. The records hold no manufacturer statement for this pairing, and no wiring or library has been tested. | Documented figures only; no pairing statement |
| SEN0193 analog output → a 3.3 V ADC input | DFRobot gives two output ranges, 0–3.0 V on its wiki and 1.2–2.5 V on its product page; both maximums are 3.0 V or less [DFRobot SEN0193 capacitive soil moisture sensor · DFRobot, documentation page; DFRobot, vendor page]. BenchRove's records don't show whether that limit holds when the sensor is powered from 5 V, or what the current board revision outputs. | Documented ranges (they conflict); 5 V-supply behaviour is a gap |
Step 3: three questions before you connect anything
These are the checks the tables are built to answer. They are a method, not measurements.
- What does the receiving pin accept? Look up the input limit of the side that receives the signal, not the side that sends it. For an ESP32 that is VDD + 0.3 V [ESP32-DevKitC · Espressif Systems, data sheet]. For a Raspberry Pi header it is 3.3 V, with no 5 V tolerance [Read an analog sensor with a Raspberry Pi · Raspberry Pi Ltd, documentation page]. A T7 digital input is 5 V tolerant [LabJack T7 · LabJack, documentation page].
- Which direction does the signal go? If the link is two-way (TX and RX, or a shared bus), check both directions. Note that the T7 row covers only 5 V going into the T7.
- Are you reading a supply range or an I/O range? The ADS1115 and the SEN0193 both accept a supply up to 5.5 V [TI ADS1115 · Texas Instruments, data sheet], [DFRobot SEN0193 capacitive soil moisture sensor · DFRobot, documentation page]. That says nothing about what a 3.3 V microcontroller pin connected to them will see.
Three boards that need a second look
Arduino Nano ESP32. All its digital and analog pins are 3.3 V, and Arduino says not to connect higher-voltage devices to them [Arduino Nano ESP32 · Arduino, data sheet]. There is no 5 V pin; 5 V is available only through VBUS from USB [Arduino Nano ESP32 · Arduino, data sheet]. If you are moving a project over from another board, check that board's documented logic level against these figures.
Arduino UNO R4 WiFi. It has both voltages on one board. The main RA4M1 side is 5 V and the Wi-Fi module side is 3.3 V, with a translator between them [Arduino UNO R4 WiFi · Arduino, data sheet]. Which header pins and connectors sit on which side isn't stated in BenchRove's records.
ESP32-DevKitC power pins. Espressif says power must come from exactly one of Micro USB, the 5V pin or the 3V3 pin; otherwise the board or supply can be damaged [ESP32-DevKitC · Espressif Systems, documentation page]. A 5V power pin on the header doesn't change the GPIO logic level, which is 3.3 V [ESP32-DevKitC · Espressif Systems, documentation page].
Level shifting
This section lists manufacturer documentation for one level-shifting part. BenchRove has not tested any level shifter, and this is not a wiring guide.
TI TXS0108E
TI describes the TXS0108E as an 8-bit non-inverting level translator that needs no direction-control signal, with an A port for 1.4 to 3.6 V and a B port for 1.65 to 5.5 V (VCCA ≤ VCCB) [Texas Instruments TXS0108E · Texas Instruments, data sheet]. TI recommends VCCA of 1.4 to 3.6 V and VCCB of 1.65 to 5.5 V, with VCCA less than or equal to VCCB, over −40 to 85 °C [Texas Instruments TXS0108E · Texas Instruments, data sheet]. TI states that VCCA must stay at or below VCCB during operation, and that either supply can be ramped up first [Texas Instruments TXS0108E · Texas Instruments, data sheet].
TI gives maximum data rates of 110 Mbps push-pull and 1.2 Mbps open-drain at VCCA = 3.3 V ± 0.3 V and VCCB = 5 V ± 0.5 V, and 100 Mbps and 0.8 Mbps at VCCB = 3.3 V ± 0.3 V [Texas Instruments TXS0108E · Texas Instruments, data sheet]. TI gives lower maximums at lower supply pairs [Texas Instruments TXS0108E spec · Texas Instruments, data sheet]. TI states that pull-up resistors are integrated so that an external resistor is not needed, and that the device is designed for open-drain applications but can also translate push-pull CMOS outputs [Texas Instruments TXS0108E · Texas Instruments, data sheet]. When the output-enable (OE) input is low, all outputs are in the high-impedance state [Texas Instruments TXS0108E · Texas Instruments, data sheet].
I2C use: Not documented by the manufacturer. TI's datasheet contains no statement on I2C use [Texas Instruments TXS0108E spec]. BenchRove does not read TI's open-drain figures above as a statement that the TXS0108E suits I2C.
Other approaches
A MOSFET-based bidirectional level shifter: Not in BenchRove's records yet.
Resistor dividers and buffer ICs: Not in BenchRove's records yet.
What this page does not cover
- Level-shifter circuits and wiring. The level-shifting section lists manufacturer documentation for one part only. This page doesn't give circuits, wiring or part choices, and BenchRove hasn't tested any level shifter.
- Breakout boards. A breakout board may add parts that change the figures above. BenchRove has no breakout records yet, so check the breakout's own documentation.
- Raspberry Pi pull-ups on the I2C pins. The record for those pins is under re-sourcing and isn't used here.
Next step
Pick your board pair and open its BenchRove record to check the source links yourself:
- 5 V boards: UNO R3, UNO R4 WiFi
- 3.3 V boards: Nano ESP32, ESP32-DevKitC, Raspberry Pi 5, Pico, Pico 2, LabJack T7
- Chip-level figure only: ESP32-S3-DevKitC-1
- Sensors and converters: BME280, ADS1115, SEN0193
- Level shifter: TXS0108E
- Still choosing a board? Start with Compare boards: documented capabilities, then Arduino UNO R3 vs ESP32-DevKitC or Arduino vs Raspberry Pi.
- Building a sensor project? See Log temperature over Wi-Fi and Read an analog sensor with a Raspberry Pi.
- How we source claims: How we verify.
Related guides
- Arduino vs ESP32
- Arduino vs Raspberry Pi
- Arduino UNO R3 vs ESP32-DevKitC
- Raspberry Pi Pico vs ESP32
- Arduino Nano ESP32 and 5 V parts: VBUS, 3.3 V pins, what to watch
- LabJack vs Arduino for data acquisition
- Using a BME280 with a 5 V Arduino UNO
- Arduino UNO R3 vs UNO R4 WiFi: which UNO for a new project
- ESP32 vs ESP32-S3: which chip or DevKit for a new project
- LabJack T7 with a Raspberry Pi 5: what runs, which OS, and what you give up
- Raspberry Pi OS 32-bit vs 64-bit when instrument software is involved
- Raspberry Pi Pico vs Pico 2: is the upgrade worth it for a project
- Measuring small or negative voltages: Arduino ADC vs ADS1115 vs LabJack T7