Posts Tagged ‘wemos’
Orange Pi Development Boards

ESPurna Firmware Now Supports Power Meters “Augmented” with ESP8266 Modules/Boards

September 25th, 2017 15 comments

Sonoff-Tasmota and ESPurna are the two main open source firmware used in home automation devices, such as Sonoff wireless switches, based on Espressif ESP8266 WiSoC. Xose Pérez – aka Tinkerman – has recently purchased “dumb” power meters / kill-a-watt meters, added WiFi to them with ESP-01 module and Wemos D1 mini board, and implemented support in ESPurna firmware leveraging earlier reverse-engineering work by Karl Hagström.

The power meter above looks exactly like the one I’ve been using for review for over two years, and has been more more reliable than other models, such as Broadlink SP2 (with built-in WiFi) that gave up on me after a few months.

Xose actually noticed that old and newer models of the power meters were based on different solutions. Karl’s meter relied on ECH1560, while Xose’s new meter was instead based on Vango V9261F, which has a public datasheet, and was already being worked on by Domoticz community.

While he connect ESP-01 to one of the meter, he found Wemos D1 mini was much easier to connect thanks to a built-in 5V support. He still had to include a Hilink AC to 5V DC power supply module, a baseboard for the Wemos board with an optocoupler and resistor. Finally (not shown in pictures), he hot-glued all cabling to make sure nothing move, and that’s important as you don’t want anything bad happens with AC voltages…

Click to Enlarge

The power meter can then be calibrated and configure in ESPurna user interface, and you can also handle the data through MQTT, Domoticz, a REST API, and/or Home Assistant. Support for V9261F has been implemented and tested, but while the older ECH1560 solutions have been implemented, they have yet to be tested.

The power meter can be purchased for about $12 and up on eBay or Aliexpress, ESPurna firmware on BitBucket.

Wemos LOLIN32 Lite Board Powered by ESP32 Rev 1 Chip Sells for $4.90

September 14th, 2017 3 comments

Wemos introduced the first low cost ESP32 board with LOLIN32 board going for $6.90 plus shipping in April, but the company is now back with a new Lite version of the board switching ESP-WROOM-32 module with their own design around ESP32 Rev 1 chip (with various silicon bug fixes), and a lower $4.90 price tag to which you need to add ~$2 for shipping.

Click to Enlarge

Wemos LOLIN32 Lite is also smaller, so we’ll lose some of the pins (mostly extra power pins), but the I/Os look the same:

  • SoC – Espressif ESP32-DOWD6Q Rev 1.0 dual core Tensilica Xtensa LX6 processor with WiFi and BLE
  • Connectivity – 802.11 b/g/n WiFi + Bluetooth LE
  • I/Os via 2x 13-pin headers with digital I/Os, analog inputs, UART, I2C, SPI, VP/VN, DAC…
    • 3.3V I/O voltage
    • Breadboard compatible
  • USB – 1x micro USB port for power and programming/debugging
  • Misc – Reset button
  • Power – 5V via micro USB + battery header for Lithium battery (charging current: 500mA max)
  • Dimensions & Weight – TBD

The board sold on Aliexpress is pre-loaded with micropython firmware, but you could also change that to Arduino, or other supported firmware. The Wiki has limited information for now.

$6.90 Wemos LoLin32 ESP32 Development Board Comes with 4MB Flash, Lithium Battery Support

April 21st, 2017 8 comments

Wemos – the company behind the cool Wemos D1 mini ESP8266 board – has now launched its first Espressif ESP32 development board with LoLin32 equipped with ESP-WROOM-32 module with 4MB flash, a micro USB port, and a battery header.

Click to Enlarge

Wemos Lolin32 specifications:

  • Wireless Module – ESP-WROOM-32 based on Espressif ESP-32 dual core processor @ 240 MHz with 4MB flash
  • Connectivity – 802.11 b/g/n WiFi + Bluetooth LE
  • I/Os
    • 26x digital I/Os
    • 12x analog inputs
    • UART, I2C, SPI, VP/VN, DAC
    • 3.3V I/O voltage
    • Breadboard compatible
  • USB – 1x micro USB port for power and programming/debugging
  • Power – 5V via micro USB + battery header for Lithium battery (charging current: 500mA max)
  • Dimensions – 5.8 x 2.54 cm
  • Weight – 5.8 grams

Click to Enlarge

The board is not compatible with Wemos D1 mini (34.2 x 25.6 mm) and shield, but offers a more powerful solution with Bluetooth LE, battery support, and more I/Os. The Wiki is still work-in-progres, and there’s no that much information on the page yet.

Wemos LoLin32 can be purchased for $6.90 + shipping ($8.66 in my case) on Aliexpress.

Via ESP32net twitter

Need to Program Many ESP8266 Modules? This Wemos D1 mini based Pogo Jig Programming Board Could Be Useful

March 8th, 2017 5 comments

If you have many ESP8266 modules to flash with your own firmware this may be time-consuming, but Wing Tang Wong’s ESP8266 Pogo Jig Programming Board could greatly streamline the process, as it just hold ESP-12F module in place using pogopins, so you can go through boards quite quickly.

Wemos-ESP-Pogo V1.0 Board – Click to Enlarge

You’ll just need to a Wemos D1 mini board without ESP-12F module to the programming board, and then place your ESP-12F module (or compatible) between the pogopin to program it through Wemos D1 mini’s micro USB port.

The board is not for sale (yet?), but the EAGLE design files can be found on Github, and it should not be difficult to find a company to manufacture a few if you need it.

Via OSH Park’s Blog.

Categories: Espressif, Hardware Tags: esp8266, open source, wemos

Ten Most Popular Posts of 2016 on CNX Software and Some Stats

December 31st, 2016 13 comments

The last day of the year is a good time to look back at what the year brought us, and I have to say it has been a fun and interesting year on CNX Software. The TV boxes news cycle has been dominated by Amlogic products, but most products have now switched to 64-bit ARM SoC, with 4K and HDMI 2.0 support, and price have kept going down, so you can now get a 4K TV box for as low as $20, although many people will prefer spending a bit more for extra memory and support. Intel based Bay Trail & Cherry Trail mini PCs have continued to be released with Windows, and in some cases Ubuntu, but the excitement seems to have died off a bit, maybe with the expectation of upcoming Apollo Lake mini PCs that should be more powerful. The year have been especially fruitful in the IoT space with a dramatic reduction in costs and sizes from ESP8266 boards to GPS modules and microwave radar modules, and we’ve also seen LPWAN modules & boards, mostly based on LoRa, but also Sigfox, being brought to market, as well as an alternative to ESP8266 with Realtek RTL8710AF, and of course the launch of Espressif ESP32 SoC with WiFi and Bluetooth LE. We’ve also been spoiled with development boards this year with the launch of 64-bit boards such as Raspberry Pi 3, ODROID-C2, and Pine A64+, as well as more dirt cheap Orange Pi boards, joined by NanoPi boards later in the year, and made all the more useful thanks to armbian community.

