Skip to the content
2 layers21.4 × 38 mmJungle buoy, the printed circuit board in 3D

Jungle Buoy solar buoy PCB replacement

Size
21.4 × 38 mm
Copper layers
2
Thickness
1.6 mm
Parts
38
Nets
34
Pads
146
Tracks, vias
178, 21
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
26 Jun 2026
Updated
13 Jul 2026

Overview

Jungle buoy is an open-source printed circuit board by meshmy, from the meshmy/jungle-buoy repository on GitHub, published under the CERN-OHL-S-2.0 licence. It is a 2-layer board of 21.4 × 38 mm with 38 parts on 34 nets, routed with 178 tracks and 21 vias.

It is built around the BME280, TP4057 and KT-0805G, with the KT-0805Y among its other parts. Its parts include 10 resistors, 9 capacitors, 4 ICs, 4 connectors and 3 diodes. It belongs with the power boards of this library.

Main components

4

README

README.md

Jungle Buoy

A replacement PCB for the Solar Buoy available on Taobao, inspired by the Meshtastic Solar Buoy Instructables project.

Designed as a 1:1 drop-in replacement for the original buoy PCB, adding Meshtastic LoRa capability.

The weatherproof enclosure with built-in fixing points makes it easy to attach a rope and sling the node onto a tree branch, giving it a convenient second life as an outdoor Meshtastic node.

The battery and solar panels are also re-used, making it a relatively low-waste project, though the original PCB will be discarded; hopefully you will find a second life for the many LEDs it comes with.

FrontBack
PCB frontPCB back

Contents

Hardware

  • RAK3172 (STM32WLE5CC with integrated SX1262 LoRa)
  • Bosch Sensortec BME280 environmental sensor (optional - marked DNP)
  • Torex XC6206 3.3V LDO regulator
  • TP4057 Li-ion battery charger
    • JST PH connector (plug-and-play with factory battery)
    • Solder pins (for factory solar panel)
    • Charge indicator LEDs disconnected by default via solder bridge (saves ~1mA quiescent)

[!NOTE] You will need to supply a few extra parts yourself — see Additional items to source below.

Building

Bill of Materials

[!NOTE] If you're using Bouni's JLCPCB Tools to order PCBA from JLCPCB (see Ordering PCBs below), all components are already specified — using JLCPCB basic/extended basic parts where possible — so no manual BOM work is needed.

  • Interactive BOM — click-to-highlight component placement, cross-referenced with the PCB layout
Additional Items to Source

These aren't in the KiCad project and need to be bought separately:

ItemNotes
Solar Buoy (Taobao)Donor unit — its enclosure, battery, and solar panel are re-used; the JST PH connector can also be harvested from its PCB
U.FL/IPEX to waterproof SMA pigtail<5cm if the SMA bulkhead exits through the top of the enclosure, >15cm if it exits through the bottom — length depends on the internal routing path to the mounting hole
LoRa antenna with SMA connectorMatch to your region's Meshtastic frequency band (e.g. 868MHz EU, 915MHz US/AU)
7mm drill bitFor the SMA bulkhead hole in the enclosure — a brad point bit is ideal for precisely locating the hole
5-pin 2.54mm male pin header (Dupont style)Generic header, soldered onto the PCB during assembly

Ordering PCBs

[!IMPORTANT] If ordering PCBA (assembly), double check the per-component rotations shown in the Component Placements step of JLCPCB's PCBA order flow — the plugin's default rotation for a footprint doesn't always match the rotation JLCPCB has on file for that specific LCSC part.

Unpanelized

