Difference between revisions of "Quartz64 Model A Using a battery"
(Created page with "The Quartz64 Model A allows for it to be powered from a single-cell 3.7V lithium-polymer battery. Because of [https://en.wikipedia.org/wiki/UPS_Airlines_Flight_6 unfortunate incidents], batteries are not easy to ship internationally, so PINE Store does not sell a matching battery for the board. = Pin-Out = right The pins on the board are a JST PH-3 compatible header labelled ''+BAT-''. As one might guess, the positiv...") |
m (→Pin-Out: BAT -> VBAT) |
||
Line 5: | Line 5: | ||
[[File:Quartz64 Model A VBAT Connector Pinout.png|right]] | [[File:Quartz64 Model A VBAT Connector Pinout.png|right]] | ||
The pins on the board are a JST PH-3 compatible header labelled ''+ | 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 = | = Ways To Get A Battery = |
Revision as of 16:32, 8 February 2023
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 or Hozan P-707 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