AnasSarkiz/magnetic-shutter-remote--01a0f81f
A compact USB‑C rechargeable battery device with BQ25185 charging, 3.3‑V regulation and protection, E73 Bluetooth control, temperature monitoring, status/charge LEDs, shutter/pair/power switches, and a mechanically enclosed Li‑Po battery with docking/antenna provisions.
- Version
- 0.1.9
- License
- unset
- Stars
- 0
enclosure-design/dimensions.ts
/** Millimetres; PCB centre = XY origin, PCB centre plane = Z 0.
* E1 is original mechanical engineering, not JJC enclosure geometry.
*/
export const dimensions = {
revision: "E1 mechanical concept / frozen R6 PCB",
board: { width: 36, length: 56, thickness: 1, bottomZ: -0.5, topZ: 0.5 },
body: {
width: 46,
length: 64,
cornerRadius: 6,
bottomZ: -5.5,
topZ: 13.1,
seamZ: 11.6,
wall: 1.4,
floor: 1.4,
lid: 1.5,
insideWidth: 43.2,
insideLength: 61.2,
printAllowance: 0.2,
},
shutter: {
x: -13.5,
y: -7,
switchTopZ: 2.5,
stemTipZ: 2.7,
capDiameter: 8.9,
ringOutsideDiameter: 11.8,
ringInsideDiameter: 10.3,
lidOpeningDiameter: 12.3,
topZ: 14.2,
softCapTopZ: 14.6,
},
pair: {
x: 13.5,
y: -4,
switchTopZ: 2.5,
stemTipZ: 2.7,
capDiameter: 5.6,
lidOpeningDiameter: 6.2,
},
statusLed: { x: 10, y: 0, collectorBottomZ: 1.9, guideBottomZ: 9.4 },
chargeLed: { x: 8, y: 26, collectorBottomZ: 1.9, windowDiameter: 2.8 },
power: { x: 15, y: 5, travel: 1.6, slotLength: 7.4, slotHeight: 3.2 },
usb: {
centreX: 0,
mouthY: 28.6601694,
mouthAxisZ: 1.98,
openingWidth: 12,
openingHeight: 9.5,
openingCentreZ: 2.5,
frontFaceY: 32,
recess: 3.3398306,
shoulderReliefWidth: 16.5,
shoulderReliefDepth: 3.8,
},
battery: {
part: "DTP401525(PHR)",
width: 15.5,
length: 27,
height: 4.2,
centreY: 7.8,
bottomZ: 2.8,
topZ: 7.0,
nestWidth: 16.6,
nestLength: 28,
carrierBottomZ: 2.4,
},
antenna: {
minimumY: -28,
maximumY: -22.9,
metalSeparationTarget: 15,
phoneMinimumY: 7,
nearestPhoneMetalGap: 29.9,
},
dock: {
width: 72,
length: 114,
cornerRadius: 17,
centreY: 42,
bottomZ: -12,
surfaceZ: -5.8,
railInsideWidth: 46.8,
railGapPerSide: 0.4,
magneticFaceGap: 0.3,
},
} as const;