Gerbers, BOM, and CPL (component placement) files are generated with Bouni's JLCPCB Tools plugin for KiCad:

  1. Install it via Tools → Plugin and Content Manager in KiCad, searching for "JLCPCB Tools" (or install manually per the plugin's README).
  2. Open jungle-buoy.kicad_pcb in the PCB Editor and launch the plugin from its toolbar icon.
  3. Assign/verify an LCSC part number for each footprint (already populated for this project in jlcpcb/project.db).
  4. Use the plugin's Fabrication tab to export Gerbers, BOM, and CPL in one pass — output lands in jlcpcb/gerber/ and jlcpcb/production_files/.
  5. Upload the generated Gerber zip (and BOM/CPL if ordering assembly) at jlcpcb.com/quote.

Default JLCPCB order settings work fine. If ordering PCBA (assembly), set Tooling holes → By JLCPCB.

Panelized

panelize.sh uses KiKit to generate a 2×2 panel optimised for JLCPCB PCBA ordering:

  • Layout — 2×2 grid with 2mm board spacing, yielding a ~94×88mm panel
  • Tabs — single 6mm fixed tab per board side for clean separation
  • Mouse bites — 0.6mm drill, 1mm spacing, 0.3mm protrusion per JLCPCB's panelisation guide
  • Frame — 5mm tight frame with copper fill and 1mm fillet
  • Tooling holes — 3× 1.152mm holes (JLCPCB standard) at 2.5mm offsets
  • Fiducials — 3× fiducials with 1mm copper, 2mm opening

Run with:

bash
./panelize.sh

Output is written to jungle-buoy-panelized.kicad_pcb.

Follow the same Bouni's JLCPCB Tools export steps above, but on jungle-buoy-panelized.kicad_pcb. When ordering, set:

  • Delivery Format → Panel by Customer
  • Panel Format → Column: 2, Row: 2

If ordering PCBA, also set Tooling holes → By Customer.

Tips
  • The JST S2B-PH-SM4-TB connector (J1) can be omitted from the PCBA order if you're comfortable desoldering it from the original solar buoy PCB and re-soldering it onto the Jungle Buoy PCB — this saves the ~US$3 JLCPCB PnP loading fee plus the component cost. It's possible but fiddly to hand-solder, best done with a fine- or chisel-tipped iron, or a hotplate.
  • The RAK3172 module (U1) can also be hand-assembled — I assembled it with an MHP30 mini hotplate, partly to use the RAK3172-T variant, which isn't stocked on JLCPCB and is only available from RAK's official stores (I got mine on AliExpress). It's fine to have JLCPCB assemble a JLCPCB-stocked RAK3172 variant instead if you'd rather not hand-solder.

Assembly

Installation

Open the Shell
  1. Bring a pot of water to a boil and immerse the lamp side of the buoy shell in it to soften the silicone sealant — this makes the shell easier to open without cracking it.

[!WARNING] The shell will be close to boiling hot afterwards — don't grip it directly. Only handle it through a towel or mat to avoid scalding yourself.

  1. Using a towel or a car dashboard mat for maximum grip, twist the buoy head hard anti-clockwise — it will release.
  2. Clean off the old silicone; it will have been damaged by the unscrewing anyway.
    • The rubber gasket should be sufficient waterproofing on its own, but you can replenish the silicone later during reassembly — after you've confirmed the firmware is properly configured, especially with a remote admin key.
Remove the Old PCB
  1. Disconnect the battery, unscrew the PCB, and carefully pull out the components.
    • Don't pull too hard on the wires — slowly ease the bundle of solar panel wires and the battery out.
    • It's possible to solder without pulling everything out, but it's ergonomically more challenging.
  2. Desolder the solar panel wires from the old PCB.
    • Harvest the JST PH connector if you plan to re-use it on the new PCB.
Prepare and Install the New PCB
  1. Solder on any remaining components — such as the harvested JST PH connector if you're re-using it — plus anything else you didn't have JLCPCB assemble.
  2. Solder on a 5-pin 2.54mm male pin header.
  3. Solder the solar panel wires.
    • The wire should enter from the top of the PCB to match the original design; bottom entry also works, but the wire bundle may get squashed against the sponge behind the PCB.
    • The solder pads next to the connector can be bridged with a blob of solder to re-enable the charge/done LEDs, at the cost of some solar power. Firmware detection of charging works fine either way, whether or not the pads are bridged.
  4. Do a final visual inspection for shorts or damage, then plug in the battery.

Flashing Firmware

Build
  1. Build the firmware from mesh-malaysia/meshtastic-firmware on the feature/jungle-buoy-variant branch — be sure to select the jungle-buoy variant when building.
  2. Find the built hex file at .pio/build/jungle-buoy/*.hex.
Connect
  1. Open STM32CubeProgrammer.
  2. Connect GND, TX, and RX to a USB-TTL serial adapter.
    • Optionally also connect 3.3V (to power the MCU if the battery isn't connected) or 5V (to charge the battery while flashing).

[!CAUTION] Do not connect 5V to the 3.3V pin — this will permanently damage the STM32WL.

  1. Put the RAK3172 into bootloader mode: hold down BOOT, tap RESET, then release BOOT — the BOOT button must remain held while the board is reset.
  2. Select the UART protocol in STM32CubeProgrammer.
  3. Select the correct port for your USB-TTL serial adapter.
  4. Click Connect.

[!NOTE] The board can also be flashed via SWD using the Tag-Connect header, instead of steps 1–6 above.

Protect the Battery (Optional, but Recommended)
  1. Switch to the Option Bytes tab → BOR Level → set BOR_LEV to 4 (reset threshold ~2.8V).
    • This protects the lithium battery by shutting the node down at a conservatively high voltage before over-discharge.
  2. Hold BOOT, then click Apply to save the option bytes.
    • The board will re-launch into bootloader — release BOOT once STM32CubeProgrammer reconnects and reports the option bytes were programmed successfully.
    • If you forget to hold BOOT, don't worry — the option bytes are still saved. Just repeat the bootloader-entry sequence from the Connect step above to re-enter and reconnect.
Flash
  1. Switch back to the Memory & File editing tab → Open file → select the hex file.
  2. Click Download.

Solar Charging Test

Now is a good time to test solar charge detection. Shine a bright light across at least 2 panels — either the charge LED (amber) will light up if the pads were bridged, or the blink pattern will change from rapid flashing to a slow blink in Meshtastic, since it detected charging.

[!NOTE] The charging indication may already be in effect if the node is in a bright enough place.

Configuring Meshtastic

Connect
  1. Make sure STM32CubeProgrammer and any other serial terminal that may be holding the port are disconnected.
  2. Open the Meshtastic desktop app (macOS) or web client and connect to the same UART port as before.
  3. Temporarily connect the SMA pigtail and an antenna to the RAK3172.

[!CAUTION] Don't let the node transmit without an antenna connected — it can damage the LoRa frontend.

Configure
  1. Perform the basic configuration of the node.
  2. Load a remote admin key into the Security settings.
    • This is important: it's the only way to configure the node from another node's client app. The STM32WL has no Bluetooth or Wi-Fi, so without remote admin set up, the node is impossible to configure except physically.

Finishing Touches

Final Checks
  1. Make sure you're fully satisfied with the node configuration and have confirmed remote admin is accessible, then disconnect the programming/charging wires.
Reassemble the Shell
  1. Insert the components back into the enclosure.
  2. Tidy up the wiring.
  3. Re-insert the triangular foam that packs the battery and solar panels in place.
    • It has a notched side, which needs to face where the wires travel up to the PCB.
  4. Screw down the PCB.

[!TIP] Back the screwdriver off anti-clockwise a bit first, to let the screw naturally drop into the existing thread, then tighten as usual. This avoids cutting new threads each time, which would eventually wear the plastic down.

Drill the SMA Hole
  1. Decide where to drill the SMA connector hole.
    • The cap end (where the buoy lights up) is ideal — the other end has a hook in the way that needs to be sawed or drilled off to mount the SMA jack there, and you'd also lose one of the points to hang the node from.
  2. Drill the hole.
Mount the SMA Pigtail
  1. Disconnect the battery, to prevent the RAK3172 from transmitting RF without an antenna attached.
  2. Disconnect the pigtail from the U.FL socket — pull it straight upwards rather than at an angle, to avoid damaging the U.FL connector.
  3. Feed the pigtail through the drilled hole and reconnect it to the U.FL socket.
  4. Mount it loosely.
    • If mounting it on the cap, leave it loose enough to spin — the SMA connector can only be tightened once the cap is fully tightened, otherwise the coaxial cable will twist and get ripped off the RAK3172.
  5. Reconnect the battery.
Seal the Enclosure
  1. Tighten the cap on, being careful to maintain the orientation of the SMA pigtail, and not to crush the pigtail in the threads or accidentally disconnect it from the U.FL socket.
  2. Only once the cap is fully tightened, tighten the nut of the SMA connector.
    • Hold the SMA connector while tightening so it doesn't spin — this can be done with an antenna, gently pulling it so the O-ring engages and prevents the connector from rotating.

[!TIP] You can generally get the connector quite tight without it spinning — the O-ring on these waterproof SMA connectors helps hold the connector body in position.

RAK3172 GPIO Assignments

PinNameUseNotes
1PA3USART2_RX*Firmware update & Meshtastic console (2.54mm header)
2PA2USART2_TX*Firmware update & Meshtastic console (2.54mm header, Tag-connect)
3PA15LEDGreen LED
4PB6—Unused
5PB7—Unused
6PA1—Unused
7PA13SWD (SWDIO)SWD (Tag-Connect)
8PA14SWD (SWCLK)SWD (Tag-Connect)
9PA12—I2C SCL for BME280 (DNP)
10PA11—I2C SDA for BME280 (DNP)
13PA7SPI1_MOSI*Unused
14PA6SPI1_MISO*Unused
15PA5SPI1_CLK*Unused
16PA4SPI1_NSS*Unused
19PA8—Unused
20PA9USART1_TX*Unused
25PA10USART1_RX*Unused
26PB2BATT_ADCBattery voltage divider input
27PB12SPI2_NSS*10kΩ pull-up (HF) or pull-down (LF) on module
29PA0CHRGTP4057 charge indicator (open-drain, active-low)
30PB5DONETP4057 charge complete (open-drain, active-low)
31PB4DIVIDER_CTRLDivider ground enable (output LOW = on, float = off)
32PB3SOLAR_ADCSolar voltage divider input

* Peripheral is used by bootloader so pin should be avoided as GPIO

Voltage Measurement

Two resistor dividers measure battery (PB2) and solar panel (PB3) voltage. PB4 drives the common ground rail of both dividers — floating it between measurements cuts quiescent current to zero.

ChannelADC pinRtopRbottomMultiplierFilter capSettle
BatteryPB2100kΩ200kΩ1.5×100nF34ms
SolarPB3100kΩ100kΩ2.0×100nF25ms

Wait at least 40ms after asserting PB4 before sampling either channel.

Contributing

Got ideas for improvements, feedback, or run into an issue? Feel free to open an issue and/or raise a PR against this repo.


This project is a sister project to russell, a balloon-borne tracker board.

Parts

38
QtyValueFootprintReferences
5100nFCapacitor_SMD:C_0402_1005MetricC1, C3, C7, C8, C9
3100kResistor_SMD:R_0402_1005MetricR7, R9, R10
31uFCapacitor_SMD:C_0402_1005MetricC4, C5, C6
34.7kResistor_SMD:R_0402_1005MetricR4, R5, R6
3MountingHole_PadMountingHole:MountingHole_3.2mm_M3_Pad_ViaH1, H2, H3
2KT-0805GLED_SMD:LED_0805_2012MetricD1, D2
2SW_PushButton_Switch_SMD:SW_SPST_TS-1088-xR020SW1, SW2
110kResistor_SMD:R_0402_1005MetricR1
110uFCapacitor_SMD:C_0402_1005MetricC2
11kResistor_SMD:R_0402_1005MetricR2
1200kResistor_SMD:R_0402_1005MetricR8
12kResistor_SMD:R_0402_1005MetricR3
1BME280Package_LGA:Bosch_LGA-8_2.5x2.5mm_P0.65mm_ClockwisePinNumberingU4
1Conn_01x02_MountingPinConnector_JST:JST_PH_S2B-PH-SM4-TB_1x02-1MP_P2.00mm_HorizontalJ1
1Conn_01x02_PinConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ2
1Conn_01x05_PinConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ4
1Conn_ARM_SWD_TagConnect_TC2030-NLConnector:Tag-Connect_TC2030-IDC-NL_2x03_P1.27mm_VerticalJ3
1KT-0805YLED_SMD:LED_0805_2012MetricD3
1RAK3172-xx-9-SM-xIRF_Module:RAK3172U1
1SolderJumper_2_OpenJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP1
1TP4057Package_TO_SOT_SMD:TSOT-23-6U3
1XC6206PxxxMRPackage_TO_SOT_SMD:SOT-23-3U2

The 36 most common of 38 parts.

Similar boards

  • 2 layers56.6 × 57.7 mmQuack, the printed circuit board in 3D

    Quack

    demik/quack

    Bluetooth and ADB Mouse Converter for Macintosh 128/512/Plus, Apple Lisa and Apple IIc

    52 parts21Apache-2.0
  • 4 layers250.4 × 131 mmPanel-16, the printed circuit board in 3D

    Panel-16

    geezacoleman/owl-driver-board

    Development of a board that receives GPIO input and allows on/off control of connected solenoids.

    939 parts14MIT
  • 4 layers57.4 × 49.9 mmPhoniesp32, the printed circuit board in 3D

    Phoniesp32

    butzist/phoniesp32

    A kid-friendly jukebox powered by the ESP32

    82 parts11MIT
  • 4 layers82.9 × 64.6 mmPico2-MSX, the printed circuit board in 3D

    Pico2-MSX

    Guimli/Pico2-MSX

    MultiROM for MSX based on Pico2

    67 parts9MIT
  • 4 layers30.1 × 30.1 mmMaglev driver, the printed circuit board in 3D

    Maglev driver

    Janky-Jingle-Crew/SouthPoleLevitator

    2025 Christmas card "South Pole Levitator"

    65 parts3
  • 2 layers80 × 59.7 mmDev board, the printed circuit board in 3D

    Dev board

    ray33ee/radiator_rust

    A radiator controller for the ESP32-S2 dev board

    39 parts1
  • 4 layers25.4 × 75 mmFiit esp32-kit pcb, the printed circuit board in 3D

    Fiit esp32-kit pcb

    999matej999/fiit-esp32-kit

    FIIT ESP32 Kit

    81 partsGPL-3.0
  • 4 layers45 × 62 mmDeye jk can gateway, the printed circuit board in 3D

    Deye jk can gateway

    butchja/esphome-jk-bms-can-PCB

    HW platform for https://github.com/Ackmaniac/esphome-jk-bms-can

    77 parts

Questions

How big is the Jungle buoy PCB?

It measures 21.4 × 38 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Jungle buoy use?

38 parts, built around the BME280, TP4057, KT-0805G and KT-0805Y. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Jungle buoy KiCad files?

From the meshmy/jungle-buoy repository on GitHub, at the commit this page was made from: the board is jungle-buoy.kicad_pcb and its schematic jungle-buoy.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Jungle buoy design in my own project?

Its repository publishes it under the CERN-OHL-S-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).