From the Loftsmith Workshop

Raspberry Pi Zero 2 W portable camera for Camera Module 3

A pocket camera you build around a Raspberry Pi Zero 2 W and Camera Module 3. A ribbed grip on one side gives your fingers something to hold, and there's a round lens opening on the front. Change the battery size and grip depth to suit your parts.

5 parts · 83 g · 111 × 42 × 72 mm

by Loftsmith Workshop

Boxy handheld camera in tan and grey with a ribbed side grip, round lens opening and a small top button
Loading the 3D view
Loading the 3D view
No adjustable sizes

Ask for the sizes you want to tweak, e.g. “make the width adjustable”.

Parts

  • body · PETG · Front face down, open rim up; no supports

    About 48 g, 67 min at 2 walls/15%. 110.8 x 69.5 x 28.0 mm at defaults. PETG because the Pi and the charging board warm the closed case. Holds the camera and Pi posts, the battery cradle, the charge-board seat, the USB-C and switch openings in the right wall, and the vent slots. Press four M2.5 heat-

  • faceplate · PETG · Flat back down; grip and lens bezel face up

    About 22 g, 33 min at 2 walls/15%. Accent colour. Fluted grip and lens bezel; the bezel bore follows the lens's field of view.

  • battery-lid · PETG · Flat, back face down

    About 4 g, 9 min. A 1.6 mm plate screwed over the cell with two M2 screws; it sits between the cell and the screen.

  • back-cover · PETG · Outer face down; screen locators face up

    About 10 g, 17 min at 2 walls/15%. 45 degree chamfers on the outer edge and window bevel so it prints without supports.

  • shutter-button · PETG · Top face down

    Under 1 g, about 5 min. Accent colour. Captive plunger: its flange sits under the top wall and it rests on the tactile switch.

Print settings

Layer height
0.2 mm
Walls
3 recommended (the stats line uses 2)
Infill
15%
Supports
None
Notes
PETG. At the page defaults (2 walls, 15% infill) the five parts take about 86 g and 2 h 16 min. With the recommended 3 walls and 15% infill, which gives the tapped posts, clamps and insert columns more material, they take about 115 g and 2 h 58 min. Every part fits a 180 mm bed.

Hardware

  • Raspberry Pi Zero 2 W · Mounted components-side toward the front. It is powered from the boost board through the slide switch to its 5 V and GND GPIO pins.
  • Raspberry Pi Camera Module 3 (standard or Wide) · Set the Camera Module 3 lens choice to match.
  • Pi Zero camera cable (22-pin to 15-pin) · Shortest you can get; it folds once at 45 degrees below the camera.
  • 2.8 in or 3.5 in SPI display module · Modeled at 86 x 50 x 5 mm (2.8 in) and 85.6 x 56 x 5.5 mm (3.5 in). Set the 'Room behind the screen' slider to 9 mm to keep a pin header, or leave it at 0.5 mm and solder wires.
  • Protected 1S flat LiPo cell, up to 50 x 30 x 6 mm · Must have its own protection circuit. Default slider size is 50 x 30 x 5 mm.
  • 1S LiPo USB-C charge and 5 V boost module · Modeled as a 30 x 17 mm PCB, parts up to 3.4 mm tall, USB-C port centred on one short end. Check your module against these sizes.
  • Slide switch, SS12D00 type (8.6 x 3.6 x 3.5 mm body, 4 mm lever) · Power switch between the boost output and the Pi.
  • 6 x 6 x 5 mm tactile switch · Shutter switch, sits in the cradle under the button.
  • 1/4-20 hex nut (7/16 in across flats) · Tripod thread; slides into the floor slot.
  • 4 × M2.5 heat-set insert, 4-4.5 mm long · Corner columns for the back cover.
  • 4 × M2.5 x 6 countersunk screw · Back cover.
  • 4 × M2.5 x 5 screw · Pi Zero 2 W into its tapped posts.
  • 14 × M2 x 6 screw · 4 hold the camera, 4 go from inside into the faceplate, 4 clamp the charge board, 2 hold the battery lid.
  • 4 × M2 flat washer, 5 mm OD · Under the four charge-board clamp screws.

Assembly

  1. Press four M2.5 heat-set inserts into the corner columns at the body's rim.
  2. Hold the faceplate to the body's front and drive four M2 x 6 screws from inside, through the counterbored holes into the faceplate. Do this first, while the body is empty.
  3. From inside, push the shutter plunger up through the hole in the top wall. Slide the 6 mm tactile switch into its cradle pocket from the back, plunger up.
  4. Slide the 1/4-20 nut into the slot in the floor from the back.
  5. Screw the Camera Module 3 to its four posts (M2 x 6) so the lens sits in the square window. Screw the Pi Zero 2 W to its posts (M2.5 x 5), components facing the front. Fold the camera cable once at 45 degrees and plug it into the Pi.
  6. Lay the charge/boost board on the tripod boss with its USB-C port against the right-wall opening. Clamp its edges with four M2 x 6 screws and washers.
  7. Drop the slide switch into its pocket inside the right wall, lever into the slot. Wire: cell to the board's battery pads, board 5 V out through the switch to the Pi's 5 V and GND pins, and the shutter switch to a GPIO pin.
  8. Lay the protected LiPo in the cradle above the Pi, leads out through the notch in the right fin. Screw the battery lid over it with two M2 x 6 screws.
  9. Wire the screen to the Pi. Set it in the back cover between the locators, glass toward the window. Close the cover with four M2.5 x 6 countersunk screws. Charge through the USB-C port on the right side; the slide switch turns the camera on and off.

Good to know

  • Battery safety: use only a 1S LiPo with its own protection circuit, and a charge/boost board made for single-cell LiPo. Watch the first full charge, and stop using any cell that swells or gets warm. The cell sits behind the boards and above the Pi, 5.4 mm or more from the SoC in plan, with vents ove
  • Power: the camera charges through the USB-C port in the right side wall and switches on with the slide switch beside it. It stands on its floor or a tripod while charging. Battery life depends on your cell, board and software.
  • The charge/boost board is modeled at 30 x 17 mm with the USB-C port centred on one short end, and the slide switch as an SS12D00 type. Check that your parts match before printing.
  • The lens position comes from the Camera Module 3 board layout (holes on 21 x 12.5 mm centres, lens centre assumed 9.5 mm below the board's top edge). Check yours against the official drawing and adjust the lens-offset slider (8.5-10.5 mm).
  • Screen sizes are typical modules, not one exact product; the cover locators allow 0.3 mm round the PCB. At the default 0.5 mm 'Room behind the screen', solder wires to the screen. Set it to 9 mm to keep a pin header.
  • The Pi's own micro-USB, mini-HDMI and microSD are reached with the back cover off.
  • Fit, shutter feel, switch action and the field-of-view clearance are checked as geometry in the engine only. Print a test and check the switch, the USB-C plug fit, the image corners and how warm the case runs.

Comments