Particle Photon / Electron + RFN95W Long Range Radio

this is for very long range but it take 1.5 seconds to send just two double ( Latitude + longitude)

setModemConfig(Bw125Cr48Sf4096); // Bw = 125kHz, Cr = 4/8, Sf12 = 4096 chips/symbol,CRC on Slow+long range

setModemConfig(BW125CR46SF9); // BW = 125 Khz, Cr = 4/6, SF9 = 512 chips/symbol this faster that the previous.

setModemConfig(Bw125Cr45Sf128); // 2: Bw = 125kHz, Cr = 4/5, Sf7 = 128 chips/symbo and this one even faster: ( short data burst)

when testing at home I set power at 5dbm is ok … with 5 dbm and good line of sight one easy get a mile range… I used 23 dbm a few times to test the range … believe or not i do all this just to have fun and learn… I don’t have any of those test currently working in something usefully.
You can use one SDR radio to actually graph the radio signals LINK

i was able to use radio head library (inlcude RHMesh) having 2 moteinos with RFM96 sending data to photon.

#include <RHMesh.h>
#include <RH_RF95.h>

#define CLIENT_ADDRESS 1
#define SERVER1_ADDRESS 2
#define SERVER2_ADDRESS 3
#define SERVER3_ADDRESS 4
char publishString[100];

RH_RF95 driver;//(10,2);  //moteino mega

RHMesh manager(driver, CLIENT_ADDRESS);

2 Likes