0

I have two sx1278 Lora transceivers where both are connected to two Arduino Uno boards. I want to trigger a function in the Arduino Uno board where receiver side of LoRa connected using the signal received by Lora receiver.

asked Jan 11, 2021 at 7:04
4
  • Do you have a specific question? Have you looked at the examples of whatever LoRa library you’re using? Commented Jan 11, 2021 at 7:08
  • "LoRa by sandeepmistry" is the library I am using. I was able to send hello packets between two LoRa modules. Now what I want is trigger a function of receiver side of Arduino from a message get from LoRa module Commented Jan 11, 2021 at 8:06
  • 1
    what is preventing you from doing that? ... you still have not asked a question Commented Jan 11, 2021 at 10:14
  • I suggest writing code for that. Commented Jan 11, 2021 at 11:36

1 Answer 1

1

I'm assuming you have read the datasheet for the SX1278. If not, please refer to it at:

SX1278 Datasheet

On page 69 you will see a couple of tables regarding the functions possible on the digital I/O (i.e. DIO) pins:

SX1278 DIO Pin Functions

I'm not clear what exactly you are looking for or which mode you are operating in (you have provided almost no information about your project) but all the information you might need is available on these DIO pins.

You can connect the appropriate pin or pins to some of the edge sensitive lines on your Arduino and define and enable an INTERRUPT in your code. So when the event you are waiting for happens, an interrupt will occur, you can go and read the data and do whatever with it.

answered Jan 11, 2021 at 14:00

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.