Thank you, I hope to make a similar demonstration at ARRL Amateur Radio Field Day in June. I am happy to see that a cell phone can power the devices and act as a display.
@TasteTheCode4 ай бұрын
Yes, the phone needs to have OTG support but most do anyway. And you need an OTG cable or adapter.
@grimtagnbag5 ай бұрын
These are so sweet. Made a dropper for my drone with an Esp32. Now want to go long range with no worries. This is the ticket.
@TasteTheCode5 ай бұрын
Yes, this can be used for that and should work great.
@tnk.16087 ай бұрын
Thank you a lot! Really helpful for an undergrate in Electrical Engineering like me.
@TasteTheCode7 ай бұрын
You are welcome! I'm glad you found it helpful.
@dabdoube927 ай бұрын
I get +11 km range on LoRaWAN using 15 dBm and a 3dBi antenna :)
@TasteTheCode7 ай бұрын
Nice!
@radhwanbasher7 ай бұрын
Do you do the same configurations with same code?
@PCBoardRepair8 ай бұрын
car = faraday cage
@TasteTheCode8 ай бұрын
Yeah, it blocked some of the signal but still it worked quite well.
@PCBoardRepair8 ай бұрын
@@TasteTheCode yes....nice
@steveholder72898 ай бұрын
The car might be blocking some of the signal, but it is also reflecting and providing a mulit-path. If the module api provides an RSSI figure it would be interesting to see what the sending and receiving units are seeing.
@PCBoardRepair8 ай бұрын
@@TasteTheCode yes agreed....I was just pointing this out to creater
@mast3rbug4 ай бұрын
Must try with two yagi antennas on these modules. I made some reliable communication relay with wifi cards at 2.4 GHZ and two yagi at 15 KM with really good bitrate. 915 MHZ must be more than that easily.
@TasteTheCode4 ай бұрын
Yeah, these do those distances with just the coil antennas on them. Unfortunately I don't have Yagi antennas to try, but it might be an interesting avenue to explore. Thanks!
@Bianchi7711 ай бұрын
Nice video, well done, thank you for sharing the knowledge with us :)
@TasteTheCode11 ай бұрын
♥️♥️♥️
@bhavinpithawala39672 жыл бұрын
thanks for sharing.
@TasteTheCode2 жыл бұрын
You are welcome!👍
@roscoe4548 ай бұрын
on the roof of the car use a magnet to hold a external antenna so it will send and recieve better
@TasteTheCode8 ай бұрын
Yes there are magnetic antennas available that you can purchase.
@alper0karaca Жыл бұрын
Thanks bro for video. This is great
@TasteTheCode Жыл бұрын
Glad you liked it! 👍
@NicksStuff7 ай бұрын
Do you know what power, bandwidth and spreading factor you were using?
@TasteTheCode7 ай бұрын
Just the default of the module0 which based from the datasheet are Spreading Factor: 9, Bandwidth: 125kHz, Power: 22dBm
@TakamiWoodshop2 жыл бұрын
Holy crap ! that little thing is amazing!
@TasteTheCode2 жыл бұрын
Sure it is! I'm currently planning how to use it next.
@sergiusvysokochtimiy8 ай бұрын
What's surprising? You test devices in line of sight. There are no other similar devices, so the interference level is very low. This reminds me of the situation with WiFi 2.4 at the dawn of development
@TasteTheCode8 ай бұрын
Maybe but I'm new into this and for me it was really surprising and amazing to communicate on such distance with low power.
@jacquesb5248 Жыл бұрын
impressive range. pitty data rate isn't fast but that it was designed for. short messages not lots of data transfer unless you use like multiple units for multiplexing?
@TasteTheCode Жыл бұрын
Yes, this is only for short messages. As for multiplexing, I don't know if that is even possible. But for reading out sensor values and sending short commands it is ideal!
@Josueee7 Жыл бұрын
Seria mas potente que RFM96 LoRA? mostrar RSSI o dBm en el siguiente video! Buen video!
@TasteTheCode Жыл бұрын
Thanks for the tip! I don't own such module so I would not know to tell if that one is better.
@k98killer24 күн бұрын
What were the frequencies, bandwidths, and spreading factors used for this? Default options?
@TasteTheCode24 күн бұрын
Yup everything at default on 868MHz.
@StreuB1 Жыл бұрын
What is the difference between LoRa and a normal 915mhz UART transceiver module from someone like HopeRF? I really struggle to understand the terminology and what the differences are. Great video!!! Thank you!
@TasteTheCode Жыл бұрын
Thanks! I haven't got a module from HopeRF yet to test but from what I know this allows you to set your own standard of sending while a LoRa module already uses a defined standard. If I'm not mistaken, I think that you can use this modules with LoRa as well. The UART specification just defines how you comunicate between the module and your microcontroller.
@StreuB1 Жыл бұрын
@@TasteTheCode Ahhh, I think I understand now. I always get confused between the data communication between devices and communication over RF. So LoRa is the RF protocol. I am an electro-mechanical engineer who is trying to learn electronics and programming. I love it but unfortunately the bar for entry is pretty steep and there aren't many resources out there that explain certain aspects in extremely basic terms to get you going. I just stumbled upon your videos and they are fantastic!! BTW Macedonia is a BEAUTIFUL country!!!! Thanks again from currently frigid Illinois, USA.
@TasteTheCode Жыл бұрын
You are welcome! Yes LoRa is the RF protocol. It can be on different frequencies depending on the local law. In Macedonia is on 868MHz. Have you been to Macedonia? Usually we are the ones with snow but now it seems that the weather is quite different.
@itsamevic Жыл бұрын
Hey, so just to clarify some things: LoRa is a technology of it's own, meant for wireless sensor networks, so its main focus is to be power efficient and long range ("LoRa" actually means "Long Range"). The way it handles radio waves isn't as simple as a typical UART transceiver, it uses chirp signals and some engineering (that I'm too dumb to explain 😅) to make the signal travel a very long distance (at the cost of low data rates, up to 50kbps). However, LoRa itself is basically just the "hardware level" technology that deals with the signal. A MAC layer protocol called "LoRaWAN" was then created, so that different sensors could communicate with each other in a network of LoRa devices and also to make it possible for them to communicate with the internet. For example, a LoRa end device in Australia can communicate with another in the UK, what happens is that a LoRa end device talks to a LoRa gateway in Australia, the LoRa gateway in Australia communicates with the other LoRa gateway in the UK through the internet and finally the LoRa gateway in the UK communicates with the LoRa end device. To sum up: - LoRa is the technology that makes power-efficient, long-range radio communications. - LoRaWAN is the MAC layer protocol that makes LoRa versatile.
@TasteTheCode Жыл бұрын
Well said!
@HariKrishnan-on1yf2 жыл бұрын
Connection diagram?
@TasteTheCode2 жыл бұрын
Hey Hari, it's very simple. D6 (pin 14) is connected to RX on the module and D5 (pin 12) to TX on the module. Additionally, the module is powered from 3.3V out on the NodeMCU module. That's all.
@bassamdarawshi2 ай бұрын
hi does the connection required line of sight ?? if not what the distance they can communicate without line of sight??
@TasteTheCodeАй бұрын
Yes, in my case they do have a line of sight. If they do not, then it really comes down to environment and how hidden they are from each other. In those cases the range goes down to just several hundred meters but it needs to be tested.
@VanceLambert3 ай бұрын
Has anyone used these to send actual typed messages? Whether using a phone as a UI, or an Arduino and letter selection/screen etc. I don't know if that's possible? Or is there a video of someone doing this?
@TasteTheCode3 ай бұрын
Yes this is possible. Try searching for LoRa messenger. I'm not exactly sure who did this.
@zazugeeАй бұрын
Meshtastic or LoRaWan
@VanceLambertАй бұрын
@@zazugee I know Meshtastic has that capability.. I just haven’t seen a device using the RYLR998 that does this. Surely, someone has? I just haven’t run across it yet. The range sounds incredible
@gianni_schicchiАй бұрын
@@VanceLambert Meshtastic on RPi should work with it as long as it supports SPI. I was just looking into this. You have to change the pin outs and some other configs stuff since I don’t think this chip is in the default list, since as far as I read, the RPi support for meshtastic is pretty new. Looks doable and I’m sure it’s been done just not documented anywhere I’ve seen yet. I’m 90% sure my RYLR998’s are SPI according to the data sheet, I was think of taking at stab at this with a RPi zero when I get some time.
@VanceLambertАй бұрын
@@gianni_schicchi Thank you! I’m new and in way over my head.. but ideally, that’s what I want. A super long range messenger using this technology. Let me know when you figure it out! I’ll buy a couple :)
@chamodhdissanayake98313 ай бұрын
hello, do you know how much power does the LoRA module by the NodeMCU board itself? If not, can you suggest me a way how to find it using measuring equipment?
@TasteTheCode3 ай бұрын
While transmitting, the module uses up to 140mA at most. During receiving, it is down to 17mA, but you can also use deep sleep where it only uses 10uA. It depends on your application and needs.
@mehulchawda8807 Жыл бұрын
nearly 5 to 6 km range
@pedromendes8595 Жыл бұрын
did you do everything like the video? It's giving me an error 1
@mehulchawda8807 Жыл бұрын
@@pedromendes8595 no sir I just save time of people who is watching video
@TasteTheCode Жыл бұрын
:D
@sodapopinski99222 жыл бұрын
was there any obstructions? at all, i think im going to head out west and try it in the salt flats in the US
@TasteTheCode2 жыл бұрын
No, there were no obstructions. My house is on a hillside and there is open view to the relatevely flat valley in front pf it. At the 5.7km mark, there were some houses in between and the communication only worked from outside the car.
@patrickwl60193 ай бұрын
can i use it to transmit data from several sensors at once? such as water debit monitoring
@TasteTheCode3 ай бұрын
Yes, sure, it can be used with a lot of sensors.
@Francois_Dupont9 ай бұрын
what country is this? very interesting!
@TasteTheCode9 ай бұрын
Macedonia! Thanks!
@Francois_Dupont9 ай бұрын
@@TasteTheCode it is funny you have a similar accent to a French Canadian person speaking english. hahaha. 😁 anyway thank you for your videos!
@TasteTheCode9 ай бұрын
Hahhahah that's a first. I do not know a word in French but it's funny how it sounds like that. Many compare our English accent as to that of Russians but never French. 😂😂 Thanks for watching!
@ThumperKJFK9 ай бұрын
👍✌
@TasteTheCode9 ай бұрын
👍👍👍
@hofertyp Жыл бұрын
Which country is this, Looks like beautiful Macedonia 🇲🇰? Which Spred Factor and Transmit power did you use? With an heltec esp32 lora module I managed to get 500m in an urban area with SF 11 and TX of 18dbm. Would be interested in a second video with more content:)
@TasteTheCode Жыл бұрын
Hey, yes I'm based in Macedonia! The modules were set at their defaults of SF 12 and output power of 15dBm. What would you like to see if I make a second video on them? 👋👋
@hofertyp Жыл бұрын
@@TasteTheCode Maybe the maximum bandwith with different SF and Stability eg. rain/foggy weather would be nice. Extra Bonus if you test different LoRa ESP32 Modules to determine the Top3 for example. Keep up the good work - will subscribe :)
@TasteTheCode Жыл бұрын
@@hofertyp Thank you and thanks for the suggestions! I'll definitely include them if I decide to make another video.
@grizzlycountry5539 Жыл бұрын
@@TasteTheCode Znao sam da je Balkan čim sam vidio ovu kuću na četiri vode, to je Turski stil gradnje.
@salihcelik4985 Жыл бұрын
Good job mate , thanks for sharing. I have a question. Can we detect real time distance from transmitter to reciver?
@TasteTheCode Жыл бұрын
Hmmmm not that I'm aware of, unless you use a GPS module as well. Maybe you can use a timecode on the sender and then another timecode on the receiver but these clocks will need to be perfectly sincronized so you can then calculate the delay between sending and receiving. Sounds possible but it will be very difficult to pull out in reality.
@salihcelik4985 Жыл бұрын
@@TasteTheCode Ok. Thank you again ı will try
@RafaelSales557 ай бұрын
Thank you for the video. Do you think it's possible to see video realtime using those LoRa?
@TasteTheCode7 ай бұрын
No, not at all. They are only meant to periodically transmit small packets like sensor data. For video, you need to look at 4G or 5G GSM modules but they need quite a lot of power.
@RafaelSales557 ай бұрын
@@TasteTheCode Thank you a lot, I was wondering how those drones reach 10km using camera
@TasteTheCode7 ай бұрын
@@RafaelSales55 sorry, I can't tell as I haven't explored their radios but that might be an interesting point of research. Thanks!
@DavOlek_ua8 ай бұрын
how much date could you squeeze in this link? what's the bandwith? ping? like what you could really use it for?
@TasteTheCode8 ай бұрын
It depends on the parameters used but in general it is 0.3 kbit/s to 50 kbit/s. The purpose of it is to have sensor data collected from a remote, very low power usage sensor.
@winstonsmith478 Жыл бұрын
From your code, I see that you used the max baud rate of 115200. Does the LoRa's transmit baud rate vary depending upon the serial bus baud rate or is it sent at the same rate in a packet no matter what the serial bus rate is set at? If it varies, a lower baud rate setting might result in even greater range.
@TasteTheCode Жыл бұрын
From what I'm aware of serial baud rate does not affect the transmit baud rate. It's just the way that the microcontroller talks to the module. To get better range, you might lower the baud rate of the module by issuing the right command.
@MrNams Жыл бұрын
One update, now AT command is returning +ERR=5, when i try to execute AT+SEND command from esp32
@danhellgren56712 жыл бұрын
Can you recommend a Terminal APP for the phone? and does the App change the phones USB to work in USB-HOST mode?
@TasteTheCode2 жыл бұрын
I'm using "Serial USB Terminal" app and it worked beautifully. The app is not the one that makes the USB into a host but the adapter/cable used. You will need a USB OTG cable or adapter so the phone can recognize the device connected.
@4uidrum11 ай бұрын
Great video, thank you! Couple quick questions: (1) I'm not an engineer, so pardon if my question doesn't make sense... but is it be possible to send a tiny packet of data from the TX to the RX within 7ms or less? Also (2) is it possible to have each LoRa setup to send and receive (bi-directional)? Thanks! :)
@TasteTheCode11 ай бұрын
Hey, thanks! So LoRa is bidirectional so yes, you can send packages from any to any device but the time it takes greatly depends on the distance as well. If the devices are close enough, maybe. I haven't measured this to know for sure but it always works quite quickly. I'm interested why you need it to be in 7ms?
@4uidrum11 ай бұрын
@@TasteTheCode wow thank you for the quick response and answers! :) I'm currently trying to setup a simple wireless proof-of-concept for a new digital music instrument. Closest technology to it are professional UHF wireless microphones. Anything over 7ms starts feeling delayed with live audio situations. Thank you again for the video and help! :)
@TasteTheCode11 ай бұрын
Wow, that sounds like a cool project. I'm not aware of LoRa being used to send music at distance because of the small package size but since it is digital it might work. If I were you I would probably go with the 2.4GHz spectrum (WiFi, Bluetooth). In any case, good luck with it!
@4uidrum11 ай бұрын
@@TasteTheCode yes, 2.4GHz. :) Thank you so much!
@TylerHaddix Жыл бұрын
What was your max at+send string length?
@TasteTheCode Жыл бұрын
About 45 characters... Why?
@pykid1915 Жыл бұрын
can you do a video on using Lora with raspberry pi or any other sbc's
@TasteTheCode Жыл бұрын
That's a good idea. I'll try to do it soon.
@pykid1915 Жыл бұрын
@@TasteTheCode thankyou ✨😁
@user-ko1if8nt6g Жыл бұрын
Can I use another Laura model for this project?
@TasteTheCode Жыл бұрын
Sure you can. Any LoRa module should be usable in a project. It all depends on your requirements and objective.
@psikeyhackr69148 ай бұрын
What is the maximum data rate, how many bits/sec?
@TasteTheCode8 ай бұрын
It depends on the circumstances but it ranges from 0.3 kbit/s to 50 kbit/s
@loudroarYT11 ай бұрын
Hi! Fellow tinker here trying to replicate your project. Do you have a video with the arduino ide settings? I keep getting error messages when trying to compile. I'm a noob with Arduino IDE so it could just be me. I have the com port selected, baud 115200, Both NL&cr. I can see the board booting up in the serial monitor but thats about how far I can get.
@TasteTheCode10 ай бұрын
Check the video description, I have a link to the code running on both devices. In theory you can open that, compile it, upload it to the devices and be good to go. One thing to note is the version of the software serial library that is different for NodeMCU and Arduino boards.
@hackertomobile2 жыл бұрын
what app you use for terminal arduino?
@TasteTheCode2 жыл бұрын
The app is called "Serial USB Terminal". It worked perfectly every time.
@saichaitanya15822 жыл бұрын
We are working on the same module could you help us working with it in any way....can we contact you regarding it.
@TasteTheCode2 жыл бұрын
I'm not much of an expert in it but let's see what your problem is?
@fpgamachine Жыл бұрын
What chip does it use?
@TasteTheCode Жыл бұрын
In the specs, it says: "NUVOTON MCU & Semtech LoRa Engine".
@pedro9646510 ай бұрын
Is it possible to know the distance from each other?
@TasteTheCode10 ай бұрын
No, not without additional hardware like GPS modules.
@pedro964659 ай бұрын
@@TasteTheCode not even if we use the send time and use some mathematical formula?
@BlagojceKolicoski9 ай бұрын
@@pedro96465 yes but then you run into the challenges of syncing time. If you figure it out, let me know.
@baran1405 Жыл бұрын
I wander what the terminal you are using in your phone...?
@TasteTheCode Жыл бұрын
It is an app called Serial USB Terminal.
@MrNams Жыл бұрын
How to pass AT commands to Lora from ESP32 UART? I am not able to send Address,Band, network id through program ?
@TasteTheCode Жыл бұрын
@@MrNams You do it exactly like I do with the NodeMCU but you will need to find a Software Serial Library that is meant to work with ESP32 boards (try this one: github.com/plerup/espsoftwareserial) and also make sure that the wiring is connected as stated in the sketch. Maybe even try swapping RX and TX as they need to be crossed.
@MrNams Жыл бұрын
@@TasteTheCode Its successfully receive data, it fails to send data i.e. At command through Serial Print not properly sent by ESP32 to Lora
@TasteTheCode Жыл бұрын
@@MrNams That's weird. Does it have an error? Check the line termination character.
@minsafatima7242 Жыл бұрын
is this transmit voice
@TasteTheCode Жыл бұрын
No, LoRa is ment to be used with small sensor data.
@steffanjansenvanvuuren32577 ай бұрын
To slow for RC Airplane Radio Receiver/telemetry products.
@TasteTheCode7 ай бұрын
Yes, true. This is more for a sensor data.
@RetoonHD4 ай бұрын
correct - that is not what lora was designed for though. It's like saying a car is not a good boat because it can't float - but it wasn't designed to float.
@pedromendes85959 ай бұрын
How is it possible to get 8km, I did everything the same and I can only communicate for a maximum of 50m :(
@TasteTheCode9 ай бұрын
How are your antennas placed? For me it was important to have line of sight between them. If you don't then it only works at small distances.
@Francois_Dupont9 ай бұрын
Meshtastic LoRa on 915mhz @ 100mA has been sucessfully tested up to 250kms.
@pedromendes8595 Жыл бұрын
Hello! I tried to make this project but it keeps sending me an error... :( What do you think it could be? AT+SEND=1,26,Hello from Dev2 - Count: 0 +OK +ERR=1
@TasteTheCode Жыл бұрын
Without looking at the code it is a bit difficult to know what is going on. Have you checked the formatting of the message? Maybe some extra CR?
@pedromendes8595 Жыл бұрын
@@TasteTheCode I simply bought the mentioned material, made the same connections and in the end the two modules dont communicate, supposedly they are sending a signal, but none of them receive it
@gigigisi6297 Жыл бұрын
There is not “enter” or 0x0D 0x0A in the end of the AT Command.
@pedromendes8595 Жыл бұрын
@@gigigisi6297 but I have the same code... what I have to do to solve this error?
@gigigisi6297 Жыл бұрын
@@pedromendes8595 Maybe you can try AT+SEND=1,5,HELLO