Build a cheap solar repeater
A weatherproof MeshCore repeater that sits on a pole and runs all year on a small solar panel, British winters included.
At a glance
- Cost
- £50-115 in parts, most builds around £60
- Time
- An afternoon
- Tools
- Drill, screwdriver, multimeter, maybe a soldering iron
- Power draw
- Roughly 10 mA, around the clock
- Without sun
- Keeps going for about 3 weeks
Safety first
Lithium cells store a lot of energy. Buy genuine cells from a proper battery shop (not marketplace listings promising 9900 mAh), never short them, and always use a protection board. Don't work at height on your own, and don't climb on roofs. Get someone who does it for a living, or keep it to a loft or a pole you can reach from a stable ladder.
How it fits together
Four blocks. The panel charges the battery through a small charger, and the battery powers the radio day and night.
- Solar panel (6 V)
- MPPT charger
- Battery: 2 × 18650 cells with a protection board
- LoRa board (nRF52) and its 868 MHz antenna
The secret to a cheap solar node is a board that barely sips power. Get that right and the panel and battery can be small.
Pick a board
A repeater spends almost all its time listening. Boards built on the nRF52840 chip do that on roughly 5-15 mA. ESP32 boards like the Heltec V3 use several times more, which means a much bigger panel and battery to get through December.
| Board | Why | Roughly |
|---|---|---|
| RAK4631 on a RAK19007 base | The easy, solid option. Well documented, proper battery connector, and the base board has its own solar input. | £30-40 |
| Heltec T114 | Good value. Bigger board, easy to work with. | £20-30 |
| Seeed XIAO nRF52840 + Wio-SX1262 kit | Tiny and cheapest. Fiddlier: small pads and a fragile antenna connector. | £12-20 |
Whatever you pick, get the 868 MHz version.
Parts list
| Part | What to look for | Roughly |
|---|---|---|
| LoRa board | One of the nRF52840 boards above, 868 MHz. | £12-40 |
| Solar panel | 6 V, 3-6 W, with a lead attached. Bigger is better for winter. | £8-15 |
| Charger | CN3791 MPPT solar charger module, the 6 V version. It gets the most out of a small panel. | £2-4 |
| Cells | 2 × 18650 Li-ion, genuine Samsung, LG, or Molicel, around 3000 mAh each. Buy them together. | £8-12 |
| Holder + protection | A 2-cell parallel (1S2P) holder and a 1S protection board (BMS), so the cells can't be over-drained or shorted. | £2-4 |
| Enclosure | IP65 or better plastic (ABS) junction box, about 150 × 110 × 70 mm. Never metal: it blocks radio. | £5-10 |
| Antenna | 868 MHz, 3-6 dBi, with a bulkhead (through-the-box) connector and a u.FL/IPEX pigtail to reach the board. | £8-20 |
| Bits and bobs | Cable glands, a breather vent, silica gel sachets, JST-PH leads, heat-shrink, hose clips, or U-bolts. | £5-10 |
| Total | Mostly depends on the board and the antenna. | £50-115 |
Spend money on the antenna and on height before anything else. A good antenna a few metres higher beats every other upgrade.
Power maths
Don't size for June. Size for a grey week in December, when a panel round here might get the equivalent of an hour of full sun a day, or much less.
| Average draw | ~10 mA (measure yours, 5-15 mA is normal) |
|---|---|
| Used per day | 10 mA × 24 h = 240 mAh |
| Battery | 2 × 3000 mAh, about 80% usable = 4800 mAh |
| With zero sun | 4800 ÷ 240 = about 20 days |
| Average December day | 5 W × ~1 h × ~60% after losses ≈ 3 Wh ≈ 800 mAh in |
| Proper grey day | a quarter of that, ~200 mAh, so the battery covers the gap |
So: at least 3 W of panel (5-6 W is comfortable), facing south and tilted steeply. If your node sits in shade for part of the day, go bigger or add more cells.
About the cold
Li-ion cells shouldn't be charged below 0 °C, and cheap charger modules like the CN3791 don't check temperature. A frosty dawn with weak sun is the risky moment. LiFePO4 cells are much less prone to fire but don't like charging below freezing either. The proper fix is a charger with a temperature sensor (NTC) input, with the sensor taped to the cells. Worth it on an exposed site.
Build it
1. Flash and configure on the bench
Do all of this at the kitchen table, with the antenna attached, before anything goes in a box.
- Open flasher.meshcore.io in Chrome or Edge, pick your board, and choose the Repeater role.
- Once flashed, open the flasher's console (or config.meshcore.io) with the board still plugged in over USB, and send these commands one line at a time. Change the name, location, and password first.
set radio 869.618,62.5,8,8
set dutycycle 10
set advert.interval 0
set flood.advert.interval 161
set loop.detect minimal
set path.hash.mode 2
set agc.reset.interval 8
set multi.acks 1
set tx 22
set name CRW-Southgate
set lat 51.105
set lon -0.193
password pick-something-long
reboot
set radio- The UK preset. Only takes effect after a reboot.
set dutycycle 10- UK rules allow 10% airtime on this frequency. The firmware default is 50%.
set advert.interval 0- Turns off the zero-hop advert, the short-range announcement only radios in direct range would hear.
set flood.advert.interval 161- How often, in hours, the repeater announces itself across the whole mesh. 161 hours is just under a week, which keeps flood traffic down.
set loop.detect minimal- Drops flood packets that look stuck in a loop (this repeater's ID already in the path several times), so one faulty repeater can't cause a packet storm.
set path.hash.mode 2- Uses a 3-byte ID for this repeater in its adverts instead of 1 byte, so it's very unlikely to share an ID with another repeater, and paths are easier to trace. Repeaters on firmware 1.13 or older drop these adverts, which is one more reason to keep firmware up to date.
set agc.reset.interval 8- Resets the radio's automatic gain control every 8 seconds. This cures 'deafness', where strong interference nearby leaves a repeater unable to hear other radios.
set multi.acks 1- Turns on multi-acks: extra copies of acknowledgements, so they're more likely to get through.
set tx 22- 22 dBm is full power for boards without an amplifier (all three above). If your board has a built-in amplifier, keep its factory setting. The legal limit is 500 mW ERP. As a rule of thumb, keep tx (dBm) + antenna gain (dBi) − cable loss (dB) at 29 or below.
set name- Name it after the area, never your address. We use a
CRW-prefix so locals can spot ours. Check the map so you don't pick a name that's already taken. set lat/set lon- Puts it on the map. Three decimal places (about 100 m) is plenty, and it doesn't give away an exact address.
password- The admin password. The default is literally
password, and anyone who knows it can reconfigure your repeater over the air. Change it. reboot- Applies everything. The board won't reply to this one.
UK repeaters are starting to use regions to keep local traffic local. Have a look at localmesh.co.uk's region guide and ask us before setting them, so we're all consistent.
Test it: with your companion radio nearby, the repeater should show up in the app within a minute or two. Log in to it from the app with your new admin password and check you can read its status and battery voltage.
2. Wire up the power
| From | To |
|---|---|
| Cells (in the parallel holder) | Protection board B+ / B− |
Protection board P+ / P− |
Charger BAT+ / BAT− |
Protection board P+ / P− |
LoRa board battery connector |
| Solar panel | Charger IN+ / IN− |
- Match the cells first. Only put cells in parallel when they're at the same voltage: new from the same batch, or both fully charged. Joining a full cell to an empty one makes a big current flow between them.
- Check JST polarity with a multimeter. JST-PH plugs have no standard wiring. A red wire on a pre-made lead means nothing to your board. Find the
+marking on the board, check the plug, and swap the pins if needed. Getting this backwards can kill a board instantly. - Using a RAK19007? You can skip the CN3791 and plug a small 5 V panel straight into its solar connector. RAK says the panel voltage must never go over 5.5 V, so a 6 V panel is out.
3. Box it up
- Fix everything to a small backing plate inside the box with Velcro, screws, or hot glue. Nothing should rattle.
- Bring every cable in through the bottom, through a cable gland, with a little drip loop outside. Water runs down cables.
- Fit a breather vent on the bottom face. Sealed boxes 'breathe' damp air in as they heat and cool. Add a silica gel sachet too.
- Mount the antenna on a bulkhead connector through the top or side, sealed with its washer. Keep the pigtail inside short.
4. Put it up high
- Height beats everything. A few extra metres makes more difference than any antenna upgrade.
- Antenna vertical, clear of metal, gutters, and other aerials. Every MeshCore antenna is vertically polarized, so a sideways antenna is a deaf antenna.
- Panel facing south, tilted steeply (60° or more). That catches the low winter sun, sheds rain, and keeps it cleaner. Avoid shade between about 10:00 and 14:00.
- Pole brackets, hose clips, or U-bolts all work. Tie the cables down so they can't flap in the wind.
5. Tell everyone
Tell us the repeater's name and rough location, and check it shows up on the map. Consider giving a trusted local the admin password too, so the repeater isn't orphaned if you move away.
Looking after it
- Check in remotely. Log in from the app every few weeks and look at the battery voltage. If it slides steadily lower through December and January, add panel or cells before next winter.
- Update firmware over Bluetooth. nRF52 boards can be updated without coming down off the pole. Run
start otafrom the admin console and follow the over-the-air steps in the MeshCore FAQ. - Swap the silica gel and check for damp once a year. Spring is a good time.
Questions
Can I skip the solar and use USB power?
Yes, and if there's a socket nearby (a loft, a garage, a shed with power) it's simpler and more reliable. A phone charger does the job. Keep a cell connected and the repeater will ride through power cuts, which is exactly when the mesh is most useful.
Why not a Heltec V3? I already have one.
It runs repeater firmware fine, it just draws several times more power than an nRF52 board. On mains power it's a perfectly good repeater. On solar in the UK, you'd need a much bigger panel and battery to get through winter.
Can I buy one ready-made?
Yes. The Seeed SenseCAP Solar Node P1 and Heltec's MeshSolar are pre-built solar nodes that MeshCore supports. They cost more than DIY but involve no wiring.
Do I need a licence?
No. MeshCore uses the licence-exempt 868 MHz band, as long as you stay within the power and airtime limits. That's what the set tx and set dutycycle lines above are for.
Where should I put it?
As high as you can, with a clear view over the area you want to cover. If you can't get height yourself, maybe someone else can: see host a repeater.
Built one? Brilliant. Tell us about it.