I’ve compiled a list of the most popular posts of 2016 using the page views count from Google Analytics:

  1. Amlogic S905 vs S812 Benchmarks Comparison (January 2016) – Amlogic S905 was probably the most popular SoC for TV boxes in 2016, thanks to a decent set of features, and aggressive pricing from manufacturers. So people wanted to find out if it was worth upgrading from S812 to S905, or maybe had to decide between purchasing a S905 or S812 TV box.
  2. Raspberry Pi 3, ODROID-C2 and Pine A64+ Development Boards Comparison (February 2016) – 2016 was also the year of cheap 64-bit development board with the launch of Raspberry Pi 3, ODROID-C2 and Pine A64+ boards, more or less at the same time, so again people want have wanted to look at which one to buy through this comparison.
  3. This is What a 16 Raspberry Pi Zero Cluster Board Looks Like (January 2016) – What can generated more buzz than the Raspberry Pi Zero? A cluster of Raspberry Pi Zero boards, as this post went viral the day after being posted. There was some talk about a crowdfunding campaign at one point, but it never happened.
  4. Review of K1 Plus Android TV Box with Combo DVB-S2/DVB-T2 Tuner (February 2016) – My review of K1 PLus T2 S2 might not be the most viewed post on CNX Software, but it sure generated a lot of comments, as while the product offers a unique combination of DVB-T2 and DVB-S2 tuners in an Android TV box at an attractive price, the documentation and software may need some improvements. Unofficial OpenELEC firmware images later surfaced from the community.
  5. How to Change Language to English and Install Apps Remotely on Xiaomi Mi Box 3 Enhanced (April 2016) – Xiaomi Mi Box 3 Enhanced is probably the most powerful TV box that can easily be purchased worldwide, but the caveat is that it has only been designed for the Chinese market. That post explains how to work around that limitation.
  6. Amlogic S905 vs Amlogic S912 Benchmarks Comparison (September 2016) – Quad core vs octa core, yeah twice the performance! Well not quite, but people were still curious to find out how the latest octa-core Amlogic S912 SoC would perform against Amlogic S905, and the truth is that the performance difference is rather minor, except for 3D graphics.
  7. NEXBOX A95X (Amlogic S905X) TV Box Review – Part 2: Android 6.0 and Kodi 16.1 (August 2016) – NEXBOX A95X was one of the first TV boxes based on Amlogic S905X processor, and my second review. The device is tiny an relatively cheap, so the review attracted some eyeballs.
  8. Mini M8S II TV Box (Amlogic S905X) Review – Part 2: Android 6.0 Firmware (July 2016) – My first review of an Amlogic S905X TV box nearly had the same number of views as NEXBOX A95X post, and many of the same features, just in a different package.
  9. Getting Started with Wemos D1 mini ESP8266 Board, DHT & Relay Shield (March 2016) – Wemos D1 mini is a great little ESP8266 board. It’s small, cheap ($4), and easy to use. The optional shields, just as cheap, make it a very attractive option for your IoT projects. Other people noticed it too, and then visited my review to get started.
  10. Raspberry Pi 3 Model B Board Features a 64-Bit ARM Processor, Adds WiFi and Bluetooth Connectivity (February 2016) – The last post is the list if a Raspberry Pi 3 leak just one day before the actual announcement.


Traffic has been rather steady in 2016 over the months.

cnx-software-traffic-2016The blog got around 9.8 millions pageviews in 2016 compared to about 7.2 millions pageviews in 2015, a 36% growth in traffic that was likely helped by my not going on a 3 months trip this year…

“openwrt” and, respectively the top keyword and referral in 2015, were replaced by “amlogic s912” and Facebook in 2016.  Google Analytics only shows the last three months for keywords, and the full year for referrals, with referrals excluding search engines such as Google where CNX Software gets most of its traffic.

Top 10 Keywords Top 10 Referrals
amlogic s912
s905 vs s905x
s905x vs s912
mxq box
amlogic s905
orange pi vs raspberry pi
s905 vs s912
s912 vs s905x

The visitor mix of the blog per country as not changed much, with the top 10 countries of 2015 still there in 2016, and the top five order unchanged with United States, United Kingdom, Germany, Canada, and France.

cnx-software-visitors-2016London still hold the top city spot, but Hong Kong and Moscow dropped of the list to be replaced by New York and Melbourne.


Windows is still the main operating system of CNX Software visitors, but its share, as well as the share of other desktop operating ssystems including Linux and “Macintosh”, keeps dropping, while Android and iOS are having a stronger and stronger presence. In the “browser war”, Chrome lead extended further from 52.93% in 2015 to 59.41% in 2016, and Firefox dropping from 23.54% to 18.90%. Microsoft Edge probably had the best growth going from 0.56% last year to 1.86% this year.

Some of the 2016 review samples and I wish all my readers a very happy, prosperous, and healthy new year 2017.

Click to Enlarge

Click to Enlarge

Some ESP32 Development Boards to Look Out For: NodeMCU, Widora-air, Nano32, Noduino Quantum, and Wemos

September 24th, 2016 16 comments

