Loraduino

From ElectroDragon
Revision as of 06:46, 26 March 2021 by Chao (talk | contribs) (Created page with "== Loraduino == * Demo sketch please find at, RF95 client send is default flashed in board - https://github.com/Edragon/Arduino/tree/master/Sketchbook/02_LORA * if you have a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Loraduino

  • Demo sketch please find at, RF95 client send is default flashed in board - https://github.com/Edragon/Arduino/tree/master/Sketchbook/02_LORA
  • if you have a pair, just flash another one to client server, LED will blink when data is transceiving between two modules, and 9600 baudrate serial output hello to you.
  • Sketch include battery check function, but not yet fine tuned (to-do)
customer please see wiki login info in tracking info email to access

Pin Definition

Atmega328 D13-D11 SPI D10 D9 D8 D7 D6 D2
Function D13-D11 SPI SX1278 CS SX1278 RST SPI Flash CS LED Battery Check SX1278 IRQ
  • Demo Sketch - Use Radiohead RF95 library, preload demo sketch rf95_reliable_client
  • Schematic see on this right.

Set Frequency

...
  if (!manager.init())
   Serial.println("init failed");
 driver.setFrequency(470.0);   // add frequency set here
...