LoRa and 433 MHz radio simulator for Arduino

Argynix Lab simulates the SX1276 and SX1278, the chip in HopeRF's RFM95W and Ai-Thinker's Ra-02, register by register as the LoRa library drives it. A packet takes its real time on air for its spreading factor, bandwidth and length, and every LoRa radio on the bench on the same frequency, spreading factor, bandwidth and sync word hears it, with its RSSI and SNR.

With one radio on the bench, the Lab's own radio is at the other end: it answers each packet, or sends one every few seconds. EBYTE's E32 works as its transparent serial link, with its M0 and M1 modes, its AUX pin and its configuration commands.

The 433 MHz parts are on the bench too: a four-key fob that sends EV1527 codes, the FS1000A transmitter and the XY-MK-5V receiver, which RCSwitch reads and sends with. The IR remote sends NEC codes to an IR receiver for IRremote.

LoRa simulator: Argynix Lab

What Arduino IDE code can use

Simulated works against the parts on the bench; partly runs with the limit noted; not simulated stops the build and says so.

All libraries
LibraryWhat it doesIn the Lab
DHT
#include <DHT.h>
Temperature and humidity from the DHT22.Simulated
LiquidCrystal_I2C
#include <LiquidCrystal_I2C.h>
A 16x2 character LCD on an I2C backpack.Simulated
Adafruit SSD1306
#include <Adafruit_SSD1306.h>
The 128x64 OLED, drawn with Adafruit GFX.Simulated
Adafruit NeoPixel
#include <Adafruit_NeoPixel.h>
NeoPixels: a single LED, the ring and the 8x8 matrix.Simulated
Keypad
#include <Keypad.h>
The 4x4 membrane keypad.Simulated
RTClib
#include <RTClib.h>
The DS1307 clock: RTC_DS1307 and DateTime.Simulated
HX711
#include <HX711.h>
A load cell through the HX711 amplifier.Simulated
ArgynixCloud
#include <ArgynixCloud.h>
Readings to ARGYNIX Cloud and commands back, with Live in Cloud.Simulated
Wire
#include <Wire.h>
I2C, to the bench’s I2C parts and to other boards.Simulated
Servo
#include <Servo.h>
Hobby servos. ESP32Servo.h works on the ESP32 boards too.Simulated
EEPROM
#include <EEPROM.h>
The board’s EEPROM, read and written byte by byte.Simulated
WiFi
#include <WiFi.h>
Wi-Fi on the boards that have it: the ESP32s (not the H2 and P4), the Pico Ws and the Nano ESP32. WiFiS3.h on the Uno R4 WiFi.Partly
ESP-NOW
#include <esp_now.h>
ESP32 boards on one bench send to each other: to a peer’s MAC or to all, with the send and receive callbacks.Simulated
BluetoothSerial
#include <BluetoothSerial.h>
Classic Bluetooth serial on the original ESP32, to the bench’s phone.Simulated
BLE (Arduino-ESP32)
#include <BLEDevice.h>
Bluetooth LE on the ESP32s: a server the bench’s phone or another board connects to, a scan that finds the other boards advertising, a client that reads, writes and subscribes.Simulated
NimBLE-Arduino
#include <NimBLEDevice.h>
The same on NimBLE-Arduino’s API: server, scan and client.Simulated
ArduinoBLE
#include <ArduinoBLE.h>
Bluetooth LE as ArduinoBLE has it, peripheral and central: on the Uno R4 WiFi and the ESP32s.Simulated
BLE (arduino-pico)
#include <BLE.h>
Bluetooth LE on the Pico W and Pico 2 W: BLE.server(), BLE.scan() and BLE.client().Simulated
TWAI (CAN)
#include <driver/twai.h>
The ESP32’s own CAN controller (ESP-IDF’s TWAI driver), through a transceiver on the bench (SN65HVD230): to MCP2515 modules and other ESP32s.Simulated
SPI
#include <SPI.h>
The SPI bus, to the bench’s SPI parts: displays, SD, RC522, nRF24, MCP2515, LoRa, W5500.Simulated
SoftwareSerial
#include <SoftwareSerial.h>
A serial port on any two pins.Simulated
Stepper
#include <Stepper.h>
The stepper motor, through its driver pins.Simulated
LiquidCrystal
#include <LiquidCrystal.h>
A 16x2 LCD wired in parallel; it latches on E as the real one does.Simulated
Adafruit GFX
#include <Adafruit_GFX.h>
Text, lines and shapes for the OLED.Simulated

Questions

Can two boards talk over LoRa?

Yes. Every LoRa radio on the bench on the same channel hears the others, so two boards with an RFM95W each send and receive. With one radio, the Lab's own radio answers it or sends to it, set in the inspector.

Is the time on air real?

Yes. A packet takes the time Semtech's formula gives for its spreading factor, bandwidth, coding rate and length (with the usual eight-symbol preamble), and TxDone comes when it has been sent.

Is LoRaWAN simulated?

No. The radio and LoRa packets between radios are; joining a LoRaWAN network through a gateway is not.

Is Argynix Lab free?

Yes. Every board, part and example is free to use, without an account; your projects stay in your browser. A free ARGYNIX account keeps up to 10 projects in the cloud. The Pro and Team plans add more projects and saved versions, private sharing and priority builds.

Can I flash a real board from the browser?

Yes. With Chrome or Edge on a computer, the Lab writes the program to a real Arduino, ESP32, STM32 or Raspberry Pi Pico over USB (Web Serial), or saves a UF2 file for the Pico.

Is Argynix Lab an alternative to Wokwi or Tinkercad Circuits?

Yes, it is in the same family: it simulates microcontroller projects in the browser. What the Lab brings: Arduino, ESP-IDF, STM32 HAL and MicroPython projects in one place, exact AVR and RP2040 chips, a 3D bench, flashing a real board from the browser, and a running project that sends readings to ARGYNIX Cloud.