Espressif ESP32 WiFi + BLE SoC launched at the very beginning of the month, shortly followed by ESP3212 module, and while Adafruit sold a few breadboard-friendly ESP32 development boards to developers for $15 a few days ago, stock was limited, and it’s not possible to easily purchase ESP32 boards today, and that’s OK because firmware and software support is still in progress. Several companies are working on such ESP32 boards however, and they tend to show the development progress on social networks, so I thought it would be fun to look at what’s coming…

Amica (NodeMCU) ESP32 Board

The current NodeMCU board is one of the most popular ESP8266 development platform, and that’s not surprising they are working on an ESP32 version. I don’t have pictures nor full  specs of the board yet, but the company showcased their early work on ESP32 last June.


I only discovered Widora recently via their NEO WiFi board running OpenWrt, but they are also working on Widora-air ESP32 board.


There’s no product page yet, but we can see the board is powered through a micro USB port, comes with reset and user buttons, a PCB antenna, and two 20-pin headers for IOs.

Gravitech / MakerAsia Nano32

Nano32 clearly wins the best picture award of this post… It’s made by South East Asia based Gravitech, and combines ESP32 with an FTDI chip for USB to serial programming through the micro USB port. It also includes two buttons, and breadboard-friendly headers.

Click to Enlarge

Click to Enlarge

A chip antenna can be found on the top left of the picture. You can follow their progress on Twitter.

Noduino Quantum Board

Noduino Quantum has a different form factor from the other boards in this list, as they’ve built an Arduino compatible ESP32 board, meaning compatible with Arduino shields.

Click to Enlarge

Click to Enlarge

ESP32 can be programmed through the micro USB port (Silicon Labs CP2102 chip), the board can also be powered via a power jack, and includes a PCB antenna. The company had also made an ESP8266 board called Noduino Falcon with the same design. More details can be found on

Wemos ESP32 Board

Wemos has made both an Arduino compatible D1 board and a tiny D1 mini board based on ESP8266 in the past, and according to a forum post, the company is working on one or more ESP32 boards:

WeMos have confirmed an ESP32 board is in development.
Now whether it has a D1 form factor, D1 mini, or something new is still unknown.

If you are aware of other interesting ESP32 development board in development, feel free to let everybody know in the comments section.

$5 Wemos D1 mini Pro ESP8266 Board includes 16MB Flash

September 5th, 2016 15 comments

Wemos D1 mini is one of my favorite ESP8266 development boards thanks to its small size, shield support, and low $4 price tag. There’s now a new version of the board – dubbed Wemos D1 mini Pro – with 16MB flash instead of 4MB for the original version, and a few other modifications.

Wemos_D1_mini_ProWemos D1 mini Pro specifications:

  • WiFi 802.11 b/g/n module based on ESP8266EX with 16 MB flash, chip antenna and external antenna connector
  • Expansion – Through holes with
    • 11x digital input/output pins (3.3V) supporting interrupt/PWM/I2C/one-wire (except D0 pin)
    • 1x analog input (3.3V max input)
    • Reset and power signals (5V, 3.3V, GND)
  • USB – micro USB port
  • Misc – Reset button
  • Power – 5V via micro USB or 5V pin
  • Dimensions – 34.2 x 25.6 mm
  • Weight – 2.5 grams

Wemos-D1-mini-Pro-ESP8266-BoardBeside the larger flash,  the main differences are listed in a Wemos forum post:

  • External antenna connector – switch by re-soldering resistor 0(zero) ohm
  • Built-in ceramic antenna – good!
  • New CP2104 USB-TO-UART IC – why? more stable?
  • Same size as D1 mini, but more light (3.9g -> 2.5g) – for flying devices? 🙂

Wemos D1 mini had a PCB antenna for WiFi, which may explain the lighter weight too, and CH340G instead of CP2104. The Pro board can run both NodeMCU or Arduino firmware like the original D1 mini board, and I understand the shields are still compatible.

Wemos D1 mini Pro is sold on Aliexpress for $5 plus shipping ($1.36 in my case) with male and female headers. The product is not listed on website yet, but soon should be.

Thanks to Zoobab for the tip.

Getting Started with Wemos D1 mini ESP8266 Board, DHT & Relay Shields

March 22nd, 2016 10 comments

