Home Wireless
Published in

Home Wireless

A LoRa PingPong for the STM32WLE5 (LoRa-E5 Part 4)

After setting up the development environment it’s time to write and test a simple LoRa PingPong application — something that sends and receives to a partner.

Two pingpong LoRa-E5 systems

The test system(s) are a Seeed Studio LoRa-E5 Dev Board and a Seed Studio LoRa-E5 mini (wio-e5). They are almost identical electrically and here they are running the same application.

The wio-e5 mini, the Stlink3, and the LoRa-E5 Dev Board

The application is a melding of three sample applications. Blinky (blink an led) is a visual way to keep track of the state. lora\receive is the lora receive application and lora\send is the send application. By merging the three and adding a little bit of handshaking math they all work as a great test.

For serious debugging go through the previous post to set up the VSCode debugging. Do a Debug Build and run the debugger (F5). To look at the LOG_INF and LOG_ERR output connect a serial terminal program to the USB port.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mark Zachmann

Mark Zachmann

Entrepreneur, software architect, electrical engineer. Ex-academic.