Tag Archives: ESP8266

ESP8266 (ESP-03) Based Ultra Low Power Weather Logger

Yet another ESP8266 (ESP-03) based ultra low power weather logger with 4 sensors.

Features

  • Working with two AA battery
  • Ultra low power consumption
  • 4 sensors and 6 measurements:
  • HDC1080 – Temperature & Humidity
  • LPS25HB – Pressure
  • VEML6070 – Ultraviolet Index
  • TSL2561 – Ambient & Infrared
  • Built-in 3.3v Boost Converter
  • TPL5111 System Timer (20 mins update interval, can be customized via resistors)
  • Battery voltage monitor
  • UART port for programming & debugging

ESP8266 (ESP-03) Based Ultra Low Power Weather Logger – [Link]

BlkBox BB-E01P – The World’s Smallest ESP8285-Based WiFi Module

Back in March 2016, Espressif Announced the ESP8285 Wi-Fi Chip, a supposed killer of the favorite ESP8266 chip. The new chip is an ESP8266, but with the flash memory onboard –  1MB flash memory. Espressif’s ESP8285 delivers highly integrated Wi-Fi SoC solution to meet users’ constant demands for efficient power usage, compact design and reliable performance in the Internet of Things industry. With the complete and self-contained Wi-Fi networking capabilities, ESP8285 can perform either as a standalone application or as the slave to a host MCU. When ESP8285 hosts the application, it promptly boots up from the flash. The Chip is also ultra-small as compared to the ESP8266 making it suitable for applications like in wearables.

Taiwan based Blkbox may have designed the world’s smallest WiFi IoT module with their Espressif Systems ESP8285 based BB-E01P module which is pin-compatible with the ESP-01 module, and measuring just 10×14 mm. Several ESP8285 modules have been released, but the Blkbox version is probably the smallest ever. Itead Studio’s PSF-A85, an ESP8285 Wireless Module measures just 14mm*135mm, and even the Electrodragon ESP8285 WiFi module measures 15.5mm x 17.8mm. With this, the Blkbox module might be the smallest we currently have. The BB-E01P is the equivalent of the Blkbox predecessor BB-E01 with reduced dimensions.

BB-E01P ESP8285 Pinout

The following are the specification of the Blkbox BB-E01P ESP8285 WiFi module:

  • WiFi SoC – Espressif ESP8285 WiFi SoC with 1MB internal flash
  • Connectivity – 802.11 b/g/n WiFi with chip antenna
  • Expansion – 8-pin (2.54mm pitch) with Tx/Rx, CP, RS, GPIO0, GPIO2, 3V, GND (Same layout as ESP-01)
  • Interface – UART
  • Misc – Jumper supports Deep Sleep Mode (AT+GSLP)
  • Firmware Version: AT v1.6 / SDK v2.2
  • Power Supply – 3V -3.6V
  • Dimensions – 10 x 14 mm
  • Pin Pitch – 2.54mm

The Blkbox board is preloaded with the firmware version AT v1.5/SDK v2.2. Just like every other Blkbox boards, the module can be purchased on Tindie for $6.80 + shipping.

PacketMonitor32 – An ESP32-Based Packet Monitor with OLED

Wi-Fi Packet Monitors are usually a computer program or sometimes a piece of computer hardware that can be used to intercept and log traffic over a Wi-Fi network. My favorite software tool of all is the popular Wireshark which I have used several times for hacking Wi-Fi based hardware, like integrating the common Wi-Fi smart socket with OpenHAB. Packet monitor tools give the possibility of seeing what type of data is being sent out by a wireless device and provides us with the chance of conjoining that data for our purpose.

ESP32 Packet Monitor

Apart from the use of software for packet capture, we can also leverage hardware for this. The Espressif Systems ESP8266 and the ESP32 modules have been a go-to module for a lot of makers regarding Wi-Fi/IoT applications. Stefan Kremser aka Spacehuhn who first launched an Esp8266 based packet monitor, earlier last year has released an improved opensource ESP32-based packet monitor which is available on Tindie and Aliexpress for purchase.

The original Packet Monitor board put together by Spacehuhn is based around the ESP8266 and allowed you to see data packets flying around you in real-time. It tells how many Wi-Fi packets are sent every second and on which channel. It is also able to display the result on a small OLED Screen. The ESP32 version comes with some new features.

Then new ESP32 Packet monitor includes some new features to the existing ESP8266 Packet monitor. It adds an SD card support for capturing and saving traffic data with the possibility analyzing that data at other time, unlike the ESP8266 which shows only the current packet only, the ESP32 version displays an average RSSI (Received Signal Strength Indicator), and of course offer an improved performance due to the increased power of ESP32. It is built around the ESP32-Wrover module, which has 4MB Flash and 4MB PSRAM.

Like it’s predecessor ESP8266 PacketMonitor, the ESP32 PacketMonitor32 has a 1.3-inch OLED for displaying the traffic data. It can be powered via its micro USB jack or with a Lipo battery that also includes both over-charging and over-discharging protection. The board comes in two different versions, the one with an external (IPEX) antenna support, and one with a PCB antenna support. The one with the IPEX antenna offers increased range but won’t work without the antenna connected. It is possible to run on your code on the board or use the Spacehuhn packet monitoring software.
The PacketMonitor32 board is avaiable now for purhase on Tindie, and on AliExpress, with a price tag of $19.

ESP8266: Monitoring Power Consumption

Dani Eichhorn @ thingpulse.com writes:

In this post I’m going to show you how you can monitor the power consumption of your battery driven (ESP8266/ ESP32) device. Measuring the power consumption over a full activity/ sleep cycle is the precondition to optimize your code for a longer battery runtime. Only with a reliable tool you can decide which code changes lead to less consumption. In a later post we’ll look at some tweaks we can apply to the code to get a few more days out of the battery.

ESP8266: Monitoring Power Consumption – [Link]

RDA5981 is a $1 Fully Integrated WiFi Chip with an ARM Core

RDA’s RDA5981 is a fully integrated low-power WiFi chip from RDA Microelectronics. RDA5981 is a fully built WiFi chip highly intended for applications in the areas of a smart home, audio applications and IoT applications. The RDA5981 is being used in devices running Baidu DuerOS, the Chinese alternative to Amazon Alexa or Google Assistant.

RDA5981 WiFi Module

During the annual event of China’s semiconductor industry IC China 2016, RDA Microelectronics announced the RDA5981 during the event with promises of it reducing the size, power consumption, development costs of a smart device.

The RDA5981A is a low power MCU with IEEE802.11b/g/n MAC/PHY/radio integrated into one chip. The RDA5981 is powered by the ARM Cortex M4 plus FPU/MPU core running at 160MHz speed, a high performing processor for that application type. It has up to 288KByte of internal SRAM and additional 160Kbyte SRAM for Wi-Fi stack and flash cache but with only about 192Kbyte available for the user. It has up to 8MB of Flash, 2x ADC with a 10bit resolution, 8x PWM (Pulse Width Modulation), 4x SPI (Serial Peripheral Interface) with a maximum clock frequency of about 20MHz, one I2C, 2x I2S, 2x UART and a total of about 14 GPIO Pins.

RDA5981 Block Diagram

Concerned about Security, the RDA5981 has an onboard hardware cryptographic accelerator supporting AES/RSA, and a True Random Number Generator (not the one you use software to generate), and lastly a CRC accelerator for improved performance. It includes an onboard TCP stack which could either support SSL, TLS or even both.

Unlike the ESP8266, one the maker’s favorite Wi-Fi module, the RDA5981 includes USB2.0 features.

