software to simulate sx1276 with arduino

good night

I am in doubt if there is a possibility to simulate a LoRa module that uses the sx1276 with the arduino in software such as the proteus

could someone point me to some software?

What aspect(s) exactly are you trying to simulate?

I wanted to simulate sending gps data from one Arduino to another using LoRa

That includes:

  • the receipt and processing of GPS data by the Arduino
  • the receipt of data from a wireless device by the Arduino
  • the transmission of data to a wireless device by an Arduino
  • the specifics of wireless communication (such as dealing with packet loss, retransmissions and acknowledgements)
  • the specifics of LoRa communication
  • and probably things that I haven't thought of yet
    Each of which are totally different aspects of what you're trying to do, some of which are easy to simulate (typically the aspects that are independent from the wireless or LoRa aspect), others, due to the randomness of the real world, are really hard to accurately simulate in a computer environment.

I understand

is there a possibility then to simulate only sending and receiving data using some LoRa module with Arduino through some software?

The data sent would be short text messages

The 'type' of data is not important, the SX127X is a register centric SPI device that deals in 8 bit bytes, it has no knowledge of the type of data being sent or its structure.

If a simulator is available, I dont recall hearing about it in these Arduino forums.

Easier to work with real devices, so you can deal with the real hardware issues.

You say "I understand" but your follow-up question tells me you don't understand at all what I've been saying, as that question is basically the same as what you started off with.

From the Arduino pov it doesn't matter what is in between. i like to use the RadioHead library to communicate with the module and for its many other features, but if all you want is simulating data transfer there is no real difference between that and a Serial interface. You just get to read the data from a different memory buffer.

Hi,
Welcome to the forum.

Please read the post at the start of any forum , entitled "How to use this Forum".
OR
https://forum.arduino.cc/index.php?topic=712198.0

Can you please tell us your electronics, programming, arduino, hardware experience?

I think it would be best, if you haven't already, acquired the basic hardware and work with just getting each part to work with an Arduino controller, then begin your integration.

Thanks.. Tom... :slight_smile:

  1. if you are asking about LoRa, tell us where you live. there is a term, "regulatory domain", which means "laws differ between countries"

  2. look at the cost of an Arduino UNO and an Adafruit LoRa breakout board. then look at the cost of an ESP32 with built in LoRa, OLED display, Wifi and Bluetooth. it's like, a used VW van versus a brand new SUV, for the same price. I prefer the TTGO brand ESP32 board, which has a proper SMA LoRa antenna connector, over the puny u.fl connector on other ESP32 boards.

  3. look for ESP32 LoRa GPS tracker, and pick among the dozen or so projects that show up just on the first page. Or, look up Arduino GPS tracker, and Arduino LoRa, and figure out how to combine the two. why bother simulating, when you can go direct to using?

FWIW: Selecting an Arduino | Adafruit Arduino Selection Guide | Adafruit Learning System

No. There really is no possibility at all of simulating such a scenario.

Build it and test it. The effort will be an excellent and inexpensive learning experience.

I hole heartedly agree, great integrated boards and the SMA is preferred connector on most external aerial systems.
Tom... :slight_smile:

When you get to real devices, check out my tutorial
Arduino Serial I/O for the Real World
which includes a GPS example and my LoRa project

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.