Reference the image above to see the proper print orientations for each part.
THE BOLTS USED FOR THE COGS AND RAIL ATTACHMENT:
6-32 1/2 for the cogs,
10-32 1 and 1/2 for rails
Wiring is simple, follow the esp32 super mini pinout sheet provided for sclk(scl) and mosi(sda). In the code set which pins you want to use for CS,DC, and Reset. Then of course vin goes t0 3.3, and ground to gnd.
From 5V pin on the esp32, connect a wire to the left or right outside pin of the switch. Connect a wire between the middle pin of the switch and the Out+ side of the TP4056.
From the Gnd pin on the TP4056 connect a wire to the ground wire on the esp32.
connect the battery positive wire(red) to the B+ on the TP4056.
Connect the battery negative wire(black) to the B- on the TP4056.
Button
connect a wire to the 3.3v line. Attach this wire to one pin on the button.
connect a wire from pin 21 on the ESP32 to the pin diagonally opposite, or the one next to the power pin, on the button.
Connect your pin on the button that is connected to pin 21, with a 10k ohm resistor.
Attach the other side of the resistor to the ground wire off of the esp32.
Optionally if you would only like to use 1 single port for charging and data, connect a wire from the 5v pin on the esp32 and wire it to the +in next to the usb port on the tp4056. then using the esp32 port will charge the battery with the tp4056.
Time to Code!
refer to the user guide and the repo.
Keep in mind you may need to initialize a different tft if your colors are inverted!
Copyright © 2024 Blue Printz Tactical - All Rights Reserved.
DM us for a special code on reddit!
We use cookies to analyze website traffic and optimize your website experience. By accepting our use of cookies, your data will be aggregated with all other user data.