Mesh range / external antenna?


#21

The BT ufl jack is confusing.

Plus it makes @peekay123 frustrated because he has to tell us MESH does not work on Bluetooth, but Thread Wifi channels :grinning:


#22

FWIW BLE and Mesh share the same radio. So the external antenna (once it’s enabled) should help with the range of both protocols.

Regarding mounting the antenna – it’s definitely a bit fiddly. It’s important to make sure that the antenna’s connector is perfectly flat and centered against the board connector when you press down.

Another thing to note (which I think has been mentioned elsewhere in the forums) is that the u.FL connectors have (what I consider to be) a very low number of repeated connections. They’re intended for a semi-permanent connection.


#23

Yeah – though I mentioned the idea of moving that antenna on one of my Argons, I was wondering if I would actually be able to make it happen. :stuck_out_tongue_winking_eye:


#24

@peekay123 – Okay, nevermind. The Argon simply will not connect to WiFi without an external antenna, even when I moved it to within 2m of my router. So that answers that question.

I was already planning to order more antennas. I meant to add some to my pre-order, but by the time I got around to it, it was too close to shipping time, and they had locked down my order from alterations. How much difference should I expect between using an antenna at 2dBi vs 6dBi, or 8, or 9? If I get an antenna that’s for both 2.4GHz and 5GHz usage, should I expect any problems (interference from the 5GHz WiFi band on my router)?


#25

If/when you do remove the antenna, I suggest using something like needlenose pliers so that the antenna connector can be lifted perfectly vertically from the board’s. Just don’t squeeze too hard ;^) . I might be suggesting overkill here I guess. I don’t like those connectors much but I guess that’s what has be put up with to make them so small and electrically ‘proper’ for RF.


#26

I did actually get it moved with just a (moderately) gentle lift on metal tail where the wire goes into the circular main part of the u.FL connector. But as I mentioned before, moving the antenna from the WiFI antenna out to BL did me no good, because then my Argon would not connect to my WiFi.

I did, however, get my other antenna connected to my Xenon, so I’m about to do another quick range test.


#27

Here is a Very unscientific range. Argon Gateway with single Xenon. On a 3 mile walk in a hilly subdivision. Coming back towards the house, I activated D6 to High to a relay. I was approximately 1200ft and over a hill. I crested the hill, D6 activated, 400 steps from the house. Going down hill, at 2.5ft per step, 800 to 900ft range!
The Mesh Network is on the far side of the house.


#28

Is the issue with the number of devices? So far I have 1 Argon as a gateway and 1 Xenon. I’m running the Marco Polo test. I started at 10 feet direct line of sight and had 100% reliability. At 25 feet direct line of sight, it kept the 100% reliability. At 40 feet with 1 residential interior wall in between, it was unable to connect at all. The xenon didn’t get past flashing green and the Marco Polo test dropped to 0.

There doesn’t seem to be a stability issue with the Argon, at least with just one Xenon. But the range seems too short to really be able to do much, I’m going to need extra xenons doing nothing but acting as bridges if I can’t get extra antennae or they don’t help.

I have a few more Xenons I can add and see if the Mesh network remains stable.

Edit: Update, after about 20 minutes, the Argon seems to have messed up. It is still breathing cyain, but it is no longer connected to the cloud (unreachable according to a console ping, as is the attached Xenon) and it is no longer lighting D7 to indicate it’s running the Marco part of the code. After 15 minutes it has not become responsive again. Attempting to reflash the code was also unsuccessful. I had to hard cycle the power to get it running again. A hard crash after 20 minutes.


#29

The issue now is that the firmware is not stable.

We just have to wait for the new firmware to be released in a few days I hear to see how much it helps out with fixing the multiple issues everybody is experiencing.


#30

My kit arrived yesterday. I am impressed you get that sort of range - mine are dropping connection even though they are 5m apart line-of-sight. Any brick walls or glass seems to kill it. Waiting for the next release to see if these issues are solved.


#31

While I think I know the answer from reading between the lines…I’ve not seen a direct answer to the question of using an external antenna on mesh (Xenon). So…: (1) is use of an external antenna currently enabled on mesh; and (2) if so, does anything need to be done other than plugging in the external antenna?

Thanks

–Ken


#32

The docs state…

At the time of writing (Device OS 0.8.0-rc.25), mesh antenna selection is not yet supported. Only the internal mesh antenna can be used at this time.


#33

Thanks. Missed that in the docs…dang…not like it is in the first line or anything, too…


#34

I’m getting
90% reliability at 150ft line of site, no obstacles (this is about the max usable and falls off fast after that)
99.9% (not actually measured 99.9 but I don’t see any loss) at 140 ft or less
99.9% (same) 50 ft through 1 brick wall.

So for some scenarios the mesh is plenty and others the above limits come into play


#35

How many nodes are you testing with on the mesh network?


#36

4 right now. 1 argon gateway and 3 xenon. (argon connected to an old, interposing cheap router because of the argon-to-xenon router allergy that causes the xenons connected to an argon to fast flash green).


#37

There will eventually be a setting to set and save the selected mesh antenna (internal vs. external). However, if you want to play around with it now, you can just copy and paste this function and call it to select the external (u.FL connector) mesh antenna. The setting is not saved. The default is internal.

void selectExternalMeshAntenna() {

#if (PLATFORM_ID == PLATFORM_ARGON)
	digitalWrite(ANTSW1, 1);
	digitalWrite(ANTSW2, 0);
#elif (PLATFORM_ID == PLATFORM_BORON)
	digitalWrite(ANTSW1, 0);
#else
	digitalWrite(ANTSW1, 0);
	digitalWrite(ANTSW2, 1);
#endif
}

Refund for large pile of Mesh devices
Argon with Wifi and Mesh Antenna, Connect 2 Antennas
High School Robotics Course using the Particle.io Mesh Devices Blog
Mesh Hello World
#38

Awesome, thanks @rickkas7! I will definitely give this a try this evening.


#39

Happy to report much improved range with external antennas. Using two xenons running the marco & polo code, there’s no place in my house or on my property where I get dropped messages while standing still. while i was moving I could occasionally lose one, but I couldn’t reproduce it while standing still. I had one xenon in a window on one side of the house, and even when I was outdoors on the opposite side of the house, I was still getting responses in 10s or 20s of milliseconds.


#40

That’s great to hear, though I won’t deny that I’m highly disappointed with the range of the mesh devices with the built-in antenna. Is this something that can be improved with future firmware updates or is this a hardware level issue?