The Next Level

Here’s a bit more in-depth information, including about Repeaters, Routers, Antennas and Signal propagation.

The Right Role

Repeater and Router (and Router_Client) are device roles, set in the software of a node, and are not physically different devices. If you have a working meshtastic device, it can be set in either of these modes. That said, it’s generally advisable to only set your device to these roles if it’s in a suitable location, is appropriately set up and powered (see below for why).

A Repeater is a node which receives and passes on information (Rebroadcasts), and doesn’t do anything else. It won’t show up on your list of active nodes, even if you’re in range of it.

A Router/Router_Client can perform the same general function as a repeater but can also do more, including acting as a gateway to the broader network over MQTT. In this way it can be used to link groups of nodes in one area to those in another, by connecting to an online MQTT server (also called a Broker). This is usually done using a device which has built-in wifi. MQTT is explained in more detail here at the bottom of the page.

Repeaters invisible when they’re running – they don’t show up on the node list. Routers and Router_Clients are visible, and a Router_Client may also be acting as an actual Client, so they could have a person connected directly to them, making them a good role choice for a home-based node with a high position and good antenna. The Router_Client role maintains its wifi connection, so it’s the simplest method to create a Gateway to MQTT – The Router role disables wifi so the device would need to be physically connected to a computer or network to act as a gateway.

Both Repeaters and Routers get message priority over Clients – they Rebroadcast preferentially above other devices with she same signal strength.

Message Priority

Priority is not well explained in the docs so it’s worth giving you some idea of how it works.

  1. Node A sends a message.
  2. 2 other nodes receive that message. Let’s call them B and C.
  3. B is close to A, or for other reasons receives a stronger signal than C.
  4. All receiving nodes, on receiving the message, start a countdown clock… the time on that clock is related to the strength of the signal. The stronger the signal, the longer the clock.
  5. As node C had the weaker signal, its countdown is shorter, and it rebroadcasts the message first. B hears this rebroadcast and cancels its own plans to rebroadcast the message.
  6. The other modifier to the clock device role. The Router role makes the clock shorter, increasing the likelihood that it will rebroadcast first. The Repeater role makes it even shorter again.

In this way, the message is propagated as far as possible through the mesh, instead of being passed around between multiple nodes which are all close to each other. Multiple receiving nodes in different directions, which all heard the the same original message but can’t hear each other, will not cancel each other’s rebroadcast, so the message will be propagated outwards in all directions.

Repeaters and Routers are preferred rebroadcasters, because it’s assumed they’re in the best locations (and by extension are the best set up in other ways such as power source and antenna) for this purpose. For this reason you should generally only use these roles on devices which have those characteristics, in order to maximise the efficiency of the mesh.

Repeater Setup

There are lots of different devices and combinations of parts you can use to build an effective repeater/router, depending on the specifics of your needs. For example, a perfectly good Router_Client or Client for your house (with wifi) can be put together with simple and cheap device such as a Heltec Stick Lite, especially when you add a better antenna. If you are going to use the Router or Router_client role, ensure you’re using a good antenna and have it as high as possible to provide most benefit to the mesh. Remember the default Client role still rebroadcasts and acts as a gateway to MQTT, so only use the Router_Client role if your setup and location makes this appropriate, especially if there are other fixed nodes near you.

Coming soon… detailed instructions and a full AliExpress Bill Of Materials (to make it cheap and easy and international), to build your own stand-alone, outdoor Meshtastic repeater.

