Install the Arduino IDE and SODAQ One board using their excellent get started guide.
How to use battery power
The LoraWAN™ based Track-and-Trace device has been designed to run for a long period on a battery. The device has an onboard charging circuit for a LiPo battery and solar panel, so besides powering your device with the USB cable, you can also connect a battery and even a solar panel.
LiPo battery
Solder the included PIN headers onto the board and connect your LiPo Battery and/or Solar Panel following the PIN definitions
The picture below shows how the battery can be connected:
The Battery should be connected between pins 3,7V Li-on battery + and GND
A jumper must been placed between pins External switch and 3.7 Li-ion battery +
The image below shows the jumper (or small wire to connect both pins) and the battery.
Instead of using the jumper for the EXTERNAL_SWITCH, you can accomplish the same by setting ENABLE_PIN_IO to HIGH in your sketch.
Optional, the included Solar panel can be connected between the pins Solar Panel + (6V max) and GND.