Wemos D1 mini is an ESP8266 board that’s interesting thanks to its size, its low price ($4), micro USB power, its shields, and a documentation that looks fairly good. The board can be programmed with Arduino or Lua, and supports both serial and OTA programming. I’ve decided to give it a try and bought the board together with two temperature shields, a relay shield, and micro SD shield.

Click to Enlarge

Click to Enlarge

I got all for $ 14.00 from Wemos Aliexpress shop, and it took about one month for delivery. I can also see they’ve recently released a new OLED shield selling for about $5. All shields were shipped inside their own anti-static bags.

The pins are clearly marked on both side of the board and the shields. One side of the board features ESP8266 module.


and the other side has CH340 serial to USB chip, and the reset button.


The provided headers make it easy to stack the board with several shields if you wish too. For example I connect Wemos D1 mini to both the relay shield, and DHT Pro shield after soldering some of the headers. The only potential pitfall would be to solder the header on the wrong side, so you just need to make sure the pins (5V, RST,…) are properly aligned.


I’ve mostly followed the Getting Started in Arduino guide in in this tutorial, and people who prefer Lua/NodeMCU will want to check NodeMCU guide instead. There are various ways to configure the Arduino IDE for WeMos D1 mini in the guide, but I’ve only used the recommended way: git.

The first step was to install and run Arduino 1.6.8. Since I’m using a computer running Ubuntu 14.04 64-bit, I downloaded and installed Arduino 1.6.8 64-bit for Linux:

Now get the sketchbook folder by going to File->Preferences


Note this folder as this is where we’ll install the board support, tools and examples, and exit Arduino before starting the installation:

download the binary tools:

and finally install the examples:

Later on, you can update the board support files and the samples by running git pull in the two directories where you ran git clone.

Now connect Wemos D1 mini to a USB port of your computer with a micro USB to USB cable. In Linux, you should see a new device in the kernel log:

Let’s start Arduino 1.6.8 and select WeMos D1 R2 & mini in Tools->Board.

Arduino_1.6.8_Wemos_D1_miniWe can use the default for the other settings include 80 MHz CPU frequency, 4M flash size, 912600 upload speed, and /dev/ttyUSB0 port.

We can now use the code samples, and to make sure everything works I’ll run the blink project in File->Sketchbooks->D1_mini_Examples->01. Basics->Blink:

Pressing the Upload button will build and upload to code to the board and once this is complete, the build-in Blue LED (D4 / GPIO2) will blink every second. So my board is working.


As you can see I’ve already connected DHT Pro shield to the board, so let’s try the sample for the shield to get the temperature and humidity in File->Sketchbooks->D1_mini_Examples->04. Shield->DHT_Pro_Shield->Simple:

But this time I had an error during compilation, as DHT library is missing:

To fix that error, go to Sketch->Include Library->Manage Libraries, input dht to filter the library, and install DHT sensor library by Adafruit.

Install_DHT_LibraryNow click on the Upload button again, the code will be compiled and uploaded to the board. Now open the serial monitor with Ctrl+Shift M or Tools->Serial Monitor, and you should see the printed values for the humidity in percent as well as the  temperature & heat index in Celcius and Fahrenheit.

Wemos_D1_mini_Temperature_HumidityThe reported temperature matched the temperature reported by my IR thermometer (32.5 C). Pretty good. If you’d like to get results displayed on a web page instead, you may want to modify DHT Shield->SimpleServer sample.

Now I’ll had the relay shield on top, and run another sample (File->Sketchbooks->D1_mini_Examples->04. Shield->Relay_Shield->Blink):

The relay blink sample will turn on and off the relay every two seconds. Since the DHT Pro shield uses D4 pin and the Relay shield uses D1 pin both can be used at the same time. I had no problem uploading the sample to the board, and hearing the relay switch on and off every 2 second.

So overall, I’m very pleased with WeMos D1 mini and the shields I tried, as everything pretty much worked out of the box, and I’ve got an ultra-compact WiFi connected system with a 5A/250V relay, and a fairly accurate (+/- 0.5C) temperature and humidity sensor for around $10.