LoRa with Raspberry Pi – Peer to Peer Communication with Arduino

aliasghar's picture

Offline

Joined: Jun 15, 2019

Replies: 0
LoRa with Raspberry Pi – Peer to Peer Communication with Arduino
June 15, 2019 - 11:50am

Hi

I made the program you posted on the Russian site and all the instructions you gave me in step-by-step.
I also checked my connections several times that it was correct, but the program did not work and gave the message

from sx127x.LoRa import*

ImportError:no module named'sx127x'
please help

Aswinth Raj's picture

Offline

Joined: Aug 16, 2016

Replies: 894
package installation probelm
June 17, 2019 - 12:20pm

I am not sure to which russian site you are refering to. But the original content can be found here

https://circuitdigest.com/microcontroller-projects/raspberry-pi-with-lora-peer-to-peer-communication-with-arduino

 

The reason you are getting the error is that the SX127x package is not installed on your pi. Follow the link above and scroll down for the heading "Configuring the raspberry pi for LoRa module" Follow the steps to install the package and you will no longer get this error.