Skip to content

Pico Peer-to-Peer LoRa Chat using Arduino-Core, Raspberry Pico 2W (rp2350) and Waveshare SX1262

Notifications You must be signed in to change notification settings

qubit999/pico-p2p-lora-chat-cpp-arduino-ide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

πŸ“‘ Pico P2P LoRa Chat πŸš€

This project demonstrates a half-duplex peer-to-peer (P2P) chat application using Raspberry Pi Pico 2W and Waveshare SX1262 LoRa modules. I tested a distance of a few centimeters between each peer and the speed was amazingly fast (realtime).

Hardware Used

  • Raspberry Pi Pico 2W
  • Waveshare SX1262 LoRa Module

For more information on the Waveshare SX1262 LoRa Module, visit the Waveshare Wiki.

Prerequisites

Wiring

Connect the Pico 2W to the Waveshare SX1262 module. It's an expansion module that sits on top of the Pico.

Setup

If you haven't installed Arduino-Core for Pico 2W, you can't flash to Pico 2W (check Prerequisites)!

  1. Clone the repository:

    git clone https://github.com/qubit999/pico-p2p-lora-chat-cpp-arduino-ide.git
  2. Open the project in Arduino IDE and adjust radio.setFrequency(868.0); to match your region (default setting: 868 MHz).

  3. Select the correct board and port:

    • Board: Raspberry Pi Pico/RP2040/RP2350
    • Port: Select the appropriate port for your Pico 2W
  4. Upload the code to the Pico 2W.

Usage

  1. Power on both Pico 2W devices with the SX1262 modules connected.
  2. Open the Serial Monitor in Arduino IDE for both devices.
  3. Type a message in one Serial Monitor and press enter.
  4. The message should appear on the other device's Serial Monitor.

Now you're ready to chat! :-)

Examples

Peer #1 Peer #2

Show Support

If you find this project useful, you can buy me a coffee. πŸ˜‡

About

Pico Peer-to-Peer LoRa Chat using Arduino-Core, Raspberry Pico 2W (rp2350) and Waveshare SX1262

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages