Sep 20, 2026

I feel alone in my room

Making a desktop companion/watchface for my desktop. Well, earlier I had planned to gift it to my crush but I scraped that decision.

Got the basic circuit working on a breadboard, next step is to put it all out on a prototyping board.

Components

  1. ESP-32 12F
  2. LM
  3. DHT temperature sensor
  4. '0.96 OLED screen
  5. TP4056 USB-C charging module
  6. LDO

Schematic

public/log-images/Schematics/Schematic companion v1_260914_204318 (1).jpg

Learning 1 : Voltage divider?

Gemini suggested me to use a LDO to step down the voltage coming from the ouput of the TP4056 to 3.3V. Rookie question btw - why not do something like a voltage divider. Aha you're a dumbo really. You're taking out voltage from a battery which drains from a terminal voltage of 4.2V to probably 2.8V. Which means your ratio also changes at the divider side. So thats clearly a no go.

Learning 2 : What is LDO?

This is probably the first time I'm coming across the LDO (Low dropout) voltage regulator. Well in short, it can regulate a constant output voltage, even when the input voltage is close to reaching the output voltage. Honestly, its small size also makes it easier to pack inside everything for this project. Dropout voltage is the minimum voltage required across the regulator to maintain stable operations. I want to cover on this more in the upcoming logs.

Learning 3: TP4056 may burn my Lipo cell

I always consult Gemini before doing anything, and it mentioned about not using the TP4056 directly with the LIPO battery. public/log-images/Pasted image 20260921124109.png Industrial Monitor Direct

It so happens by default, now my charging current would be 1A, which will definitely burn up the LIPO. So now, and I hate this because I think I don't have the right apparatus for de-soldering a SMD on the TP4056, specifically R3 or RPORG as mentioned (1.2kOhm) to something more.

The standard formula for calculating the value of R_prog is 1000V/I_charge. The best sweet spot is charging the battery at a 1C charging rate, therefore around 0.4A, or at 0.7C. The best resistor to choose from is between 3-5kOhm.

Save the world? I'm in!

georgeyvb6@gmail.com
Bremen, GermanyLinkedInGitHub