Tag Archives: ESP8266

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.

Raspberry Pi Publishing MQTT Messages to ESP8266

Rui @ randomnerdtutorials.com tipped us with his latest tutorial. He writes:

In this project you’ll create a standalone web server with a Raspberry Pi that can toggle two LEDs from an ESP8266 using MQTT protocol. You can replace those LEDs with any output (like a relay that controls a lamp).

Raspberry Pi Publishing MQTT Messages to ESP8266 – [Link]

Esp8266 WebServer farm

An Esp8266 WebServer farm project by Eldon Brown’s (a.k.a WA0UWH)

After several long months, I have reactivated my Esp8266 WebServer Farm.
Currently, one of my WebServers can be accessed as: esp.wa0uwh.com:8154

Esp8266 WebServer farm – [Link]

Tiny ESP8266 Breakout Board

Stavros made a very small ESP8266 breakout board:

A very small breakout for the ESP8266. Includes all necessary pullups/pulldowns for it to boot to your code, a LDO regulator, a 3V3 output pin and enough breadboard space for one row on each side on a standard breadboard.

Tiny ESP8266 Breakout Board – [Link]

WeMOS D1 ESP8266 vs Arduino Uno, Arduino Due and Teensy 3.2. Which one is the fastest board?

In this video educ8s.tv is going to compare the computational speed of the WeMOS D1 ESP8266 based Arduino compatible board with the computational speed of the most popular Arduino boards and the Teensy 3.2.

A few weeks ago, in a similar video we compared the performance of the Teensy with the most popular Arduino boards. Today, we are going to add another board to the comparison, the WeMOS D1 ESP8266 Arduino compatible board. I have prepared a detailed tutorial on that board so you can check it out before we start.

WeMOS D1 ESP8266 vs Arduino Uno, Arduino Due and Teensy 3.2. Which one is the fastest board? – [Link]