Embedded Computing
  • About
  • Blog
  • Hardware
    • Which Platform?
    • Controller Platforms >
      • Adafruit Platform
      • Arduino Plaform
      • BBC micro:bit
      • Espressif Platform
      • iLabs Platform
      • Raspberry Pi Platform (MCU)
      • Seeed Platform
      • Silicon Labs Platform
      • Teensy Plaform
    • Computer Platforms >
      • BeagleBone Platform
      • Raspberry Pi Platform (SBC)
      • UDOO Platform
    • Peripherals >
      • Shields
      • Grove System
      • Sensors
      • Actuators
    • Displays >
      • E-Paper Displays
      • Reflective Displays
      • TFT Displays
      • LCD Displays
    • Legacy Platforms >
      • chipKIT Plaform
      • 4D Systems Platform
      • Intel Platform
      • LaunchPad Plaform
      • BoosterPacks for LaunchPads
      • LightBlue Bean
      • Maple Plaform
      • Mediatek Platform
      • Microsoft Azure IoT DevKit
      • Particle Platform
  • Software
    • Exploring RTOS with Galaxia >
      • Event Library
      • Semaphore Library
      • Mailbox Library
      • Timer Library
      • Clock Library
      • SWI Library
      • Task Library
    • Ultra-Low Power with EnergyTrace >
      • Ultra-Low Power with MSP430
      • Ultra-Low Power with Energia MT and Galaxia
    • Using Integers Instead of Reals
    • Going Python?
  • IoT
    • IoT Platforms: Which Hardware? >
      • Matter with Silicon Labs MG24
    • IoT Services: Which Solution? >
      • Recommended IoT Solutions
      • Platform-Specific IoT Solutions
      • Other IoT Solutions
      • Not tested IoT Solutions
      • Notification Solutions
    • Get Date and Time from Internet with NTP
    • Fast and Easy WiFi Connection with QR-Code
  • Tools
    • How to Start?
    • Reference >
      • Asking for Help
      • Boards Pins Maps
      • Ruler
      • Boards and Plugs
      • I²C Logic Level Converter
      • Standards for Connectors
    • Training >
      • Texas Instruments Workshops
      • Embedded Systems: Shape The World — MOOC edX UTAustinX UT.6.02x
      • Embedded Systems - Shape The World: Microcontroller Input/Output — MOOC edX UTAustinX UT.6.10x
      • Embedded Systems - Shape The World: Multi-Threaded Interfacing — MOOC edX UTAustinX UT.6.20x
      • Real-Time Bluetooth Networks: Shape the World — MOOC edX UTAustinX UT.RTBN.12.01x
      • Systems Thinking with Texas Instruments Robotics System Learning Kit
    • Books >
      • Getting Started with the MSP430 LaunchPad
      • Getting Started with Arduino
      • Arduino Cookbook
    • IDE >
      • The Battle of IDEs
      • More Options
      • Assessing the Next Generation of IDEs
      • Tools for Documentation
    • Equipment >
      • Saleae Logic Analyser
      • Rigol DS1102E Oscilloscope
      • XDS110 Debug Probe with EnergyTrace​
      • Segger J-Link Programmer-Debugger
      • Nordic Power Profiler Kit II
  • Projects
    • Libraries >
      • Master I²C Software Library
      • Date and Time Library
      • highView Library Suite
      • Others Libraries
    • smartDevices >
      • I²C smartColours Smart Sensor
      • I²C smartRFID Smart Sensor
      • I²C smartLED Display
      • I²C smartControls Smart Device
      • I²C smartWiFi Smart Device
      • I²C smartBLE Smart Device
      • I²C smartNode Smart Device
    • IoT Projects >
      • Remote E-Paper Weather and Message Board
      • Typie-Walkie with LoRa and E-Paper Screen
      • Typie-Walkie with E-Paper Screen
      • Remote e-Paper Pictures Panel
      • Remote e-Paper Messages Panel
      • Industrial IoT Project
      • Remote Contactless Temperature Monitor
      • Using Node-RED for IIoT
      • Low Power Home Network Weather Monitoring
      • Updated Low Power Home Network Weather Monitoring
      • Weather and Security Station with Blynk
      • SensorTag to Blynk Using Node-RED
      • Pervasive Reporting
    • AI Projects >
      • Colour Recognition with Neural Network
    • Other Projects >
      • Air Quality Monitoring
      • Driving a Large E-Paper Display with a Compact Xiao RP2040
      • Low-Power E-Paper Weather Station
      • Portable Particulate​ Matter Monitor
      • FRAM-based E-Paper Screen Controller
      • General Purpose 3.5" Screen
      • Colour Recognition with Neural Network
      • A Low Power Weather Station
      • Digital Volt-Amp-Watt Meter
      • Mobile Measurement with LCD Display
      • Screen with SRAM for GUI
      • Volt-Amp-Watt-Meter for Grove
      • Multi-Touch Project with CapTIvate

