steve/macropad-keyplate
Adafruit MacroPad RP2040 key plate (product 5128): 3 x 4 switch cut-outs, measured from Adafruit's published model.
3.7 V lithium battery packs with protection circuit, as sold by Adafruit: lithium polymer pouch packs from 100 to 2500 mAh and 18650 packs of one, two or three cells.
| 1 | """3.7 V lithium battery pack with protection circuit, as Adafruit sells them: a lithium polymer pouch pack or a pack of one, |
| 2 | two or three 18650 lithium ion cells side by side, at the outside size Adafruit publishes for it. The pack lies flat: its |
| 3 | underside on the XY plane, its length along Y, its width along X, centred on the origin in X and Y. One solid; the wires |
| 4 | and plug are not modelled. Dimensions and their sources in the README.""" |
| 5 | from steve import Model |
| 6 | |
| 7 | pack = "lipo-500mah" # Pack: chemistry and capacity |
| 8 | |
| 9 | # pack: shape (pouch: a flat block; round: 18650 cells side by side in one sleeve), width, length and thickness in mm, from |
| 10 | # the "Technical Details" of Adafruit's product page for that product number (pages read 2026-11-14). |
| 11 | PACKS = { |
| 12 | "lipo-100mah": {"shape": "pouch", "w": 11.5, "l": 31, "t": 3.8}, # product 1570: "Size: 11.5mm x 31 x 3.8mm" |
| 13 | "lipo-150mah": {"shape": "pouch", "w": 19.75, "l": 26.02, "t": 3.8}, # product 1317: "Size: 19.75mm x 26.02mm x 3.8mm" |
| 14 | "lipo-400mah": {"shape": "pouch", "w": 17, "l": 36, "t": 7.8}, # product 3898: "Size: ~36mm x 17mm x 7.8mm" |
| 15 | "lipo-500mah": {"shape": "pouch", "w": 29, "l": 36, "t": 4.75}, # product 1578: "Size: 29mm x 36mm x 4.75mm" |
| 16 | "lipo-2000mah": {"shape": "pouch", "w": 36, "l": 60, "t": 7}, # product 2011: "Dimensions: 60mm x 36mm x 7mm" |
| 17 | "lipo-2500mah": {"shape": "pouch", "w": 50, "l": 60, "t": 7.3}, # product 328: "Size: ... (50mm x 60mm x 7.3mm)" |
| 18 | "18650-2200mah": {"shape": "round", "w": 18, "l": 69, "t": 18}, # product 1781: "Dimensions: 69mm x Diameter18mm" |
| 19 | "18650-4400mah": {"shape": "round", "w": 37, "l": 69, "t": 18}, # product 354: "Dimensions: 69mm x 37mm x 18mm" |
| 20 | "18650-6600mah": {"shape": "round", "w": 54, "l": 69, "t": 18}, # product 353: "Dimensions: 69mm x 54mm x 18mm" |
| 21 | } |
| 22 | |
| 23 | if pack not in PACKS: |
| 24 | raise ValueError(f"no pack {pack!r}: {', '.join(PACKS)}") |
| 25 | P = PACKS[pack] |
| 26 | w, l, t = P["w"], P["l"], P["t"] |
| 27 | |
| 28 | model = Model() |
| 29 | if P["shape"] == "pouch": |
| 30 | model.box("pack", w, l, t, at=(0, 0, t / 2), name="Pack") |
| 31 | else: |
| 32 | # The sleeve around the cells: round sides of the pack's thickness, flat across the cells in between. |
| 33 | half = (w - t) / 2 |
| 34 | model.cylinder("side_1", t / 2, l, direction=(0, 1, 0), at=(-half, -l / 2, t / 2), name="Pack") |
| 35 | if half > 0: |
| 36 | model.cylinder("side_2", t / 2, l, direction=(0, 1, 0), at=(half, -l / 2, t / 2), name="Pack side") |
| 37 | model.box("middle", w - t, l, t, at=(0, 0, t / 2), name="Pack middle") |
| 38 | result = model.result() |
| 39 |
| 1 | name = "steve/lithium-battery-pack" |
| 2 | version = "1.0.0" |
| 3 | runtime = "steve" |
| 4 | license = "MIT" |
| 5 | summary = "3.7 V lithium battery packs with protection circuit, as sold by Adafruit: lithium polymer pouch packs from 100 to 2500 mAh and 18650 packs of one, two or three cells." |
| 6 | description = """3.7 V lithium battery packs with protection circuit, as Adafruit sells them: lithium polymer pouch packs of 100, 150, 400, 500, 2000 and 2500 mAh, and 18650 lithium ion packs of 2200, 4400 and 6600 mAh. One solid at the outside size Adafruit publishes, lying flat; the wires and plug are not modelled. See the README.""" |
| 7 | tags = ["battery", "lithium-polymer", "lipo", "li-ion", "18650", "battery-pack", "pkcell", "adafruit", "electronics"] |
| 8 | |
| 9 | [parameters.pack] |
| 10 | type = "choice" |
| 11 | default = "lipo-500mah" |
| 12 | choices = ["lipo-100mah", "lipo-150mah", "lipo-400mah", "lipo-500mah", "lipo-2000mah", "lipo-2500mah", "18650-2200mah", "18650-4400mah", "18650-6600mah"] |
| 13 | label = "Pack" |
| 14 | description = "Chemistry and capacity: a lithium polymer pouch pack (lipo) or a pack of one (2200 mAh), two (4400 mAh) or three (6600 mAh) 18650 lithium ion cells." |
| 15 | |
| 16 | [[presets]] |
| 17 | id = "lipo-100mah" |
| 18 | title = "Adafruit 1570 lithium polymer pack, 3.7 V 100 mAh, 11.5 x 31 x 3.8" |
| 19 | params = { pack = "lipo-100mah" } |
| 20 | aliases = ["Adafruit 1570", "Adafruit 1570 battery", "100mAh 3.7V lithium battery", "100 mAh LiPo battery", "PKCELL LP401230 100mAh"] |
| 21 | standard = "Adafruit" |
| 22 | |
| 23 | [[presets]] |
| 24 | id = "lipo-150mah" |
| 25 | title = "Adafruit 1317 lithium polymer pack, 3.7 V 150 mAh, 19.75 x 26.02 x 3.8" |
| 26 | params = { pack = "lipo-150mah" } |
| 27 | aliases = ["Adafruit 1317", "Adafruit 1317 battery", "150mAh 3.7V lithium battery", "150 mAh LiPo battery", "PKCELL LP402025 150mAh"] |
| 28 | standard = "Adafruit" |
| 29 | |
| 30 | [[presets]] |
| 31 | id = "lipo-400mah" |
| 32 | title = "Adafruit 3898 lithium polymer pack, 3.7 V 400 mAh, 17 x 36 x 7.8" |
| 33 | params = { pack = "lipo-400mah" } |
| 34 | aliases = ["3898 400mAh Battery", "Adafruit 3898", "Adafruit 3898 battery", "400mAh 3.7V lithium battery", "400 mAh LiPo battery", "PKCELL LP801735 400mAh"] |
| 35 | standard = "Adafruit" |
| 36 | |
| 37 | [[presets]] |
| 38 | id = "lipo-500mah" |
| 39 | title = "Adafruit 1578 lithium polymer pack, 3.7 V 500 mAh, 29 x 36 x 4.75" |
| 40 | params = { pack = "lipo-500mah" } |
| 41 | aliases = ["Adafruit 1578", "Adafruit 1578 battery", "500mAh 3.7V lithium battery", "500 mAh LiPo battery", "PKCELL LP503035 500mAh"] |
| 42 | standard = "Adafruit" |
| 43 | |
| 44 | [[presets]] |
| 45 | id = "lipo-2000mah" |
| 46 | title = "Adafruit 2011 lithium polymer pack, 3.7 V 2000 mAh, 36 x 60 x 7" |
| 47 | params = { pack = "lipo-2000mah" } |
| 48 | aliases = ["2000mAh Battery", "Adafruit 2011", "Adafruit 2011 battery", "2000mAh 3.7V lithium battery", "2000 mAh LiPo battery", "PKCELL LP803860 2000mAh"] |
| 49 | standard = "Adafruit" |
| 50 | |
| 51 | [[presets]] |
| 52 | id = "18650-2200mah" |
| 53 | title = "Adafruit 1781 lithium ion 18650 pack, one cell, 3.7 V 2200 mAh, 18 x 69 x 18" |
| 54 | params = { pack = "18650-2200mah" } |
| 55 | aliases = ["Adafruit 1781", "Adafruit 1781 battery", "2200mAh 3.7V lithium battery", "2200 mAh 18650 battery", "PKCELL ICR18650 2200mAh"] |
| 56 | standard = "Adafruit" |
| 57 | |
| 58 | [[presets]] |
| 59 | id = "18650-6600mah" |
| 60 | title = "Adafruit 353 lithium ion 18650 pack, three cells, 3.7 V 6600 mAh, 54 x 69 x 18" |
| 61 | params = { pack = "18650-6600mah" } |
| 62 | aliases = ["Adafruit 353", "Adafruit 353 battery", "6600mAh 3.7V lithium battery", "6600 mAh 18650 battery", "PKCELL ICR18650 6600mAh"] |
| 63 | standard = "Adafruit" |
| 64 | |
| 65 | [[presets]] |
| 66 | id = "lipo-2500mah" |
| 67 | title = "Adafruit 328 lithium polymer pack, 3.7 V 2500 mAh, 50 x 60 x 7.3" |
| 68 | params = { pack = "lipo-2500mah" } |
| 69 | aliases = ["Adafruit 328", "Adafruit 328 battery", "2500mAh 3.7V lithium battery", "2500 mAh LiPo battery", "PKCELL LP785060 2500mAh"] |
| 70 | standard = "Adafruit" |
| 71 | |
| 72 | [[presets]] |
| 73 | id = "18650-4400mah" |
| 74 | title = "Adafruit 354 lithium ion 18650 pack, two cells, 3.7 V 4400 mAh, 37 x 69 x 18" |
| 75 | params = { pack = "18650-4400mah" } |
| 76 | aliases = ["Adafruit 354", "Adafruit 354 battery", "4400mAh 3.7V lithium battery", "4400 mAh 18650 battery", "PKCELL ICR18650 4400mAh"] |
| 77 | standard = "Adafruit" |
| 78 |
A 3.7 V rechargeable lithium battery pack with its protection circuit, as Adafruit sells them: six lithium polymer pouch packs from 100 to 2500 mAh and three packs of one, two or three 18650 lithium ion cells. The model is one solid at the pack's outside size, for checking that a pack fits an enclosure.
The pack lies flat with its underside on the XY plane, its length along Y and its width along X, centred on the origin in X and Y. A pouch pack is a plain block. An 18650 pack is the sleeve around its cells: a cylinder for one cell, and for two or three cells side by side a flat pack with round sides.
Parameter: pack, the chemistry and capacity.
Adafruit's product page for each product number (www.adafruit.com/product/ and the number), section "Technical Details", read 2026-11-14. Each size below is the page's own figure.
| Pack | Adafruit product | Page's size | Width x length x thickness here | Page's weight |
|---|---|---|---|---|
| lipo-100mah | 1570 | "11.5mm x 31 x 3.8mm" | 11.5 x 31 x 3.8 | 3 g |
| lipo-150mah | 1317 | "19.75mm x 26.02mm x 3.8mm" | 19.75 x 26.02 x 3.8 | 4.65 g |
| lipo-400mah | 3898 | "~36mm x 17mm x 7.8mm" | 17 x 36 x 7.8 | 8.2 g |
| lipo-500mah | 1578 | "29mm x 36mm x 4.75mm" | 29 x 36 x 4.75 | 10.5 g |
| lipo-2000mah | 2011 | "60mm x 36mm x 7mm" | 36 x 60 x 7 | 34 g |
| lipo-2500mah | 328 | "50mm x 60mm x 7.3mm" | 50 x 60 x 7.3 | 50 g |
| 18650-2200mah | 1781 | "69mm x Diameter18mm" | 18 x 69 x 18 | 46 g |
| 18650-4400mah | 354 | "69mm x 37mm x 18mm" | 37 x 69 x 18 | 95 g |
| 18650-6600mah | 353 | "69mm x 54mm x 18mm" | 54 x 69 x 18 | 155 g |
The pages give no tolerance, and the page for product 3898 marks its size as approximate. A lithium polymer pack also swells a little with age and charge, so leave room around it.
The maker's limits. Each page links PKCELL's technical specification for the pack, whose last page is a drawing with the pack's size limits. They are not the same figures as the page's, and for some packs the page's size is outside the drawing's limits (marked). The model uses the page's size; allow for the larger of the two when sizing a pocket.
| Pack | PKCELL specification | Drawing: thickness x width x length | Outside the drawing's limits |
|---|---|---|---|
| lipo-100mah | Li-Polymer 401230 105mAh 3.7V, QA.S.0228 edition A, 2014-09-09, page 5 | 4.0 ±0.3 x 12 ±0.3 x 30 ±2 | width 11.5 |
| lipo-150mah | Li-Polymer 402025 150mAh 3.7V, QA.S.0228 edition A, 2014-07-28, page 5 | 4.0 ±0.3 x 20 ±0.3 x 25 ±0.3 | length 26.02 |
| lipo-400mah | LIPO 801735 400mAh 3.7V, 2016-11-29, page 8 | max 8.2 x max 17.5 x max 37.0 | none |
| lipo-500mah | Li-Polymer 503035 500mAh 3.7V, QA.S.0228 edition A, 2014-08-21, page 5 | 5.0 ±0.1 x 30 ±0.1 x 35 ±0.1 | all three: 4.75, 29, 36 |
| lipo-2000mah | Li-Polymer 803860 2000mAh 3.7V, QA.S.0228 edition A, 2014-06-03, page 5 | max 8.5 x max 38.5 x max 62 | none |
| lipo-2500mah | LIPO 785060 2500mAh 3.7V, 2019-05-10, page 8 | max 8.1 x max 50.5 x max 62.5 | none |
| 18650-2200mah | ICR18650 2200mAh 3.7V, QA.S.0221 edition A/0, 2014-07-28, page 7 | diameter at most 18.6, length at most 67.50 | length 69 |
| 18650-4400mah | ICR18650 4400mAh 3.7V, QA.S.0221 edition A/0, 2014-07-28, page 7 | max 18.6 x max 37.5 x max 65.4 | length 69 |
| 18650-6600mah | ICR18650 6600mAh 3.7V 1S3P, QA.S.0221 edition A/0, 2014-07-30, page 7 | 18.3 x 55.5 x 69 | none stated; the page's width is 54 |
Not modelled. The two wires and the JST PH 2-pin plug (some pages give a lead length: 25 mm for product 3898, 102 mm for 1578, 105 mm for 1570 and 127.5 mm for 1317; none gives wire or plug dimensions), the protection circuit board under the wrap at the wire end, the pouch's folded seams and the tape. The revision histories on several pouch pack pages (2022 to 2024) say the lead is now taped to the top of the pack, which adds to the thickness there; the pages don't say by how much.
Proportions, for looks only. The 18650 packs of two and three cells are drawn as one smooth sleeve with round sides and flat faces; the real wrap dips between the cells. The pouch packs have square edges here; the real ones are rounded. Neither changes the outside size.
Materials and mass. No material is set: a pack is cells, a circuit board, wrap and tape, and no single material describes it. Use the page's weight in the first table. The model's volumes run from 1.4 cm³ (lipo-100mah) to 62.3 cm³ (18650-6600mah). The 18650 specifications call the wrap blue PVC.
The old catalogue's Adafruit battery entries 1570, 1317, 3898, 1578, 2011, 1781 and 353 map to this part. Their reference models were measured for overall size only:
| Product | Reference model | Page |
|---|---|---|
| 1570 | 11.5 x 31.0 x 3.8 | 11.5 x 31 x 3.8 |
| 1317 | 19.75 x 26.02 x 3.8 | 19.75 x 26.02 x 3.8 |
| 3898 | 17.0 x 36.0 x 7.6 | 17 x 36 x 7.8 |
| 1578 | 29.0 x 36.0 x 4.75 | 29 x 36 x 4.75 |
| 2011 | 37.0 x 60.0 x 7.5 | 36 x 60 x 7 |
| 1781 | diameter 18.0 x 69.0 | diameter 18 x 69 |
| 353 | 54.0 x 70.0 x 18.0 | 54 x 69 x 18 |
Two entries are left out because their reference model is another size than the page gives, by more than 0.5 mm or 3 %: product 328 (model 47.7 x 61.0 x 7.9, page 50 x 60 x 7.3) and product 354 (model's pack 36.6 x 66.0 x 18.0, 76.0 long with its wire stubs; page 37 x 69 x 18). Both packs are still offered here at the page's size.
| 1 | # Lithium battery pack |
| 2 | |
| 3 | A 3.7 V rechargeable lithium battery pack with its protection circuit, as Adafruit sells them: six lithium polymer pouch packs from 100 to 2500 mAh and three packs of one, two or three 18650 lithium ion cells. The model is one solid at the pack's outside size, for checking that a pack fits an enclosure. |
| 4 | |
| 5 | The pack lies flat with its underside on the XY plane, its length along Y and its width along X, centred on the origin in X and Y. A pouch pack is a plain block. An 18650 pack is the sleeve around its cells: a cylinder for one cell, and for two or three cells side by side a flat pack with round sides. |
| 6 | |
| 7 | Parameter: `pack`, the chemistry and capacity. |
| 8 | |
| 9 | ## Source |
| 10 | |
| 11 | Adafruit's product page for each product number (www.adafruit.com/product/ and the number), section "Technical Details", read 2026-11-14. Each size below is the page's own figure. |
| 12 | |
| 13 | | Pack | Adafruit product | Page's size | Width x length x thickness here | Page's weight | |
| 14 | |---|---|---|---|---| |
| 15 | | lipo-100mah | 1570 | "11.5mm x 31 x 3.8mm" | 11.5 x 31 x 3.8 | 3 g | |
| 16 | | lipo-150mah | 1317 | "19.75mm x 26.02mm x 3.8mm" | 19.75 x 26.02 x 3.8 | 4.65 g | |
| 17 | | lipo-400mah | 3898 | "~36mm x 17mm x 7.8mm" | 17 x 36 x 7.8 | 8.2 g | |
| 18 | | lipo-500mah | 1578 | "29mm x 36mm x 4.75mm" | 29 x 36 x 4.75 | 10.5 g | |
| 19 | | lipo-2000mah | 2011 | "60mm x 36mm x 7mm" | 36 x 60 x 7 | 34 g | |
| 20 | | lipo-2500mah | 328 | "50mm x 60mm x 7.3mm" | 50 x 60 x 7.3 | 50 g | |
| 21 | | 18650-2200mah | 1781 | "69mm x Diameter18mm" | 18 x 69 x 18 | 46 g | |
| 22 | | 18650-4400mah | 354 | "69mm x 37mm x 18mm" | 37 x 69 x 18 | 95 g | |
| 23 | | 18650-6600mah | 353 | "69mm x 54mm x 18mm" | 54 x 69 x 18 | 155 g | |
| 24 | |
| 25 | The pages give no tolerance, and the page for product 3898 marks its size as approximate. A lithium polymer pack also swells a little with age and charge, so leave room around it. |
| 26 | |
| 27 | **The maker's limits.** Each page links PKCELL's technical specification for the pack, whose last page is a drawing with the pack's size limits. They are not the same figures as the page's, and for some packs the page's size is outside the drawing's limits (marked). The model uses the page's size; allow for the larger of the two when sizing a pocket. |
| 28 | |
| 29 | | Pack | PKCELL specification | Drawing: thickness x width x length | Outside the drawing's limits | |
| 30 | |---|---|---|---| |
| 31 | | lipo-100mah | Li-Polymer 401230 105mAh 3.7V, QA.S.0228 edition A, 2014-09-09, page 5 | 4.0 ±0.3 x 12 ±0.3 x 30 ±2 | width 11.5 | |
| 32 | | lipo-150mah | Li-Polymer 402025 150mAh 3.7V, QA.S.0228 edition A, 2014-07-28, page 5 | 4.0 ±0.3 x 20 ±0.3 x 25 ±0.3 | length 26.02 | |
| 33 | | lipo-400mah | LIPO 801735 400mAh 3.7V, 2016-11-29, page 8 | max 8.2 x max 17.5 x max 37.0 | none | |
| 34 | | lipo-500mah | Li-Polymer 503035 500mAh 3.7V, QA.S.0228 edition A, 2014-08-21, page 5 | 5.0 ±0.1 x 30 ±0.1 x 35 ±0.1 | all three: 4.75, 29, 36 | |
| 35 | | lipo-2000mah | Li-Polymer 803860 2000mAh 3.7V, QA.S.0228 edition A, 2014-06-03, page 5 | max 8.5 x max 38.5 x max 62 | none | |
| 36 | | lipo-2500mah | LIPO 785060 2500mAh 3.7V, 2019-05-10, page 8 | max 8.1 x max 50.5 x max 62.5 | none | |
| 37 | | 18650-2200mah | ICR18650 2200mAh 3.7V, QA.S.0221 edition A/0, 2014-07-28, page 7 | diameter at most 18.6, length at most 67.50 | length 69 | |
| 38 | | 18650-4400mah | ICR18650 4400mAh 3.7V, QA.S.0221 edition A/0, 2014-07-28, page 7 | max 18.6 x max 37.5 x max 65.4 | length 69 | |
| 39 | | 18650-6600mah | ICR18650 6600mAh 3.7V 1S3P, QA.S.0221 edition A/0, 2014-07-30, page 7 | 18.3 x 55.5 x 69 | none stated; the page's width is 54 | |
| 40 | |
| 41 | **Not modelled.** The two wires and the JST PH 2-pin plug (some pages give a lead length: 25 mm for product 3898, 102 mm for 1578, 105 mm for 1570 and 127.5 mm for 1317; none gives wire or plug dimensions), the protection circuit board under the wrap at the wire end, the pouch's folded seams and the tape. The revision histories on several pouch pack pages (2022 to 2024) say the lead is now taped to the top of the pack, which adds to the thickness there; the pages don't say by how much. |
| 42 | |
| 43 | **Proportions, for looks only.** The 18650 packs of two and three cells are drawn as one smooth sleeve with round sides and flat faces; the real wrap dips between the cells. The pouch packs have square edges here; the real ones are rounded. Neither changes the outside size. |
| 44 | |
| 45 | **Materials and mass.** No material is set: a pack is cells, a circuit board, wrap and tape, and no single material describes it. Use the page's weight in the first table. The model's volumes run from 1.4 cm³ (lipo-100mah) to 62.3 cm³ (18650-6600mah). The 18650 specifications call the wrap blue PVC. |
| 46 | |
| 47 | ## Catalogue models |
| 48 | |
| 49 | The old catalogue's Adafruit battery entries 1570, 1317, 3898, 1578, 2011, 1781 and 353 map to this part. Their reference models were measured for overall size only: |
| 50 | |
| 51 | | Product | Reference model | Page | |
| 52 | |---|---|---| |
| 53 | | 1570 | 11.5 x 31.0 x 3.8 | 11.5 x 31 x 3.8 | |
| 54 | | 1317 | 19.75 x 26.02 x 3.8 | 19.75 x 26.02 x 3.8 | |
| 55 | | 3898 | 17.0 x 36.0 x 7.6 | 17 x 36 x 7.8 | |
| 56 | | 1578 | 29.0 x 36.0 x 4.75 | 29 x 36 x 4.75 | |
| 57 | | 2011 | 37.0 x 60.0 x 7.5 | 36 x 60 x 7 | |
| 58 | | 1781 | diameter 18.0 x 69.0 | diameter 18 x 69 | |
| 59 | | 353 | 54.0 x 70.0 x 18.0 | 54 x 69 x 18 | |
| 60 | |
| 61 | Two entries are left out because their reference model is another size than the page gives, by more than 0.5 mm or 3 %: product 328 (model 47.7 x 61.0 x 7.9, page 50 x 60 x 7.3) and product 354 (model's pack 36.6 x 66.0 x 18.0, 76.0 long with its wire stubs; page 37 x 69 x 18). Both packs are still offered here at the page's size. |
| 62 |
3.7 V lithium battery packs with protection circuit, as Adafruit sells them: lithium polymer pouch packs of 100, 150, 400, 500, 2000 and 2500 mAh, and 18650 lithium ion packs of 2200, 4400 and 6600 mAh. One solid at the outside size Adafruit publishes, lying flat; the wires and plug are not modelled. See the README.
A 3.7 V rechargeable lithium battery pack with its protection circuit, as Adafruit sells them: six lithium polymer pouch packs from 100 to 2500 mAh and three packs of one, two or three 18650 lithium ion cells. The model is one solid at the pack's outside size, for checking that a pack fits an enclosure.
The pack lies flat with its underside on the XY plane, its length along Y and its width along X, centred on the origin in X and Y. A pouch pack is a plain block. An 18650 pack is the sleeve around its cells: a cylinder for one cell, and for two or three cells side by side a flat pack with round sides.
Parameter: pack, the chemistry and capacity.
Adafruit's product page for each product number (www.adafruit.com/product/ and the number), section "Technical Details", read 2026-11-14. Each size below is the page's own figure.
| Pack | Adafruit product | Page's size | Width x length x thickness here | Page's weight |
|---|---|---|---|---|
| lipo-100mah | 1570 | "11.5mm x 31 x 3.8mm" | 11.5 x 31 x 3.8 | 3 g |
| lipo-150mah | 1317 | "19.75mm x 26.02mm x 3.8mm" | 19.75 x 26.02 x 3.8 | 4.65 g |
| lipo-400mah | 3898 | "~36mm x 17mm x 7.8mm" | 17 x 36 x 7.8 | 8.2 g |
| lipo-500mah | 1578 | "29mm x 36mm x 4.75mm" | 29 x 36 x 4.75 | 10.5 g |
| lipo-2000mah | 2011 | "60mm x 36mm x 7mm" | 36 x 60 x 7 | 34 g |
| lipo-2500mah | 328 | "50mm x 60mm x 7.3mm" | 50 x 60 x 7.3 | 50 g |
| 18650-2200mah | 1781 | "69mm x Diameter18mm" | 18 x 69 x 18 | 46 g |
| 18650-4400mah | 354 | "69mm x 37mm x 18mm" | 37 x 69 x 18 | 95 g |
| 18650-6600mah | 353 | "69mm x 54mm x 18mm" | 54 x 69 x 18 | 155 g |
The pages give no tolerance, and the page for product 3898 marks its size as approximate. A lithium polymer pack also swells a little with age and charge, so leave room around it.
The maker's limits. Each page links PKCELL's technical specification for the pack, whose last page is a drawing with the pack's size limits. They are not the same figures as the page's, and for some packs the page's size is outside the drawing's limits (marked). The model uses the page's size; allow for the larger of the two when sizing a pocket.
| Pack | PKCELL specification | Drawing: thickness x width x length | Outside the drawing's limits |
|---|---|---|---|
| lipo-100mah | Li-Polymer 401230 105mAh 3.7V, QA.S.0228 edition A, 2014-09-09, page 5 | 4.0 ±0.3 x 12 ±0.3 x 30 ±2 | width 11.5 |
| lipo-150mah | Li-Polymer 402025 150mAh 3.7V, QA.S.0228 edition A, 2014-07-28, page 5 | 4.0 ±0.3 x 20 ±0.3 x 25 ±0.3 | length 26.02 |
| lipo-400mah | LIPO 801735 400mAh 3.7V, 2016-11-29, page 8 | max 8.2 x max 17.5 x max 37.0 | none |
| lipo-500mah | Li-Polymer 503035 500mAh 3.7V, QA.S.0228 edition A, 2014-08-21, page 5 | 5.0 ±0.1 x 30 ±0.1 x 35 ±0.1 | all three: 4.75, 29, 36 |
| lipo-2000mah | Li-Polymer 803860 2000mAh 3.7V, QA.S.0228 edition A, 2014-06-03, page 5 | max 8.5 x max 38.5 x max 62 | none |
| lipo-2500mah | LIPO 785060 2500mAh 3.7V, 2019-05-10, page 8 | max 8.1 x max 50.5 x max 62.5 | none |
| 18650-2200mah | ICR18650 2200mAh 3.7V, QA.S.0221 edition A/0, 2014-07-28, page 7 | diameter at most 18.6, length at most 67.50 | length 69 |
| 18650-4400mah | ICR18650 4400mAh 3.7V, QA.S.0221 edition A/0, 2014-07-28, page 7 | max 18.6 x max 37.5 x max 65.4 | length 69 |
| 18650-6600mah | ICR18650 6600mAh 3.7V 1S3P, QA.S.0221 edition A/0, 2014-07-30, page 7 | 18.3 x 55.5 x 69 | none stated; the page's width is 54 |
Not modelled. The two wires and the JST PH 2-pin plug (some pages give a lead length: 25 mm for product 3898, 102 mm for 1578, 105 mm for 1570 and 127.5 mm for 1317; none gives wire or plug dimensions), the protection circuit board under the wrap at the wire end, the pouch's folded seams and the tape. The revision histories on several pouch pack pages (2022 to 2024) say the lead is now taped to the top of the pack, which adds to the thickness there; the pages don't say by how much.
Proportions, for looks only. The 18650 packs of two and three cells are drawn as one smooth sleeve with round sides and flat faces; the real wrap dips between the cells. The pouch packs have square edges here; the real ones are rounded. Neither changes the outside size.
Materials and mass. No material is set: a pack is cells, a circuit board, wrap and tape, and no single material describes it. Use the page's weight in the first table. The model's volumes run from 1.4 cm³ (lipo-100mah) to 62.3 cm³ (18650-6600mah). The 18650 specifications call the wrap blue PVC.
The old catalogue's Adafruit battery entries 1570, 1317, 3898, 1578, 2011, 1781 and 353 map to this part. Their reference models were measured for overall size only:
| Product | Reference model | Page |
|---|---|---|
| 1570 | 11.5 x 31.0 x 3.8 | 11.5 x 31 x 3.8 |
| 1317 | 19.75 x 26.02 x 3.8 | 19.75 x 26.02 x 3.8 |
| 3898 | 17.0 x 36.0 x 7.6 | 17 x 36 x 7.8 |
| 1578 | 29.0 x 36.0 x 4.75 | 29 x 36 x 4.75 |
| 2011 | 37.0 x 60.0 x 7.5 | 36 x 60 x 7 |
| 1781 | diameter 18.0 x 69.0 | diameter 18 x 69 |
| 353 | 54.0 x 70.0 x 18.0 | 54 x 69 x 18 |
Two entries are left out because their reference model is another size than the page gives, by more than 0.5 mm or 3 %: product 328 (model 47.7 x 61.0 x 7.9, page 50 x 60 x 7.3) and product 354 (model's pack 36.6 x 66.0 x 18.0, 76.0 long with its wire stubs; page 37 x 69 x 18). Both packs are still offered here at the page's size.
Adafruit MacroPad RP2040 key plate (product 5128): 3 x 4 switch cut-outs, measured from Adafruit's published model.
PCB header for pluggable terminal blocks, Phoenix Contact: MSTBA 2,5, MC 1,5, GMSTBA 2,5; vertical MSTBVA, MCV, GMSTBVA; MC/MCV with threaded flange (GF).
Through-hole TO packages standing on the board: TO-220AB, TO-220AC, TO-220F, TO-262, TO-251AA, TO-247AC, TO-126, TO-92 and the TO-3, TO-18, TO-39 and TO-46 metal cans, from the makers' drawings.
Pin header, 2.54 mm and 2.00 mm pitch in one or two rows, 1.27 mm in two rows, straight or right-angle through-hole, or 1.27 mm surface-mount.