Quartz64 Model A Using a battery
The Quartz64 Model A allows for it to be powered from a single-cell 3.7V lithium-polymer battery. Because of unfortunate incidents, batteries are not easy to ship internationally, so PINE Store does not sell a matching battery for the board.
Pin-out
The pins on the board are a JST PH-3 compatible header labelled +VBAT-. As one might guess, the positive wire should be towards the +, and the ground wire towards -. The center pin of the connector is for a temperature probe.
Ways to get a battery
We will now go into various ways one might go about getting a working battery.
Crimping one yourself
You will need:
- an Engineer PA-20 (Amazon Search, eBay Search) or Hozan P-707 (Amazon Search, eBay Search) or similar crimp tool (<$80, good to have around anyway)
- JST PHR-3 receptacles (~$0.05 on digikey)
- 3× JST SPH-002T-P0.5L crimp terminals (~$0.03 on digikey per terminal)
- a single-cell 3.7V lithium-polymer battery, ideally with a temperature probe
- 2800 mAh Renata ICP606168PRT on Conrad Germany, Conrad Switzerland
- 2000 mAh Adafruit on Adafruit US (no temperature probe, pre-crimped with JST PHR-2; just lift up the plastic tabs and pull out the terminals and shove them back into a PHR-3 connector)
- Aliexpress: try keywords "3.7v lithium battery temperature probe"
Crimp the terminals onto the wires, crimp the strain relief onto the insulation, slide them into the connector until they firmly click in place.
PINE64 18650 battery case
You will need:
- PINE64 Lithium Battery Casing
- an 18650 sized lithium battery (not LiFePo4!)
TODO: Get one of these and document how to use them
Using the battery
Hardware
- Ensure the wires in the connector are in the right order.
- Turn off your Quartz64 Model A.
- Remove the BAT ON/OFF jumper.
- Plug in your battery.
- It is now ready to use if your device tree has been set up correctly.
Software
For the battery to be correctly detected, you will need to edit the device tree.
TODO: Either write this section detailing how to edit the device tree, or get FDT overlays working and write about how to make an overlay