Remote E-Paper Weather and Message Board with Arduino Cloud

How to display weather and messages on a remote screen? This project combines e-paper screen and IoT and leverages the Arduino Cloud.

This project leverages the Pervasive Displays EPDK-Matter but uses instead the Arduino Nano ESP32 with WiFi connectivity.

It relies on the Arduino Cloud for both the development of the software and the management of the device.

The project is also published at Hackster.io.
Picture

Hardware

The Pervasive Displays Development Kit for Matter (EPDK-Matter) packs an EXT4 extension board, a 2.90” e-paper display and an adapter board, plus accessories. Initially designed for the Arduino Nano Matter board, It can also be used with other members of the Arduino Nano family.

Here, we are using the Arduino Nano ESP32 powered by the u-blox NORA-W106 module based on the Espressif ESP32-S3. It brings WiFi and Bluetooth connectivity.

The adapter board provides a fast and secure connection of the Arduino Nano ESP32 board to the EXT4 extension board.
Picture

Software

The PDLS_EXT4_Basic_Matter library is part of the Pervasive Displays Library Suite and is available as an open-source GitHub repository.

The documentation includes a technical wiki, a user guide and a reference manual.
Picture

Development

The development is done entirely with the Arduino IoT Cloud application.

The left pane provides different pages for each step: Devices, Things, Sketches and Dashboards.

Picture

Device

The device refers to the physical object.

Once the Arduino Nano ESP32 is connected to the PC through USB, the Arduino IoT Cloud application displays two keys: the Device ID and the Secret Key, to be noted or saved very carefully.

On the Device page, press the Add button to add and name it.

Picture

Thing

A thing associates variables to a device connected to a network.

Picture
On the Thing page, create the variables used by the project.

Type
Variable
Widget
READ/WRITE
String
vText
Messenger
READ/WRITE
float
vHumidity
Value, float
READ
float
vTemperature
Value, float
READ
CloudColoredLight
vColour
Coloured light
READ/WRITE
bool
vStop
Button
READ/WRITE
Configure the network the board is connected to.

Picture

Sketch

The main sketch .ino contains the code of the application.

It is highly modular, with dedicated sections for each part.
  • IoT, including the functions which are called when the values they managed are changed from the Dashboard.
  • Text management, up to 4 messages,
  • Screen, initialisation and refresh,
  • Temperature and relative humidity sensor,
  • RGB LED.
Picture
The Markdown-like ReadMe.adoc file includes the typical read-me instructions.

The thingProperties.h header file lists the variables defined earlier. It also includes functions for the variables marked as READ/WRITE. Those functions are called when the Dashboard changes the values they manage.
Picture
The Sketch Secret file includes protected constants, such as the SSID name and password, the Secret Key of the device.

Although not directly used, it is a good idea to add the Device ID to the Sketch Secret and the corresponding constant declaration on the thingProperties.h header file.

Picture
The library PDLS_EXT4_Basic_Matter manages the screen.

To include it, click on the library icon, search for ext4, select it and install it.

The project also uses the library Adafruit NeoPixel to drive the RGB LED. To install it, follow the same procedure.

Picture
The pins naming uses the legacy scheme, by GPIO number. If the default by Arduino pin is selected, a compilation error is raised. This is a requirement of the Adafruit NeoPixel library.

The code is available at the PDI_EXT4_Arduino_Cloud GitHub repository.
Picture

Dashboard

On the Dashboard page, add the widgets.

For each widget, associate the corresponding variable as defined at the step related to the Thing.

Picture
Picture
Picture

Implementation

Once everything is ready, press Verify then Upload. The compilation process is rather slow.

The free edition of the Arduino Cloud solution does not bring over-the-air (OTA) upload, so the Arduino Nano ESP32 board needs to be connected to a Serial port.

Connect to the dashboard, read the temperature and humidity, send a message, set the colour of the LED and turn it on and off!

Picture
The Serial console traces the different events.
Picture

Conclusion

The free edition of the Arduino Cloud solution, offers everything needed to design, develop and implement an IoT project.

The advanced integration with Arduino hardware, the extensive documentation, the safe connection of the Development Kit for Matter (EPDK-Matter), the availability of the dedicated PDLS_EXT4_Basic_Matter, all those ingredients make a perfect match for the development of advanced IoT projects.
Picture

Links

Hardware
  • Pervasive Displays Development Kit for Matter (EPDK-Matter)
  • Arduino Nano ESP32 PDLS_EXT4_Basic_Matter
Software
  • Pervasive Displays Technical Wiki
  • PDLS User Guide
  • PDLS Reference Manual
Tools
  • Arduino Web Editor
  • Arduino IoT Cloud
  • Arduino documentation

Posted: 30 January 2025
Powered by Create your own unique website with customizable templates.