Recommended Tutorial ...
materials
2 modules LoRa RFM95 in my case are at 915.0 Mhz
2 white PCB adapters for ESP8266 12E / F desolder all Resistances
in previous tutorials we made a small characterization on these modules
In this tutorial, shared here, the advantages of LoRa communication will be mentioned
fortunately the PCBs for ESP fit our LoRa modules
Attention: Remove the 3 resistors from each PCB and do not solder any regulator
researching and testing I found a functional connection for ESP8266, complete information on PDAControl sites.
Regarding the antenna for LoRa modules we will try the simplest version to do ...
with the known wire or cable "UTP", I will indicate later how to manufacture it correctly
the module ESP8266 communicates with the module LoRa via bus SPI, for configuration and communication
Of course we need 2 exactly the same .. one only does not work .. hehehe
bookstores
since these are initial tests with LoRa, we will try a very simple library .. "RadioHead"
this library is also used by adafruit ...
there is a complete "API" for this library
Antenna manufacture
initially thanks to "automatizanos.com" for the information on this page "moukd.com"
technically we enter the frequency for our antenna in my case "915.0"
we calculate and return the length of the "monopolar vertical antenna"
for modules of 915.0MHz 7.8 Cm will work for small tests
well the antenna will not provide kilometers, but in this case it will work
Receipt and transmission tests ..
I downloaded the examples and made some changes.
the pin configuration for SPI and GPIO interferences for ESP8266
Communication frequency
Transmission power
the library examples did not compile well, so modify the sending and receiving routines
the other example is technically the same, only the routine is changed to transmit ..
The test, the module will send the "PDAControl -" and a send meter from one module to the other
the "Blue" Leds of each ESP module have been configured indicating transmitting and receiving
disconnect the module that transmits ...
the blue led of the ESP that receives will remain on ...
if we reconnect the ESP that transmits ... they will communicate without complication
LEDs flashing .. correct communication
LoRa has many advantages, long distance and low consumption
you could create low consumption sensors, it is only technically required to encrypt the message
the applications with this LoRa are quite promising ...
in next tests we will implement LoRaWAN which is a protocol for LoRA is a bit more complex and the TTN platform.
LoRa would say that it is perfect for IoT sensor applications, I recommend visiting pdacontrolen.com and pdacontroles.com, regards
No comments:
Post a Comment