Introduction: Pocket 8266 --ESP8266+18650 Battery(DHT to Thing Speak Project)

ESP8266 is so popular today, I think ESP8266 +18650 battery will be very easy to develop IOT projects.

I call this board Pocket 8266, I also put it on my tindie store:

This one has 10 pins and I think it is enough to connect most sensors.

It integrated 18650 battery charging system. It supports working and charging at the same time.

The 18650 inside could provide 1A current. Like NodeMCU this board could work in deep sleep mode.

Today I use this board made a simple project. Pocket 8266 read temperature and humidity of my house and uploaded the data to thingspeak at the same time.

Step 1: A Little More

This board has the same pin map as my another project: D-duino:

That means Pocket8266 could use the same shields like D-duino.

I designed X1,X2,Grove shields for D-duino projects, Now Pocket 8266 could also use these shields.

Step 2: Upload to Thingspeak

Using Pocket 8266 to develop projects is very easy.

In this example I connected a DHT11 sensor to Pocket 8266.

I connected the data pin to D4.

The code is also easy: if you use adafruit library.

Pocket 8266 will upload data to thingspeak every 3 seconds.

Let's see how long will it work.


zkubalyak (author)2017-04-04

The AMS1117 voltage regulator eats too much battery, use better one.

AndreasO1 (author)2017-04-04

with a 18650 every 3 seconds wlan wake up will bring you an uptime of ca. 2-3 days.

The wlan is the hungry part.

i have tested with a wemos 9v battery 5 minute wlan wake ups and have a uptime from ca. 3-4 month. i use a BME 280 (need less power).

interesting is a project where the battery lifetime is 1year+ for the future. :)

rahlquist1 (author)2017-04-04

I was very excited when I first saw this, then I asked about current consumption in deep sleep. I was disappointed with the response. One of the issues with devices such as NodeMCU is all the pieces (serial chip, voltage regulator etc) cause the device to draw much more current than a bare ESP8266 does (see ). Thats before a sensor is even added. In the article I linked the node mcu went from 18mA to 20μA when the Esp8266 was put into deep sleep, but as you can see to reach that low level of power use took quite a bit of hacking. I had hoped this board had taken lower power use into consideration. Being able to put the serial chip into sleep mode or turn it off via software would be nice. It is a nice design, dont get me wrong. I was just hoping since its attached to a battery holder there would be more control in the design over current consumption.