RDA5981 A/B/C processor specifications:

  • CPU – Arm Cortex-M4 +FPU/MPU core @ up to 160 MHz
  • Memory –
    • Up to 448 KB SRAM for network stack and application
    • User available memory is 192Kbyte
  • Storage –
    • Up to 32Mbit SPI flash
    • Support 64M PSRAM expansion
  • Connectivity
    • WiFi
      • 2.4 GHz 802.11b/g/n WiFi up to 150 Mbps with 20/40 MHz bandwidth
      • WPA, WPA2, WEP, TKIP, CCMP security
      • STA, softAP, P2P, STA+softAp, STA+P2P modes
      • A-MPDU, A-MSDU, HT-BA
    • TCP/IP stack with SSL and/or TLS
  • Host Interfaces – SPI / UART (AT command set) / USB2.0
  • Peripherals – 14x GPIO, 2x UART, 2x I2S, 1x I2C, 8x PWM, 4x SPI, 1x SDMMC, 1x USB2, 2x ADC
  • Security –
    • Hardware crypto accelerator AES/RSA,
    • True random number generator (TRNG)
    • CRC accelerator
  • Misc – Watchdog, 16×16 bits eFuse configuration
  • Package – 5×5mm2 QFN package, 0.4mm pitch QFN-40
  • Temperature –
    • -30oC to +80oC
  • Voltage – 3.0V – 3.5V

The board can be programming with AT commands or using mBed and the company provides support for FreeRTOS and mbedOS5.1 for the chip. More information about the device specification can be found on the Electrodragon Wiki

The RDA5981A IC is expected to sell for around $1 and an RDA5981A Wi-Fi module is available for sale at $1.92 from Electrodragon.

ESP8266 MAX7219 Dot Matrix Display

A MAX7219 driven Display, controlled by an ESP8266 SoC and MQTT

This project describes how to connect a MAX7219 to an ESP8266 Chip and let it act as a MQTT client. Its basically my ninHOME Node Firmware where you can optionally add a MAX7219 Display.

ESP8266 MAX7219 Dot Matrix Display – [Link]

ESP8266 WiFi Analyzer

This instrucatables show how to make an ESP8266 version WiFi Analyzer clone.

WiFi Analyzer is a handy app in Android, it help to visualize the WiFi signal information around you. It is very useful for helping select a right channel for setting a new AP. If you selected a channel that as same as another AP near you, you may encounter interference and degrade the network performance.

ESP8266 WiFi Analyzer – [Link]

ESP8266 based e-paper WiFi weather station

Erich Styger documented his experience building Daniel Eichhorn’s e-paper weather station with a custom enclosure:

Using e-paper for a weather station is an ideal solution, as the data does not need to be updated often. By default, the station reaches out every 20 minutes for new data over WiFi and then updates the display. Daniel Eichhorn already has published kits for OLED (see “WiFi OLED Mini Weather Station with ESP8266“) and touch display (see “WiFi TFT Touch LCD Weather Station with ESP8266“). I like them both, but especially the TFT one is very power-hungry and not really designed to work from batteries. What I would like is a station which can run for weeks.

ESP8266 based e-paper WiFi weather station – [Link]

Decoding and Encoding JSON with Arduino or ESP8266

In this blog post you’re going to learn how to decode (parse a JSON string) and encode (generate a JSON string) with the ArduinoJson library using the Arduino with the Ethernet shield. This guide also works with the ESP8266 and ESP32 Wi-Fi modules with small changes.

Decoding and Encoding JSON with Arduino or ESP8266 – [Link]

LoRaCatKitty: Build IoT Applications with LoRa in 3 steps!

Based on the ESP8266 module, “Andres Sabas” unite the best of WiFi and LoRa, Facilitating the development of IoT solutions.

LoRaCatKitty is designed to simplify the development of Internet of Things (IoT) applications using the fabulous (but still underutilized) LoRa Technology. We have based our development on the ESP8266 WiFi module and the LoRa RN2903 or RN2483 microchip module, and we have designed it to allow you can create IoT applications without deep knowledge of technology.