Interested in ESP32 Audio: ru-vid.com/group/PL5vDt5AALlRfGVUv2x7riDMIOX34udtKD Looking for all my ESP32 projects: ru-vid.com/group/PL5vDt5AALlRdN2KyL30l8j7kLCxhDUrNw
This is literally the only video I’ve found that even slightly discusses espnows long range mode. Would is be possible to do a separate video going into more detail on this? Perhaps mentioning specifically which line(s) of code are needed and where? Unique content = ££ so it’d be a win win for both of us lol. Thanks for this video btw
I've been using ESP-Now for a year now for radio control. I have to say how impressed I am with it. Even with the bog-standard onboard antennas, I'm getting 100 to 200m which is ample for the application. It's amazing that you can build a decent RC Tx + Rx system for under £10.
Amazing work !!! I would love to see the same tests with an external antenna. I got some very cheap ones from ali and was surprised to see they actually performed excelent both in real world conditions and on the VNA. My tests were for BLE, but I guess same would apply for wifi since it's the same freq.
I wasn't sure how many people would have an antenna - but I'll add it to the list of projects as I think you're right it would be interesting as a follow up.
Great testing and display of data. Although I would enjoy seeing a simple walkie-talkie distance test done with talking back and forth over various distances.
Indeed that would be the best use case (I'm thinking of UDP right now) but then again if you have some well placed stations (as opposed to mobile ones) you could get the extra range. Sensors would be the application I'm thinking about, less fuss than using LoRa and more bandwidth.
I think it would be useful to have data for external antenna usage as well, since it's pretty easy to find modules that can utilize an external antenna, and they aren't too expensive. Also, if one is concerned with range, they will probably get a model that accepts an external antenna. It might be nice to be able to adjust one's expectations appropriately, before purchasing a model with an external antenna. The standard results are interesting and useful too, though. It's nice to know the basic range of a standard ESP32 board. It might also be interesting if a test could be devised, to determine the feasibility and range of ESP-Now for real-time low bandwidth applications, like controlling a small vehicle. I know there are a few R/C projects out there. How much range could one expect, before control becomes erratic? In any case, I appreciate the tests. I have grown to really like these boards. They are extremely versatile. I appreciate the effort.
A big problem with range is the fact that there are limited channels and in built up areas you will have a greater chance of co-channel interference. The use of unlicensed bands is a problem for long distance coms as user density is likely to be high. Also the only way an antenna can provide power gain is to concentrate the rf energy in one direction so you start to need beam steering if your going to move around a lot. So all the cards are stacked against you from the start.
Definitely, directional antennas would definitely improve things. If you were setting things up where both stations were fixed and you had flexibility on the hardware I think you could easily get the 1km range Espressif say is possible.
@@atomic14 The other problem is of course the ISM bands only allow for limit power and antenna gains. So to start to get a good range you will run fowl of the law. ;-) I know people in the US have got some great ranges into several miles, but there it was flat than out in the country side where you are less likely to have another unit on the same frequency. Now if you made it frequency hoping that would be fun.
Really enjoyed your video. It would be great if you could compare power draw between esp now (inc LR) BLE, Wifi and LoRa. It would be interesting to see the power consumption as a lot of projects like this are battery powered.
If you require quality and the highest number of packages delivered. It makes sense to go for point to point transmission or many to one (known MAC) And benefit of the ack callback function.
The critical questions should include the following: What is the frequency of the transmission, power output and what absorbing materials are in the area. The reason why your cell phone works in a building is because Microwaves can penetrate though the material. That's my 2 cents, thanks for the videos!
Dear Darren, WiFi, in this case, works on 2.4 Ghz there is a good chance your phone works on a lower frequency e.g 2.2 Ghz or even 1.8 Ghz and in some rural areas eve 900 Mhz. The reason your mobile works in buildings is brute force. The output power of mobile towers is massive if you compare this with an esp 32 further the antenna gain is also huge. Another fact is as you up the frequency the capability of penetration decreases. As an example 125 Khz will penetrate a concrete wall.
I did an identical type of test with NRF24L01s a few years back and got very similar results to the long range mode you describe. I wonder how similar the RF encoding is?
thank you for the video! i think its amazing that you can get 500m this surprised me as i rarely get more the 25m in my house. question do you know if it is possible for the esp to work in regular mode and work in long range mode at the same time i am trying to see if it is possible to have a esp connect to a Wi-Fi network then have a long range transmission about 150m through trees and bushes and have another esp 32 take that and create a small network at the other end for devices to connect to? I have been unable to find much information on the capabilities of the esp32 in long range mode. Do you have any pointers? I would be thankful for any help.
Seems like a budget alternative to LoRa for distances beyond normal wifi and up to 1km with better antennas. I have LoRa setup about a km away, getting about 90% packet reception I am sending sensor data every 10 mins, and I can do retransmits if necessary, but not currently. receiver is inside a building and there are houses and trees in the way. I would like to see a test with esp-now and decent antennas, use case for sensors where lost packets are OK, just send more packets than you actually need to get
If you do use the non built-in antennas, please measure their tuning with a nanoVNA or similar device. Many non-namebrand antennas can be tuned improperly, resulting in sub-optimum conditions
@@horrorhotel1999 How do we find out if the antenna is compatible with ESP or not. Is there any guide or datasheet to do this antenna matching. I have tried some patch antenna and outdoor antenna as well, but dont know see much boost in the range.
Good to know, it tells me that I can use them on the sport fields as mesh network for the players. While testing the wifi range, did you also test the bluetooth range? Or maybe that’s for another video?
Yes, I found this very interesting, except for one omission. 'In the real world', if anyone concerned about this data wants to actually build a mid-long range ESP32 wireless communications device, then they would most likely implement an external longer range antenna, which for some unknown reason, you immediately threw into the gutter. (?)
The most likely reason for discarding this test case is likely due to not having an esp32 with an external antenna connection. Most of the boards that provide more than one antenna type require modifications to the board to switch antenna type (moving a couple 0402 components). However, I do agree an external antenna that provides a higher gain would likely improve the reception quality some. I don't think it will improve data rate though.
@@atanisoftware Actually, one of the ESP32's shown at the beginning of the video has an external antenna connection. True, the data rate wouldn't improve because that's dependent upon the software and MCU speed. But, with improved range the integrity of the data would also improve. How much, we don't know.
@@TheOleHermit I missed seeing that board as I was watching on mobile, but if it had an on board antenna (PCB trace, 3D antenna, ceramic, etc) then the external IPEX/uFL connection is not actually connected as it would create unnecessary noise. I have a few ESP32 modules that have the IPEX/uFL connector on them (no on-board antenna) and they appear to have a better usable signal range. I also have a few modules which have both the IPEX/uFL and 3D metal antennas which works fairly well but would require modifications to use the IPEX/uFL.
@@atanisoftware Thanks for the info. Yes, I watch Andreas Spiess (the guy with the Swiss accent) and am aware of the mod to use the IPEX connection, instead of the onboard antenna. Also have a collection of MCUs ranging from Arduino, ESP8266, ESP32, Teensy, Photon, PICO, & M5 Stack. Can't keep up. Currently luvin' the CM4. Happy making, whatever your project(s) may be. :-)
@@TheOleHermit Most of my projects are with variations of the ESP32 related to model trains, in some cases pushing the little guys further than they normally would be pushed.
Hello Sr. I'm a student and i have a questions about interference of ESP32 and this protocol. For example if is a rainy or sunny day. How can i measure the lost packages with a map. like the video.
Very interesting video! I wonder if you considered noise in your tests? It would be very interesting compare urban and rural environments as ESP-Now is sharing the same band as WiFi etc.
That would definitely be interesting - and I think again it flags up the whole question of the test conditions. The "real world" range for one use case is going to completely different from the "real world" range of another use case.
@@atomic14 Take a look at the android app: wifiman, I have been using it to measure my own router and devices out and about, its very useful and it can give you a good indication of what noise levels maybe from 2.4GHz wifi routers. The LR mode is very interesting to, thanks for highlighting that. When I did some tests with ESP-Now, I found it useful to be able to set the RF channel to.
I'll have to install it on the wife's phone. I've read a few things about setting the channel - especially when trying to use WiFi at the same time as ESP-Now
Thanks for the video and code. I will go check my code again. It's hard for me to send over 100 packets/s even at very short distance, the error rate will go up.
thank you for making the video, but I ran into a problem when I managed to make sure the recipient's MAC address was correct but the sender's serial monitor kept telling me that delivery failed. i can confirm the distance between ESP32 is very close. please help me, I'm dizzy.
ESPnow is rather rubbish at transmitting through brick walls. It's often these walls you want to transmit through because out in the countryside you don't really need these computers unless you are a farmer perhaps. So what i want to do is to use a mesh and now I'm wondering if I could hack the mesh to work with long range mode. I think with both these improvements it would be possible to get reliable communication in buildings. Sometimes I find I can trip it out simple by walking past. I've had a few problems where duff communication can crash the wifi stack and sometimes it can't recover.
Yes, I did find it very interesting.. and I'd like to know if you know of any way to lower the WiFi bit rate between two TTGO T-Dispalys using their standard PC Card antennas with the Arduino 2.1.0 IDE? my project works BUT I am right on the verge of excessive packet loss within the house and tho my Sensor/Sender is only about 60 feet/18 meters away.. to get my sensor data sent from the garage to the receiver in the Den or in front of the TV.. it must pass thru 3 stucco walls, a large refrigerator, microwave, and a gas range/ oven with large metal hood over it in direct line. I'm afraid of switching to the ESP IDE due to its complexity and I'm a genuine nubie at this. I don't want to change antennas either since they may be too fragile. Any thoughts?
Amazing video, but I don't know how to set up my MCU to standard ESP-Now mode like 07:07 to compare throughput between 2 cases. Can you show me the way you did ? Thank you very much
Mr, that was really interesting!!, Do you think if we can change the preambule per package, hypothetically, before transmit each package, it would be more successful?, my doubst means if the major problem to become more distance just could be the power supply?, it's a loose question!. Many Thanks
I'm using kepler.gl for the maps - it's a really nice tool, just upload any data with location information and it will plot it. For the charts I used Python in a Jupyter notebook and matplotlib.
I'd like to ask what about TX_power. Where is it set, I didnt find any info in the code. What is the default TX_power after wifi_init()? 0dBm or 20dBm? I think it is important for range test, dont you?
Running espnow on esp32 with continuous data transfer heating esp board. Are there any specific requirements to throttle up data sending rate for optimum heating??
Thanks for answering my question. Would this 90 packets/sec (0.2 Mbps) be enough to transmit speech? I think it would make for good texting only. Or sending XML data?
just fyi to anyone else reading, that's 200kbps, 8khz and 16kbps speex (or opus which uses speex for voice) is plenty for voice, not ideal.. but plenty. So you can have several VoIP channels going on that bandwidth.
I tried to use your code to measure Throughput but no matter what i set - I always getting 0.7 Mbit speed that means Long Range is not activated. Can you please help? I also tried old platform = espressif32 version 3.3.2 but it does not help. How to get that long range working?
Could you share your code for the two devices? Id like to see the rest of your setup and process in broadcasting for this method of using lr mode for espnow. Not much on the web for using lr with espnow
thank you for your video and hello from russia. please tell me, is it possible to enter mac addresses directly from the program? in "loop" can I enter the mac address from the serial port, and it is used for communication via esp now
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-oz0a7Ur7nko.htmlsi=Vgr8GzDe8LdaK4FW&t=134 thought that was a certain Germain symbol on your board for a sec
Chris that's a lot more distance then i got in my test. could you do me a favor and use on both side the TTGO T-display. As that was my setup. Also ... i did send bidirectional could that be any difference?
@@NielsNL68 Sounds very likely, mine was on the balcony so no walls in the way. I was also doing one way which would also make a big difference I think. 320 meters was the absolute maximum range I got any packets at all, I wouldn't want to use it for anything serious. I've only got one TTGO display unfortunately and the screen has just decided to die on me!
@@atomic14, how did you be able to do that, breaking that screen. Are you sure you did not miss wrote some code. I was able to by 4 of them when they where still cheap