The ESP32 needs to be able to communicate with my laptop.
DEFINITION OF DONE
[x] Research USB and UART
[x] Design the circuit
[x] Review and make improvements
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
Programming
Note: There is an LED connected to VBUS just to show it's plugged in.
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
Programming
Note: There is an LED connected to VBUS just to show it's plugged in.
NOTES
Digikey Links:
SUPPORT
Introductory Sources:
All others: