Wemos D1 Mini Weatherstation (Plug & Play)

by Michal Choma in Circuits > Electronics

8541 Views, 10 Favorites, 0 Comments

Wemos D1 Mini Weatherstation (Plug & Play)

IMG_20180723_201843.jpg
IMG_20180723_201522.jpg

This project is about simplest possible weather station based on WeMos D1 Mini.

I choose WeMos D1 Mini, because it has benefits:

1. you can programme and run it without connecting externall modules, just using USB cable.

2. you dont need voltage regulator, on board is internal regulator

3. current consumption of wemos d1 mini is 0,25 mA (deep sleeping). Not bad.

4. Plug and Play concept. Wemos is similar hardware as Arduino UNO, and in my project, even breadboard is not necessary.

BOM (affiliate Links)

You need:

1. Board. Wemos D1 Mini board (+ pins) cost cca 2.00 $

http://s.click.aliexpress.com/e/nti7xxw

http://s.click.aliexpress.com/e/c7023mFA

http://s.click.aliexpress.com/e/bujfcTnw

2. USB cabel for programming Wemos board

http://s.click.aliexpress.com/e/cSIhnUoo

3. Battery. 18650 Lithium - ion battery.

http://s.click.aliexpress.com/e/clq9QQAM

4. Holder for 18650 battery

http://s.click.aliexpress.com/e/b4BNKhwY

5. Sensor. You can choose anything, I like I2C sensors, I choose light sensor MAX44009

http://s.click.aliexpress.com/e/mF3rZpQ (MAX44009)

http://s.click.aliexpress.com/e/bWnyoHPS (BME280 - temperature, humidity and pressure sensor)

6. Cables. I choose dupont cables female to male.

http://s.click.aliexpress.com/e/xAzZbkM

Total: 9.64 $

Optional:

7. Case. I use plastic box for testing.

8. For protect light sensor, I find glass hemispehere

cca 1.5 - 2 $ (ebay)

http://s.click.aliexpress.com/e/cNG6gXZA

9. Epoxy glue for paste glass hemispehere to case or hot glue.

http://s.click.aliexpress.com/e/8fStgha

Wiring

wemos_circuit.png
IMG_20180723_201537.jpg

Here is simple circuit. You can connect Li - Ion battery to 5V, Wemos works. It's works!

Also you must connect D0 pin with reset pin on Wemos, to awake Wemos during sleeping.

MAX44099 - WEMOS D1 MINI

VIN - 3V3

GNG - G

SCL - D1

SDA - D2

Battery - WEMOS D1 MINI

+ to 5V

- to G


WEMOSD1 MINI - WEMOS D1 MINI

D0 - RST

Code

code.png

I using ThingSpeak for sending data and making graph. Dont forget for deep sleeping mode for wemos and

library WiFiConfig.h to prevent wemos chip from damaging.

Conclusion

grafy.png

WeMos D1 Mini is good solution for making weatherstation. My solution is clear work, without any necessary resistors and regulator as barebone ESP8266 module need and it cost less then 10 $. WeMos D1 Mini consupt 0,25 mA current (deepsleep), but with good solar cell, battery charger and good Li-Ion battery it will works.