V2 ideas and comparison

A project log for Homefixer ESP8266 devboard

A lightweight and simple devboard for ESP8266-12 with 2.54mm breadboard pinout and works with 1V-5.5V batteries

Johan WestlundJohan Westlund 05/19/2017 at 10:130 Comments

ADC for battery voltage reading:

Requirements: 6V -> 1V, don't destroy the input, low power

  1. Fixed divider
  2. N-FET
  3. P-FET with capacitor control
  4. P-FET with N-FET control

1 is out because it requires continues current and really big values on resistors.

2 might put 6V on the ADC input when off, we don't want that.

I thought of 4 until I found 3. 3 will be cheaper and smaller to implement and I hope it will work so I'm going for that at the moment. Values of resistor will be decided later to keep number of rows in BOM as small as possible.

Some ref:


Requirements: Able to restart to programming mode

Candidates found:

  1. CH340
  2. CP2102
  3. CP2104

I settled for the cp21* family as it has better driver support and the part 3. CP2104 as it was used in other projects so I knew it worked.

Some ref: but I have seen smaller CP2102.

On autorestart:

Disable when running from battery:


Requirements: Lipo

Only found MCP73831T so far.

Some ref:


Requirements: 1 AA to 4AA, Lipo, NiMH etc. (0.8V to 5.5V)

TPS61200 is the candidate but looking for cheaper ones.

Some ref:;3.3&p634max=5;10&p834typ=0.5;3&p32=1&p236typ=0.0003;0.4&p1130=0.17;3

First Draft schematic:

Added diode to prevent battery from powering CP2104