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

Typie-Walkie with LoRa and E-Paper Screen

This project is a variant of the Typie-Walkie E-Paper Screen. The radio of the initial project, WiFi, does not match with the low-power features of the e-paper screen.

Looking for another radio, LoRa came up for short messages over long distances. The boards are the iLabs Challenger RP2040 LoRa: they combine a RFM95W-SX1276 sub-1 GHz radio with an RP2040 MCU.

The touch e-paper screens were sampled by Pervasive Displays. The Challenger boards were bought at The Pi Hut.
Picture

Hardware

The main difference is the board, here the Challenger RP2040 LoRa with a sub-1 GHz radio.

The RP2040 offers two SPI buses: one is used for the e-paper panel; the other for the radio. The touch controller is driven through I²C.

The boards feature a native connector for a LiPo battery.
Picture

Software

The application is identical for the two devices.

The libraries for the screen remain unchanged. The Pervasive Displays Library Suite manages all the elements of the interface:
  • The input keyboard is used to type in the messages (TX);
  • The Send button sends the messages (TX); and
  • The output text-box displays the messages received (RX).

The keyboard contains three sets of keys: capital letters, lowercase and symbols.

​Additionally, the § key changes the layout, and the « key acts as backspace.
The management of the LoRa radio was supposed to be easy thanks to the off-the-shelves Arduino LoRa library. Alas, it wasn't the case.

Too many messages were lost, whatever the options used with or without interrupts and callbacks. By luck, the RP2040 features two cores: dedicating each one to a specific task solved the problem.
  • The first core manages the touch and screen.
  • The second core manages the LoRa radio.
Both cores communicate through two hardware FIFOs: one FIFO provides write access to the first core and read access to the second; the other FIFO does the opposite.

The SDK also brings useful tools like mutexes to avoid collisions on the serial port. Those tools were encapsulated as objects to match the syntax of the Galaxia library.

Conclusion

Compared to other sub-1 GHz solutions (like the Texas Instruments CC1310,  CC1350, CC1312, CC1352), the iLabs Challenger RP2040 LoRa doesn't provide the same level of integration. One core of the RP2040 is dedicated to the radio to avoid losing messages.

Compared to MQTT, LoRa doesn't provide the application layer: it needs to be developed with proprietary solutions. 

The LoRa radio is consistent with the e-paper technology to bring a truly low-power solution.

Links

  • Pervasive Displays website
  • EPD Extension Kit Gen 3 (EXT3/EXT3-1) product page
  • Touch Expansion Board for EXT3 (EXT3-Touch) product page
  • 3.7" e-paper touch-screen product page
  • Pervasive Displays Library Suite
  • iLabs website
  • iLabs Challenger RP2040 LoRa (868MHz) product page
Picture
Picture
Posted: 12 Aug 2022
​Updated:

Powered by Create your own unique website with customizable templates.