How to connect an 3.3V ESP32-S3 with a 5V barcode reader?

Hi,
I plan to you an ESP32-S3 with a barcode reader and interface them with TTL. From what I've read, ESP32-S3 ideal power supply voltage is 3.3V. But most of barcode readers need 5V input.

So I thought about the following:

  1. Use a standard Power to USB (5V)
  2. Put a Y usb cord to split current (parallel -> both 5V)
  3. Put the ESP32-S3 at one end and it will compensate with its voltage regulator to get 3.3V input
  4. Put the barcode reader on the other end
  5. Connect the barcode reader and the ESP32 (TTL)

Would it work ? or does the TTL interface also need voltage regulation between them?

Do you think their is a better/simpler way to do it?

You need to use a level translator like this for the TX and RX signals

Thank you! So I do need to convert voltage for TTL interface too.

I'm sure that your ESP32-S3 development board can run on 5V, so you only need one 5V power supply for the ESP and scanner.

Or you can can use the Y cable as you suggested.

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