Why did you not use logic level converters for your connections to the LoRa sx1278 modules which operate on 3.3V logic ? Is there no risk of burning your module by connecting its pins directly to the arduinos which operate on 5V logic??
If we use Arduino UNO in the transmitter circuit and ESP32 in the receiver circuit, will there be anything that needs to be added in the code section other than the pin definitions? So, since there are different devices, do we need to add the necessary config commands for communication, or should it stay the same because the Lora module already communicates?
Note that the LoRa module SX1276 for the emitter should not be powered by the Arduino Nano, but by an external 3.3V power supply to have enough current
Can i use Lora module for quadcopter ? Is this okay to use? Because I heard everywhere it's had nice feature for long range. If no,which device can I use for quadcopter RC?
Hello I am using sx1278 ra 01 ai thinker and 2 arduino uno ...but the receiver doesn't receive any packets. Does this have to do with the fact that the arduino operates at 5 V while loRa modules operate at 3.3 V ? Would a level shifter make any difference ?
A transmissão de dados com dois transceptores Lora E32 433t30D, é em real-time? Ou existe um Delay entre a transmissão e a recepção do dados na outra ponta????
WARNING! Unless you use a 3.3V arduino board such as the Pro Mini 328, or use level shifting on your data connections between the Arduino and SX1278, you will have problems. I found this out the hard way. The data outputs on 5V boards are too high for the the SX1278 and will create havoc. It might work, might not, may possibly damage the module, but will be unreliable at best. Make sure you are really clear the Arduino you are using is compatible with the SX1278, or compensate accordingly.
@@angelalferez2002 You're welcome. Using a bidirectional level shifter will work (though hogs real estate.) Be sure you get one fast enough (such as the TXS0108E.) Although I am using simple resistor voltage dividers on several projects and I haven't had any problems. I chose a fairly low resistance so as not to affect speed.
@@kevinjones9586Hello, which of the connection pins are input on the module = need voltage regulation. And how strong resistors did you use for the voltage divider.
@@marekcermak3843 Any pins which could have 5V applied to them, which includes all AFAICT except MISO which is output only. Voltage dividers are a tradeoff for limiting optimal speed against power consumption. My application didn't call for low power consumption so I used 330/680 ohm.
@@kevinjones9586 If i want to keep the speed as high as possible should I use higher or lower ohm resistors, or are there any other sloutions you would recommend? Thanks for replying 😉
Hi, I built this, Transmitter works well , receiver works for few minutes and then stops ...is it and input serial buffer that can be overflowing on the the receiver side ?
@@Renzo87 Are you running the transmitter and receiver codes on the same pc? When I run both of them in different sketch files on the same pc, I can run the transmitter circuit without any problems, but when I change the port settings and the board option of the receiver circuit, the port settings of the transmitter circuit also change. how can I overcome this problem?
It is uncertain about adressing with this LORA modules because i dont understand how he differ them in one area. I suppose we can make different networks by settign different frequencies and other parameters but what if someone uses the same setting in the same area where i use my modules. I suppose in that case this is my work as a programmer to make adresses with the program itself so strange packets get left out if they come but still i dont understand why nobody who teaches about this modules does not emphasize this.
Actually if u use multiple transmitter and receiver in an area then we have to define unique identifier for each transmitter and will use same identifier in the code of corresponding receiver that it will receive data packets from corresponding transmitter.
That's very good video, I just wondering how to extrapolate every single analog in such temperature and humidity... For example, if in your program you would like to turn on a Led when temperature is higher then 30° how could you do that? I presume that is needed a swap from char to integer? Thanks
int led_pin_1 = 8; pinMode(led_pin_1, OUTPUT); if (temp>30) { tone(led_pin_1, 100); //100 = 100% of power } else { notone(led_pin_1); } for that, you should connect the pin 8 to the led, and connect the other part with an eletrical resistance to the ground. I not sure about that, but try it, it's the same protocol than a buzzer.
I have a question, this Lora SX1278 need a power supply for 3.3v and the arduino can give it, but the Digital pins voltage in the arduino UNO have 5v, can those 5v damages the LoRa Module, or is possible to connect directly?
@@HowtoElectronics Hi, I was triying to find this information in SX1278 datasheet and I can not. There are lot of coments in LoRa foruns about that. Some higly recomends using logical converters. Your information is very usefull
Yes this code will work. I too had HPD13A SX1276 module. The code works perfectly. Note: in the code part assign the frequency by replacing 433mhz by 868mhz.
@@HowtoElectronics thank you so much But I tried this code and in reciever serial monitor I'm getting message like: Recieved pscket ............ -$-$@-$@+@_@+_+_+&(&(&(+_#+_@-_@-_@--@_@-_- Recieved pscket ............ -$-$@-$@+@_@+_+_+&(&(&(+_#+_@-_@-_@--@_@-_- What could be wrong sir?
Hi. I am following Sending Sensor Data Link (given in the description).I am getting Starting Lora Filed Error at this line if (!LoRa.begin(433E6)) { Serial.println("Starting LoRa failed!"); while (1); } Can any one please help me?
Hey, doesn't the arduino work at 5v, so won't the isp pins (or any other I/O pin) be at 5v? Will this cause trouble with the 3.3v Lora module? Or have u used a voltage divider in between? I made the connections as u said, but it's not working 😭😭 Sincere call for help.... I think I messed up somewhere
Thanks very much my dear for this nice video. Please, assuming I am having 4 receivers, how can I add a keypad on the transmitter side so that I will use the keypad to write the destination address of the receiver that I will like to communicate. The lcd or OLED display in transmitter side will be used to display the receivers destination address when I am typing them. Thanks very much for your understanding and concern. Please, I am waiting for your reply
@@HowtoElectronics is it possible to send data from multiple lora node to the single lora node and connect to the network (like lora gateway) without using lorawan
can we plug any wires on lora to arduino digital pins. how to know lora module which wire connect which arduino pin. should be plug like a video or something. is that has a rule or standart. i dont get it. can anyone explain. thanks.
Hi LoRa module is an SPI module. The SPI connection is fixed. You can't change. The connection diagram is given in video and also in website article. You can follow that.
@@kpinnovations6613I also want to make drone transmitter and receiver with this ra02 how much range you are getting now and can you suggest other module if it don''t give 5km range Please bro guide me
Sir long range distance sensor want to me so and two sensor one data sender and other data receiver if both range 1 km. Data sender sensor one and data receiver massage send . Data sender ony massege and one data receiver massege receiver So that sensor name to tell me plz sir
The soldering of the wires to the lora module was hell!
Haha same here man😂. That is why buy the module which is breadboard friendly.
@@HowtoElectronics I got this because its small but my shaking hands were mad :))) Next purchase will. be a breadboard friendly board
Why did you not use logic level converters for your connections to the LoRa sx1278 modules which operate on 3.3V logic ?
Is there no risk of burning your module by connecting its pins directly to the arduinos which operate on 5V logic??
Can you help on creating a Lora based wireless soil moisture sensor from multiple locations to single location displayed via a LED light bar
what is the maximum distance of communication via lora with this module?
Great video, one question, How to make receiver to receive from particular sender only?
Have u got the answer of your question
@@LAVISH-yv9yg Yes, I am using different My LoRa unit does not accept messages from other that specified address.
@@MrNams but we are not using addresses in the code ??
If we use Arduino UNO in the transmitter circuit and ESP32 in the receiver circuit, will there be anything that needs to be added in the code section other than the pin definitions? So, since there are different devices, do we need to add the necessary config commands for communication, or should it stay the same because the Lora module already communicates?
I don't have DIO0 what should i do??
Note that the LoRa module SX1276 for the emitter should not be powered by the Arduino Nano, but by an external 3.3V power supply to have enough current
Can i use Lora module for quadcopter ? Is this okay to use? Because I heard everywhere it's had nice feature for long range.
If no,which device can I use for quadcopter RC?
Yes lora can be the best solution for quadcopter if you wanna fly it over a long distance.
@@HowtoElectronics wow ok thank you..
Do you Know any reference design for this for basic coding and etc Sir.
How much range?
Almost 6.5 km in open space with this module.
@@HowtoElectronics thanks..nice work buddy.. Subbed..
can you send anything other than a string? seems crazy and slow to have to do string analysis to convert larger amounts of data
Hello I am using sx1278 ra 01 ai thinker and 2 arduino uno ...but the receiver doesn't receive any packets. Does this have to do with the fact that the arduino operates at 5 V while loRa modules operate at 3.3 V ?
Would a level shifter make any difference ?
SX1278 SPI Pins are 5V tolerable
@@HowtoElectronics Thanks, but what can be the problem then ...
how can we identify which module is sending?
hey, could you tell me what is the maximum range you got practically with this sx1278
A transmissão de dados com dois transceptores Lora E32 433t30D, é em real-time? Ou existe um Delay entre a transmissão e a recepção do dados na outra ponta????
Should we solder antenna to LoraWanmodule ??
WARNING! Unless you use a 3.3V arduino board such as the Pro Mini 328, or use level shifting on your data connections between the Arduino and SX1278, you will have problems. I found this out the hard way. The data outputs on 5V boards are too high for the the SX1278 and will create havoc. It might work, might not, may possibly damage the module, but will be unreliable at best. Make sure you are really clear the Arduino you are using is compatible with the SX1278, or compensate accordingly.
Thank you very much. I was stuck for 2 weeks. your warning comment solve the problem. thank you very very very much
@@angelalferez2002 You're welcome. Using a bidirectional level shifter will work (though hogs real estate.) Be sure you get one fast enough (such as the TXS0108E.) Although I am using simple resistor voltage dividers on several projects and I haven't had any problems. I chose a fairly low resistance so as not to affect speed.
@@kevinjones9586Hello, which of the connection pins are input on the module = need voltage regulation. And how strong resistors did you use for the voltage divider.
@@marekcermak3843 Any pins which could have 5V applied to them, which includes all AFAICT except MISO which is output only. Voltage dividers are a tradeoff for limiting optimal speed against power consumption. My application didn't call for low power consumption so I used 330/680 ohm.
@@kevinjones9586 If i want to keep the speed as high as possible should I use higher or lower ohm resistors, or are there any other sloutions you would recommend?
Thanks for replying 😉
Please sir help me how can I can I transmit BME280 sensor data by LoRa module.
Hi, I built this, Transmitter works well , receiver works for few minutes and then stops ...is it and input serial buffer that can be overflowing on the the receiver side ?
Hi, did you solve this thing? i used two nano with linear regulator and i had the same problem
@@Renzo87 Are you running the transmitter and receiver codes on the same pc? When I run both of them in different sketch files on the same pc, I can run the transmitter circuit without any problems, but when I change the port settings and the board option of the receiver circuit, the port settings of the transmitter circuit also change. how can I overcome this problem?
i get error in compiling transmitter code in dht sensor . Error - status exit 1 . so how to fix it
Excellent video. What are the changes in the sketch if I use a switch instead a potentiometer to turn on and off the led?
It is uncertain about adressing with this LORA modules because i dont understand how he differ them in one area. I suppose we can make different networks by settign different frequencies and other parameters but what if someone uses the same setting in the same area where i use my modules. I suppose in that case this is my work as a programmer to make adresses with the program itself so strange packets get left out if they come but still i dont understand why nobody who teaches about this modules does not emphasize this.
Did u got the solution buddy ??
@@LAVISH-yv9yg unfortunately, i didnt. I dropped learning LORA a long time ago since i didnt find it useful for my projects.
@@николай-г7ю3з okay , actually i am using Lora right now in my project !!
but there is an issue that my LoRa module is not getting initialize
Actually if u use multiple transmitter and receiver in an area then we have to define unique identifier for each transmitter and will use same identifier in the code of corresponding receiver that it will receive data packets from corresponding transmitter.
That's very good video, I just wondering how to extrapolate every single analog in such temperature and humidity... For example, if in your program you would like to turn on a Led when temperature is higher then 30° how could you do that? I presume that is needed a swap from char to integer? Thanks
int led_pin_1 = 8;
pinMode(led_pin_1, OUTPUT);
if (temp>30)
{
tone(led_pin_1, 100); //100 = 100% of power
}
else
{
notone(led_pin_1);
}
for that, you should connect the pin 8 to the led, and connect the other part with an eletrical resistance to the ground.
I not sure about that, but try it, it's the same protocol than a buzzer.
I have a question, this Lora SX1278 need a power supply for 3.3v and the arduino can give it, but the Digital pins voltage in the arduino UNO have 5v, can those 5v damages the LoRa Module, or is possible to connect directly?
Digital pins are 5V tolerable. No problem with 5V except the Vcc pins which need 3.3V.
@@HowtoElectronics Thanks a lot :)
@@HowtoElectronics Hi, I was triying to find this information in SX1278 datasheet and I can not. There are lot of coments in LoRa foruns about that. Some higly recomends using logical converters. Your information is very usefull
Should both of the Code should be uploaded simultaneously and then run it together
Can you try to put those 2 in two different city and show to us? What is the best lora modul that can transfer n receive data in more than 200km ?
200km is not within line of sight. so you cant send it directly. U will have to use satellites to relay your data
Hello,i want to get started with this module. do i need a gateway for this network? there is nearby gateway already in my area
No u don't need gateway for getting started tutorial.
Hello sir,
Pleaaaassee reply.
I have sx1276 based Lora module from hpdtek (hpd13A v1.1), 868Mhz. Will this code work?
Yes this code will work. I too had HPD13A SX1276 module. The code works perfectly. Note: in the code part assign the frequency by replacing 433mhz by 868mhz.
@@HowtoElectronics thank you so much
But I tried this code and in reciever serial monitor I'm getting message like:
Recieved pscket
............
-$-$@-$@+@_@+_+_+&(&(&(+_#+_@-_@-_@--@_@-_-
Recieved pscket
............
-$-$@-$@+@_@+_+_+&(&(&(+_#+_@-_@-_@--@_@-_-
What could be wrong sir?
Did you change frequency. Seems module is not able to communicate properly.
Yes sir I changed it to 868E6 in both codes. I will try again once and if not successful can I get your email id or contact for further help please. 🙏
As we have same module too (hpdtek) , please help me in this
Hi. I am following Sending Sensor Data Link (given in the description).I am getting Starting Lora Filed Error at this line if (!LoRa.begin(433E6)) {
Serial.println("Starting LoRa failed!");
while (1);
}
Can any one please help me?
Hi please check SPI pins connection.
How is with wall penetration?
Sir, is soldering required to this module.. Or can we use it by just inserting a single lead wire into that module..
requires soldering
Hey, doesn't the arduino work at 5v, so won't the isp pins (or any other I/O pin) be at 5v? Will this cause trouble with the 3.3v Lora module? Or have u used a voltage divider in between?
I made the connections as u said, but it's not working 😭😭
Sincere call for help....
I think I messed up somewhere
The SPI pins of SX1278 are 5V tolerable. Only VCC needs 3.3V
Please check connection for the board to work.
Very good 👍
how much maximum range can u get by using this module?
which pad is the antenna soldered to?
There is already ant written
@@HowtoElectronics Thank you
Thanks very much my dear for this nice video. Please, assuming I am having 4 receivers, how can I add a keypad on the transmitter side so that I will use the keypad to write the destination address of the receiver that I will like to communicate. The lcd or OLED display in transmitter side will be used to display the receivers destination address when I am typing them. Thanks very much for your understanding and concern. Please, I am waiting for your reply
Sir I did everything same but still my lora not begin what should I do.
Sir can we solder those pins with single lead wire sir...
Yes you can but it will be little difficult
@@HowtoElectronics yes sir that is where I'm afraid of it sir..
Problem in transmitter code, DHT dht (DHTPIN, DHTTYPE); in this line.how to solve the problem.
Where can I buy SX1278 (Ra-02) LoRa 868 MHz? I only see 433 MHz boards not for EU.
You need to buy SX1276 if you need 868Mhz.
wha about the LORA networkID?
Adress?
How to make 12 channel transmitter and receiver with lora
Can we use sx1278 in india
Yes use it for learning, not for commercial application qs 433MHz frequency is not allowed in india
@@HowtoElectronics is it possible to send data from multiple lora node to the single lora node and connect to the network (like lora gateway) without using lorawan
Yes you can do
@@HowtoElectronics will you please make a video for that, because there is no the right sources to study about it
How can I secure the transmission ?
how to read multipal strings in one receiver
what the SPI.h lib for?
how to communication master and multi slave?
H NEED TO ASK. I M USING LORA RAO2 WITH AURDIONO. I NEE 6 OUTPUTS. NOW I M JUST GETTING TWO OUTPUTS . CAN UH GUYS PLEASE HELP
How it is differ from esp8266 in case of application
Esp8266 needs wifi to communicate it lora doesn't.
@@HowtoElectronics which one is better
Either esp8266 or LoRa
can we plug any wires on lora to arduino digital pins. how to know lora module which wire connect which arduino pin. should be plug like a video or something. is that has a rule or standart. i dont get it. can anyone explain. thanks.
Hi LoRa module is an SPI module. The SPI connection is fixed. You can't change. The connection diagram is given in video and also in website article. You can follow that.
@@HowtoElectronics thank you
Can i use this lora module in india? This module will work in india?
Yes it will work.
how much maximum distance can cover this project
5-6km
i want to connect 4 transmitter @ one recever project will you please guide
& also want to read 485 data
@@HowtoElectronics
How can I get 5-6 km range I also tried many times but range is only 500M not increased I m using lora ra-02 with 433mhz frequency
@@kpinnovations6613I also want to make drone transmitter and receiver with this ra02 how much range you are getting now and can you suggest other module if it don''t give 5km range
Please bro guide me
bro have u really tested it ??
Wear to find spi.h library?
It is an inbuilt library. You dnt need any extra library.
receiving only zero data in receiver module
Sir long range distance sensor want to me so and two sensor one data sender and other data receiver if both range 1 km.
Data sender sensor one and data receiver massage send . Data sender ony massege and one data receiver massege receiver
So that sensor name to tell me plz sir
Bro pls make a bidirectional home automation without display and Google and Alexa home automation in one Arduino plss...
need with feed back unite or else no use
More ads than content. Useless example as normally you'd like to pair a node with gateway.
Text-to-speech is just annoying.
Computer voice is TERRIBLE
Oh the fake voice is so annoying...
what is the maximum distance of communication via lora with this module ?
How to add code for soil moisture sensor