Micropython running on the ESP32 MCU is a powerful combination for IoT

Micropython and the ESP32 Microcontroller: A Powerful IoT Combination

node-red dashboard example showing % alcoholMicropython is a compact but powerful subset of the Python programming language that can be used to program the advanced ESP32 microcontroller from Espressif® - perfect as a sensor node for the Internet of Things (IoT).

This example gauge is displaying data sent wirelessly from an ESP-32 to a Node-RED dashboard gauge for determining the alcohol content of a distillery process.

The ESP32 is a second generation product from Espressif, superseding the now famous ESP8266 microcontroller, the first MCU with WiFi built right into the chip die substrate.

ESP32: Low Power, Deep Sleep, Fast Internet Connection

the ESP32 with built-in OLED display can be used as a stand-alone wifi data monitor The ESP32 improves on the ESP8266 in many areas, such as the ability to reduce power to a very low number in sleep mode. We use it as our main wireless sensor 'mote' for the Internet of Things (IoT).

Here's an example of how useful it can be: a Bitcoin (or stock exchange) monitor with a screen built into the board, mounted in a small housing.

It also has many more GPIO control inputs and outputs, built-in touch sensors, a built-in Bluetooth Low Energy (BLE) radio, analog inputs and outputs, and many other class leading features that set it apart from anything else on the market. This amazing device is capable of waking from a very low power deep sleep to join your wifi network in less than a second.

You can also upload files with a regular FTP program (such as FileZilla™), and the Micropython language includes an operating system for creating files and folders, much the same as a regular PC.

For more info, please see our multi-page article series about Micropython running on the ESP32.

ESP32: Long Distance LoRa Boards

ESP32 LoRa module transmits data over a long range of many miles

For longer distance applications we have LoRa gateways that give us about 5 to 10 miles of range, depending on line-of-site conditions.

These gateways are registered through our membership in the TheThingsNetwork.org.

This is a bold initiative from the Netherlands that is basically a user-supported global alliance providing free LoRa gateways that can be shared by anyone. For more info, see the global network map of LoRa gateways.

LoRa Antennas (USA freq. 915 MHz) Enhance Transmissions

915 MHz LoRa directional yagi antenna for North America We also have special LoRa yagi antennas that boost the range considerably (for the North American 915 MHz LoRa band).

These directional antennas can be pointed directly at a LoRa gateway to improve performance and range.

The bracket provides a firm mounting point for placement on a pole or tower of some kind, and the main idea is to try and position it for line-of-sight transmission to the gateway.

The Raspberry Pi & the Node-RED Visual Design System

The Raspberry Pi started a revolution in the single board computer (SBC) world, and the ESP32 is doing to the microcontroller world what the Pi did to the SBC world.

We use the Pi as a perfect platform for the awesome Node-RED flow and dashboard web server system for displaying all kinds of gauges and controls. We use the ESP32 as an inexpensive wireless sensor mote that feeds data back to the Node-RED dashboard on the Pi via MQTT through the local WiFi system.

Node-RED is a visual design environment for IoT

For more information, please see our home control system using the affordable Raspberry Pi running the amazing Node-RED IoT automation software. You'll see how you can control blackout blinds, shades, window openers, home theater projectors, retractable screens, and many other devices!

You can purchase motors for blinds and window openers, and our control products in our DIY online automation store.

Stay tuned, if you're interested; we are taking the journey into IoT and automation, writing about every step we take!

Adrian Biffen
Senior Partner
RollerTrol Automation Systems

We sincerely hope you enjoy our advanced technology products; if you have any questions, please contact us at any time!

Micropython and ESP32 Articles Series

Part 1: Micropython for the ESP32: Connecting to Your WiFi Router Network

Part 2: Micropython for the ESP32 Microcontroller: REPL Communications

Part 3: Micropython for the ESP32: FTP Fast File Transfer

Part 4: Micropython for the ESP32: Pre-loaded Programs

Part 5: Micropython for the ESP32: DC Motor Reversing Switch