Heltec-Aaron-Lee / WiFi_Kit_series

Arduino source codes and toolchain for WiFi_Kit_series made by HelTecAutomation.
GNU Lesser General Public License v2.1
766 stars 308 forks source link

Lora/Wifi Board deficiency's, V3 wish list #86

Open kampto opened 5 years ago

kampto commented 5 years ago

This esp32 wifi Lora board V1/V2 has some deficiency's in my opinion... Please consider for V3 board.

  1. The LiPo battery connector is on the bottom so you have to remove the board from your project to change it or power down the board. For next version please put battery connector on top of board and make it a JST 2.0mm pitch so its compatible with most other boards / Battery's.

  2. The 3.3V regulator EN pin is not broken out so you cant shut down the board. This is particularly useful when using a voltage detect circuit to prevent the board from trying to run at battery input voltages <3.3V which can cause lock ups. For next version break out the EN regulator pin. Tie regulator EN pin to input pin with a 100K res so its pulled up but user can still pull low by grounding EN pin.

  3. No way to read Battery voltage in the sketch at all times. Recommend have LiPo battery voltage go into a 100K/100K res voltage divider and use a hidden out Analog in pin which can be accessed by the sketch. Or at the very least have LiPo battery on its on board pin, VBat.

  4. Increase the LiPo charge rate from 100mA to 200mA by changing the program resistor to a 5K. This is a WiFi/RF board so it uses power, 100ma is to slow.

  5. Print the pin labels on top of the board so they can be seen. I know some will be obscured by OLED but its better than nothing.

  6. Is it possible for this board to run very low current in deep sleep on LiPo Bat? Haven't found any success of that yet. Wheres the current draw?

  7. Not likely to happen but would be great if the RF connector was changed to SMA type connector.

rayperkins commented 5 years ago

I'd be keen to see a Schottky added to isolate the CP2102 when powering the circuit from a battery. That way the CP2102 quiescent current doesn't add to the battery drain.

cyberman54 commented 5 years ago

Battery measurement is connected to GPIO13. Thus battery monitor is forced to use ADC2 instead of ADC1. But ADC2 is only usable while ESP32 Wifi driver was not started. Better connect battery pin to an ADC1 pin.