There are other ways to build this, but I’m trying to make it simple, avoid soldering if possible, and keep the whole thing as cheap as I can (around $100 AUD is the target) while maximising the effectiveness of the device. To tide you over until it’s all locked down and tested, the main parts currently being tested are below. Use this list at your own risk – it’s not locked down yet – and double check the polarity of any battery you buy before you plug it in.

  1. Rak Wisblock starter kit – get AU915 $45 inc post at time of writing (on sale)
  2. Antenna – Cable Length 1m (you want SMA male, not the RP-SMA) $7.
    • This has a stated gain of 6dbi which is ideal for a repeater or router, but perhaps not ideal for something on your car (which is interesting given this is made for a car). I explain antenna gain below, so maybe read that before selecting an antenna other than those suggested.
    • The antenna the Rak Wisblock kit comes with is actually very good. As long as you don’t obstruct it, you’ll find it is very effective for most purposes. For a repeater, mounted in a fixed position … I’d want more gain than it has, which is why I’ve suggested getting something else.
    • With this and many other antennas you’ll also need this:
      IPEX to SMA pigtail – 1.13IPXK-SMAK $2
    • For this antenna and also some others I use a small metal plate under the antenna – not so the magnet works (I glue it down) but so it has a bit of a ground plane which I found fixes the SWR as this antenna is designed to attach to a car. I use a sheet of thin steel or aluminium, but you can literally use a beer can cut open with scissors, then fold it in half for stiffness, then glue it down flat, horizontal, directly under your antenna.
  3. Antenna option 2 – or similar (there are lots, but watch you get one suited to 915 Mhz. – $7
    This one comes with the IPEX to SMA Pigtail so you save a couple of bucks there too. Probably not iideal for long term outdoor use, not sure how it will like the Aussie sunshine over years, and I found possums may decide to eat it, but for a temporary deployment or to experiment it will be fine.
  4. Antenna option 3 – or this one or this or similar. This type of colinear antenna is bit more expensive at $20-25 (or more) for the antenna, plus at least a $5 pigtail, but far more solid than option 2, and well suited to outdoor long term deployment. This is the most common way to build a repeater, because many people who try option 1 (above) skip the ground plane and then complain the SWR is bad.
    • IPEX to N-Type pigtail This is the $5 pigtail to fit the n-type connection on the antenna, mentioned above. You’ll want this at a length suitable for the box you’re using, while being as short as possible – I suggest 10 or 15cm.
    • Or if you want to put your antenna on a pole instead of direct mounting it to your case you’ll want something like this to connect it (1m or less ideally – at 5m long you’ll lose about 45% of your signal so you’ll want a whole other type of cable for long runs). You will also need the IPEX to SMA pigtail to make this cable work, and then some mounting hardware to attach the antenna or possibly a mounting with a bracket to push it away from a surface. Also check out this and this for the same purpose I am testing a bunch of these to see what works best.
  5. Battery – 5000mah $15 << watch out, this may arrive with the wrong polarity (mine did) so you’ll need to cut, reverse and re-solder the wires – but I’m not sure how consistent the supply is.
    • The RED (+ positive) should be towards the INSIDE of the board, the black towards the edge. With the ridge on the plug at the top as you plug it in, that makes red on the left, black on the right. Another image to help you. Sometimes the glue obscures the + sign on the board but it is there.
    • Battery option 2 – as above check the polarity before using this as some of the images on this listing show it being wrong but the batteries that arrived when I bought them were correct and required no cutting or soldering.
    • There are other battery options of course, like the ever popular 18650 (+ a holder for it or them in parallel + a JST PH 2.0mm 2 pin Plug (select 2P), and a bit of soldering) but stick to LiPo for simplicity (not LiFePo3 or anything else) because the Rak is designed to charge and run on the voltages a LiPo provides.
  6. Solar panel or this or similar – Type C, about $17. This will plug straight into your Rak and charge your battery. Simple as that, no wiring required.
    • I’m also testing this, which is cheaper, smallet panel at about $6, and I had a little usb-c cable laying around to use with it. Needs a bigger hole in the case to get that chunky plug through, and 2w might not be enough in winter (or maybe it will be in Straya? Seems ok so far.) but 2w is heaps in summer and fully recharges a day of usage with about half an hour of sun on it.
  7. Enclosure – 100-68-50-with ears $8 or similar. The Rak is surpisingly small so it’s mainly about the battery you choose and some space to stuff extra cable in there to get it out of the way.
  8. You’ll also need a drill, some glue or silicone, and some screws or whatever to mount the whole thing.

Total: About $100+GST
(depending on the antenna and battery you go for and what sales are on)

This size solar panel, with this much battery (especially the 5000), should keep it going indefinitely even in bad weather … probably. I will see if the cheaper 2w panels are enough over the coming winter.

Also coming… Drones, Balloons and Other Deployments, battery information, enclosures, and a set of suggested rigs for different purposes.

Signal & Range

The current range record is 254km, with no more power output than any other device has, and at a similar frequency to what we use here in Australia – 915Mhz. That was between two Rak Wisblock based devices, functionally identical to the Repeater design described above. One used a 5.8dbi outdoor fibreglass collinear antenna a bit like this. The other used a small, cheap 2dbi antenna a bit like this. The standard Long_Fast preset settings were used with only a small modification to resist noise. You’ll probably recognise that device setup as very similar to what I have listed above for you to build. That’s not a coincidence.

In the Configuration of your device you’ll find a Range Test function to help you test your own devices in an automated way, by repeatedly sending its location from one device and logging the received messages on another (not all devices are capable of logging).

915Mhz is generally considered a high frequency (in fact an Ultra High Frequency – UHF), and the most effective way to increase range at this frequency is to increase height and maintain Line Of Sight (LOS) – that is, you need a clear, straight path from one device to another. This frequency is bad at crossing over hills and going down the other side, and so to maximise range, height is your friend. From mountain-top to mountain-top is an ideal test scenario for ultra-long-range unless you are into hot air ballooning or paragliding. The type of antenna you use will also be a factor, mainly whether or not yours is properly tuned for 915Mhz, but also your gain (see below for more about gain).


This is just a primer – a basic summary. If you’re really into antennas, maybe Amateur Radio would also interest you – you’ll find me around as VK3TMO.

What is Gain?

Antennas are calculated (and sometimes tested) to have a particular gain. In our case this is usually represented by dBi, which will be a number usually between 2 and 13. I won’t go into the technical aspects here, but what you need to know is that gain isn’t free – it doesn’t create more signal – it just changes the ‘shape’ of your signal. Think of it like squashing a rubber ball between two plates, where the ball is the shape of the signal strength. As you increase the force squeezing the ball, while it starts as a sphere, at 2 dBi it’s a bit thicker in the middle, by 5 dBi it’s a hamburger, and by 13 dBi it looks like a frisbee.

At high gain, your signal may travel further (and your sensitivity to received signal may be higher), but the angle of your antenna is more important as it’s more directional. If you tilt your high gain antenna too high or too low, you’ll lose a lot of its effectiveness. This is why low gain antennas are often used on devices which change angle during use, such as those designed to be hand-held or live in a backpack, while high gain is mostly reserved for fixed locations.

Unidirectional antennas (often just called directional) have higher gain on one side than the other, and should be pointed directly at the other node you’re communicating with. They sometimes have arrows on them or even pistol grips to help with this. They’re usually used for direct links between devices in fixed locations, or for specific long-range communication where the relative location of the other node is known.

Omnidirectional antennas have roughly equal gain all the way around so someone behind them will get the same signal as someone in front. They may be a good option for a repeater, but remember if your gain is too high and you’re on top of a mountain, even if you can see down into the valley, you may be sending your signal over everyone’s head. Generally a middle-ground is preferred, and most people opt for a gain of between 4 and 8 dBi for a repeater at 915Mhz – 5.8 is a common recommendation.

Types of Antennas

There are lots of different antenna types compatible with your Meshtastic device. They range from small, low gain stumpy aerials just a couple of inches long, to large, high gain collinear fibreglass poles made for permanent outdoor use. There are also patch antennas (sometimes flexible, sometimes small panels which might fit inside the plastic case of your device), various directional antennas including yagis, panels, dishes and moxons, helicals (coils of wire) and even slot antennas which you can build yourself out of a flat sheet of metal as thin as aluminium foil. On top of all that, it’s even more complex than it seems, because there are 10x more antenna types than I’ve listed, more complexity (collinears are basically a bunch of small antennas in a row) and to confuse you further, that little black plastic antenna you’re using could have a simple helical coil of wire inside it, or something else entirely. There it lots more discussion of antennas on the Meshtastic discussion forums, and many people have tested available antennas and published their results.


Your device may have has a tiny press-stud-like antenna connection on the circuit board with, confusingly, a lot of different names. IPEX, IPX, U.FL and less commonly MHF – are basically all the same thing. In the event you see IPEX1, IPEX4 etc – for every meshtastic device I know of, you want IPEX1 (1.0). Most people use an IPEX-SMA Pigtail (a pigtail is short cable with a plug on each end) and then connect their antenna to an SMA plug. The most common practice (you’ll find this in most if not all meshtastic devices for sale) is to use SMA-F (female) on the device end, which has threads on the outside, and a hole in the middle. This is then mated to an SMA-M (male) antenna, which has a pin in the centre but is threaded inside and screws onto the outside of the other plug.

To confuse people, the opposite arrangement also exists (thread on the outside but a pin in the middle), which is called RP-SMA (Reverse Polarity) but I suggest you stay away from standardising your gear on these if you can help it. I don’t know why RP-SMA exists and I wish it didn’t.

Instead of IPEX, you may have an SMA connector already on your device. Depending on your device, it may be using an IPEX-SMA Pigtail inside to achieve this (the T-Echo does this), or it may have the SMA soldered directly to the board (the T-beam does this). Every meshtastic device I know of uses standard SMA-F connectors or IPEX on the device end.

Indoor and hand-held nodes often use SMA antennas – the antenna itself has SMA-M on one end. Relatively small, magnetic mobile antennas made for cars often come with a length of coaxial cable and an SMA-M plug on the end, ready to go. Using one of these to get the antenna outside the car instead of inside with your device can make a huge difference to your range at a relatively low cost. Keep the cable length as short as practical as thin coax cable has high loss, especially at 915Mhz.

For outdoor and vehicle use, the N-type connector is often used. Like SMA, in most cases the Female type is on the device end, and the Male end is the antenna. N-type antennas include those which look like large fibreglass poles and are made for use in permanent outdoor deployments. Magnetic N-type bases also exist for use on vehicles, some with cable and SMA-M plugs ready to attach directly to your device, just like the magnetic mobile antennas mentioned earlier. IPEX-to-N type pigtails also exist if you’re building a repeater, for example.

Other antenna connection types also exist, including (although it’s very rare to see one at 915Mhz) this PL259 example (which is so rare it disappeared into the mists of time while I was editing this page, but I’ll leave the link up in case it comes back. Dammit I should have bought one when I saw it).

Any and all site feedback is welcome … [email protected]

Also check out my other free public projects including Getlost Maps – free topo maps of Australia.