austindriggs / spotify-led-matrix

Spotify Album Cover LED Matrix Display
0 stars 0 forks source link

Design the programming USB to UART circuit #12

Closed austindriggs closed 7 months ago

austindriggs commented 10 months ago

SUMMARY

The ESP32 needs to be able to communicate with my laptop.

DEFINITION OF DONE

DESCRIPTION

USB and UART

Going into this project I had no idea how my laptop communicated with a microcontroller, or even any USB devices.

I'm using a USB C connector just because that seems to be the trend with ESP32's.

Changes made for my design:

I researched the recommended USB to UART converter and found out that it had some issues with it. At work Dave found a "Basic USB to UART" converter that looks better than the old one. I decided to go with a similar and popular one on digikey linked below.

I added a DNP resistor between the USB shield and GND because connecting the USB shield directly to GND can sometimes cause problems (if the two don't exactly "agree" on what GND is).

I removed the 0 ohm resistors in the EN and BOOT buttons and added serial termination circuits to the input on the ESP32 because it can be helpful to "minimize reflections and improve the quality of the signal because it is split in two places".

I decided that I don't need the JTAG connector for debugging anything.

Circuit Design

USB to UART

usb-uart

Programming

programming

Note: There is an LED connected to VBUS just to show it's plugged in.

NOTES

Digikey Links:

SUPPORT

Introductory Sources:

All others:

austindriggs commented 7 months ago

Might add a DNP serial connector just in case for good practice and because I have the room: SparkFun CH340C