First revision of schematics complete
To make sure as many people as possible can buy the T-Time, I need to design it so I don't have to hand-assemble all of them. What better way to do this than making some schematics? :)
Using the ESP32-S3 devkitC reference schematic, I started to lay out the essential components for the ESP32 to function. Most importantly, it needs USB connection for power and programming, as well as input protection and voltage regulation to run the 3.3V rail from USB standard 5V output.
The USB-C input is relatively simple. There's a couple decoupling caps for the 5V rail, and some 5.1k resistors to ground on CC1 and CC2 to tell whatever USB power supply is connected to output just 5V. For the data lines, it's essential to prevent surges or over-voltage by using high speed TVS diodes. I found a nice chip, the USBLC6-2SC6 from ST Microelectronics that combines 5V surge and D+/D- surge protection into one single chip. It's meant for USB, and has very low parasitic capacitance to prevent issues with USB data interference.
Next, we've got the 3.3V LDO for powering the ESP32. This circuit is dead simple, and is just a single 3.3V fixed output 1117 linear regulator IC plus some necessary decoupling caps.
Just like on the devkit boards, I've added a small tactile button which will be accessible through a small hole on the case, either to put the ESP32 into DFU mode on boot, or after boot to reset the WIFI information in case you need to reconnect it to a new network without loading the web portal.
For programming or debugging simplicity, I've also added a small unpopulated header on the board to access the power rails, serial pins, and GPIO0 DFU pin.
Backlight control is also essential, whether to turn the backlight off at night, adjust the brightness, or in the case of some models equipped with RGB backlights, control their color. Using 3 800mA N-channel logic level MOSFETS, I designed these super simple circuits with an optional spot for a current limiting resistor in case the LCD doesn't have one. By default, these are populated with 0 ohm resistors.
Unfortunately a necessary evil in this design are two large logic level converter chips. These are used to step the ESP32's 3.3V logic level signals up to 5V logic level signals for driving the LCD data lines, control pins, PWM, and contrast circuit. Most character LCDs available that have form factors that work well for this project are 5V logic level rated, and unfortunately the digital pins are all bidirectional, so it necessitates having proper logic level converters.
Finally, we reach the large output connector to the LCD which is wired in the standard format for most character LCDs, plus two extra pins for colored backlights. I've also included a large decoupling cap for the backlights, since I don't want users to experience backlight flickering if the ESP draws a bunch of power to get data over WIFI, which is something I noticed occurring on the prototype models.
Overall, I'm happy with the progress towards making a more robust electrical system for the T-Time, and I'm looking forward to starting PCB layout soon when I have another gap in assignments this semester :)

0 Comments Add a Comment?