Close

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:

http://fettricks.blogspot.se/2014/01/reducing-voltage-divider-load-to-extend.html


USB2Serial:

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:

https://www.adafruit.com/product/2821

http://imgur.com/tW6tGr2

http://community.silabs.com/t5/Interface-Knowledge-Base/Differences-between-CP2102-and-CP2104/ta-p/158933 but I have seen smaller CP2102.

On autorestart:

http://hallard.me/esp8266-autoreset/

https://github.com/nodemcu/nodemcu-devkit-v1.0

https://github.com/esp8266/Arduino/issues/480https://github.com/esp8266/Arduino/issues/480

Disable when running from battery:

https://tinker.yeoman.com.au/2016/05/29/running-nodemcu-on-a-battery-esp8266-low-power-consumption-revisited/


Charger:

Requirements: Lipo

Only found MCP73831T so far.

Some ref:

https://www.sparkfun.com/products/11231

https://www.adafruit.com/product/1944



Regulator:

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

TPS61200 is the candidate but looking for cheaper ones.

Some ref:

http://www.ti.com/lsds/ti/power-management/boost-converter-integrated-switch-products.page#p634min=1;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

Discussions