This is an old revision of the document!
The method for building a Meshcore repeater based on a particular garden stake solar light available from Aldi or Bunnings was first documented on the NSW Mesh Wiki at: https://nswmesh.au/hardware/repeaters/aldi-solar-repeater originally by mukw-labs?
This article aims to give a little more detail on the build process and to give some hints and notes along the way.
The whole build should only take about an hour.
| Bunnings Magic 100/300 Solar Light $30 (requires CN3065) or | Aldi Casalux 100/300 Solar Light $15 |
| 915MHz antenna with UF.L to SMA pigtail (See note on the TX915-JKD-20) | |
| Seeed Studio XIAO nRF52840 (microcontroller) & Wio-SX1262 (LoRa radio) | |
| Samsung 30Q lithium 18560 battery (optional) | |
| CN3065 solar charge controller (optional) | |
| 3 x JST PH 2.0 wired connector leads (optional) | |
On occasion Aldi bring in the Casalux 100/300 garden stake light as a special buy. When available, they are usually priced at $15 each and sell rather quickly. The body and shape is attractive and works really well for easy modification and field installation.
It has a generously sized solar panel, LED light array, a solar battery charge controller and a 3.7V 2000mAH 18650 lithium battery.
Bunnings also sells the Magic 100/300, which is the same form factor and shape, costs $30 when not on special, and is regularly available. The only difference inside between the two is that the solar charge controller in the Bunnings Magic does not use an IC microcontroller. It is difficult to know what protections, if any, are on board, unless anyone can advise?
For this one, I prefer to replace this with a different charge controller. We'll cover this later.
I believe the Nw Zelnders refer to these as “Owls” no doubt due to some models where the diffuser has two large lights instead of many small LED lights. But they refer to them all as Owls. The two-light type is not covered here as the modification described is not suitable.
At the front of the unit, locate the four screws of the light diffuser. Remove these and the diffuser will come off, revealing the waterproof seal, the LED light array attached behind, the battery, and the charge controller behind it.
Remove the two small screws that hold the LED array in place and de-solder the wires from the LED array. You won't need this anymore, so you can put the LED array into your parts bin. Instead of powering an array of LEDs for the garden, you'll be powering your repeater's new microcontroller instead.
The unit ships with a generous 2000mAH lithium battery. Before popping it out, take a white marker, or something easy to read, and draw positive/negative polarity markers on the inside of the case to remind you of the orientation of the battery. Also draw clear markers to the battery to be doubly sure. On many 18650 batteries, the bump can be very small on the positive end, making it easy to put the battery in the wrong way without checking.
While this is a decent battery, its safety is unknown for the extreme heat of an Australian summer. It is therefore responsible to replace the battery with one of known quality if the repeater is going to be deployed in the wilderness. I recommend the Samsung 30Q from Tinkertech. Thank you to tm65ba for letting me know about these.
Remove the battery from the unit and set it aside. This gives access to the solar battery controller and wiring.
Now that the LED array has been removed from the diffuser, it now becomes the cover for your repeater. It is also where the antenna will be mounted.
Which means you need to drill a hole into the diffuser and remove some of the backing material. Thankfully the texture of the diffuser helps get a nicely positioned hole. The hole needs to be in the middle on the non-rounded side. This will ensure that the antenna is clear of the battery position inside the case.
Clearly mark which spot will be drilled.
Start with a 6.25mm (or 1/4\) drill bit which is the right size for the SMA connector. If you only have a 6mm drill bit, use that, and then a round file to widen the hole neatly.
Next, in order to ensure the SMA connector sits outside the cover, you need to dremel out the plastic material (the bubble surrounding the hole you drilled). Try to get it fairly ground down to the floor and make it as neat and flat as possible.
Your antenna SMA pigtail connector should be able to poke through the hole far enough so you can fasten the nut securely on the outside of the cover and there be enough connector length to screw the antenna on.
If that works well, remove it again, go spray paint the cover black if you wish to make it all neat. Then mount the SMA pigtail again to the hole.
You can then connect your antenna to the SMA connector.
The antenna above that has been successfully tested with this build has a quirk. Depending on the bend sequence, it can become either 868Mhz or 915Mhz. So test on a VNA. Alternatively, source a single TX915-JKD-20 that ships with the pigtail. If anyone has a good link, please let me know.
There is a variety of microcontrollers + LoRa module combinations that are compatible for a Repeater build, but for simplicity, availability and price, I recommend the Seeed Studio XIAO nRF52840 & Wio-SX1262 Kit combo.
In the past I have purchased these from Aliexpress. However, due to a recent faulty unit I now purchase these from Core Electronics. They are practically the same price locally from Core Electronics, and you have at least some recourse if you receive a faulty unit. Shipping is either the next day or the day after. Core have excellent shipping and a great reputation.
When your XIAO board arrives, please ensure that you first do a multimeter continuity test and check that there are no shorts on the pins. No pin should be connected to any other.
In one case (and I've since heard of others) the VIN was shorted to GND and for some silly reason, I plugged it in and walked away for a moment. I came back to an exceedingly hot chip. It was toast. When you do connect it to USB power to test for the first time, keep a feeler on the chip temperature. If it doesn't get really warm or hot after a good 30 seconds, you can pass the microcontroller as ready to use.
You'll need to tin the pads for the battery input on the underside of the micro controller. To do this, remove the Wio-SX1262 daughterboard.
Tin the two pads with solder. We'll configure the microcontroller firmware itself toward the end.
For the Aldi Casalux version, you can use the existing charge controller if you wish to. To do this, solder the + and - leads that were previously connected to the LED array, and connect them carefully to the battery pads under the XIAO board. Use your multimeter continuity test to ensure that the positive and negative are not bridged/shorted. Don't trust your eyes!
Connect the antenna pigtail UF.L connector onto the Wio-SX1262 (always ensure the antenna is connected before powering).
Plug the Wio-SX1262 daughter-board back under the XIAO board.
The last modification bypasses the circuit that only supplies battery power when light is not detected (or no light supplied to the solar panel). This is how a garden light works. But the repeater needs to operate on the battery 24 hours a day, not just at night! So desolder the negative -L wire and move it to the B\- solder point like this:
Once complete, you can screw the charge controller back into the holder.
For the Bunnings Magic version, you'll need to replace the existing charge controller.
You will need a CN3065 solar charge controller. These can be purchased cheaply in lots from Aliexpress.
You have a choice here with the CN3065. You can either solder the power wires for the Solar, Battery Terminal and Microcontroller to JST PH 2.0 connectors (available from Aliexpress and plug them into the sockets on the solar charge controller or you can solder the wires directly to the connection points onto the solar charge controller PCB. The choice is up to you.
SYS-OUT is the load power that goes to the Microcontroller. There are no separate solder points for this, but you can solder to the back of the connector as shown above.
One warning though: If you have purchased JST PH 2.0 wired connectors, check the polarity on the board's sockets and compare to your wired connectors. Sometimes they are sold with the red/black swapped around. If so, detach the JST pins and swap them around to avoid a polarity disaster.
If you use a CN3065, you'll find it's a little larger and so can't be put back into the spot the previous charge controller sat in. That's OK. You can stuff it back into the cavity of the housing along with the microcontroller once you're done.
The switch on the back of the case no longer performs any function.
Fairly straight forward here. Simply solder the solar panel wires to the positive and negative terminals directly on the charge controller or optionally using a JST PH 2.0 connector first (as previously described) then plug in. Again, be cautious to get the polarity right.
At this point, before reconnecting the battery, you can flash the Meshcore Repeater firmware onto the microcontroller which turns it into a working repeater.
Connect your XIAO microcontroller via USB to your computer and follow the instructions to flash your board here: https://meshcore.io/flasher
Once you have flashed it and set up all the aspects for your repeater, and performed some initial testing with your companion, it is time to disconnect the USB cable, re-insert the battery, carefully push the charge controller and microcontroller into the body cavity, replace the cover and screw it all back in.
If you can still communicate with the repeater with your companion, that's a great result, and it's time to put your repeater out for trial. I usually like to attach mine to a tree branch with access to at least some full sun.
For mounting, you can use a variety of Hose Clamp sizes for attaching the unit to posts, dead tree branches, etc. I recommend using one clamp to hold the stake, and one above the mount where the stake attaches. Avoid mounting to live trees or branches.
There are some optional 3D printable accessories for mounting antennas and the unit itself:
Remember to choose a filament and wall thickness that won't break down in UV or let water in.