Build guide

Pod for
Bittle X Robot

A 3D-printed pod for the Petoi Bittle X. It holds a Raspberry Pi Zero 2 W, a PiSugar S battery, an amp, a speaker and a mic, and it screws to a new back cover of the robot. It is an independent community project. It is not affiliated with or endorsed by Petoi.
Add-on v0.262026-11-03
4 + 2 screwsM3 inserts (FDM) or M2.5 nuts (resin)
114 gwith the electronics
No supportsfor the add-on parts (FDM)
Overview

What you build

The add-on is a body that screws to a screw cover, and a slide-on top panel with two screws. The cover and the body clip onto the robot as one unit, in place of the stock cover. Every part goes into the body from the top, in the order of this guide. You need a screwdriver, a soldering iron for the splices (and the inserts of an FDM print), and a dab of glue for the amp.

Directions in this guide

Front is the head end of the robot. Left and right are the robot's left and right. The Pi plugs and the BiBoard header are in the left well. The amp and the mic are on the right wall. The speaker is at the rear.

Contents

What you build2
Parts to print3
Inserts or nuts4
Electronics and cables5
Pin maps and hardware6
Assembly7
Wire table14
Checks, opening and removal15

The 3D viewer shows every step with animation: https://beetlebugorg.github.io/bittlex/viewer/

Pod for Bittle X Robot v0.26 · Build guide2
1

Parts to print

Print the parts in PLA, in the orientation of the files in stl/print/. Each file is for 0.20 mm layers. For 0.10 mm layers, print the *_fine file of the same name.

PartOn the bedMass
Body
stl/print/pod_body_screw.3mf
floor on the bed40 g
Top panel (second color)
stl/print/pod_panel_screw.stl
upside down: top on the bed21 g
Door
stl/print/pod_door.stl
on its top edge, with a brim1 g
Screw cover
stl/print/cover_screw.stl
on its rear end: tree supports, 14-line brim10 g

Settings

Slice with the profiles in profiles/taz-workhorse-se: pla-0.20-standard, or pla-0.10-fine for the *_fine files. Use a brim. printdeck.yml has the settings of each part. Walls 2 mm: 4 lines of 0.5 mm. The fine panel has smaller hook gaps (0.05 mm).

pod_body_screw.3mf has support blockers on the two amp nubs: with support on, the nubs get none. The panel prints top down: its openings are on the bed. starter_plate_screw.stl (optional) has the same 4 bosses: use it to test the inserts or nuts on the cover.

Print plates

stl/plates/ has every part on one bed, in its print orientation. Each 3MF has one object for each part.

PrinterFileOrientation
FDM: LulzBot TAZ Workhorse, 0.5 mm nozzlefdm_taz.3mfThe screw parts as in stl/print/. The cover stands on its rear end: turn on tree supports and a 14-line brim.
Resin: Peopoly Phenom (first model)resin_phenom.3mfThe resin parts with nut pockets. The body, the panel, the door and the starter plate are tipped 45 deg. The cover stands on its rear end. Lift the parts 5 mm in the slicer and add supports. stl/print/resin/ has each part alone.

Resin supports

  • Body: the floor is toward the plate. Put the supports on the floor underside, off the screw holes. Sand the marks flat.
  • Panel: the open side is toward the plate. The top face has no marks.
  • Cover: it stands on its rear end. Put the supports on the rear edge only.
  • Door: the outer face is up, tipped 45 deg. The supports go on the inner face and the ears.
  • The resin check found no cups (trapped resin) in these orientations.

Resin fits

  • The resin parts use glued nuts in place of inserts (page 4).
  • Door gap 0.12 mm, amp slot gap 0.15 mm (a best guess).
  • Print the starter plate first to test the nut pockets.
  • Wash the parts in IPA and post-cure them before the fit test.
Pod for Bittle X Robot v0.26 · Build guide3
2

Inserts or nuts

Six bosses hold the threads for the screws: 4 in the floor for the cover screws, and 2 on the speaker posts for the panel screws. An FDM print (PLA) uses M3 heat-set inserts. A resin print uses M2.5 nuts with superglue.

FDM print (PLA): heat-set insertsResin print: glued nuts
Partsstl/print/: pod_body_screw, pod_panel_screw, cover_screwstl/print/resin/, or the resin plate
In the bosses6 x M3 heat-set insert. Holes 3.6 mm, 3.9 mm deep: too big for M2.5 inserts. Bosses 7 mm.6 x M2.5 hex nut, 5 mm across the flats, 2 mm thick. Hex pockets. Bosses 8 mm.
Screws4 x M3 x 4 button or pan head (cover). 2 x M3 x 12 (panel).4 x M2.5 x 4 button or pan head (cover). 2 x M2.5 x 12 (panel).
ToolsSoldering iron (an insert tip helps), screwdriverSuperglue, screwdriver

Heat-set inserts (FDM)

  1. Put an insert on the hole of a boss.
  2. Heat it with the soldering iron, and press it in straight until it is flush with the top of the boss.
  3. Do the 4 floor bosses and the 2 speaker post bosses.
  4. Let the plastic cool before you put in a screw.

Glued nuts (resin)

  1. Put a nut flat into the hex pocket at the top of a boss, and push it to the bottom.
  2. Put a drop of superglue on the edge of the nut. Keep the glue off the thread.
  3. Do the 4 floor bosses and the 2 speaker post bosses.
  4. Let the glue set before you put in a screw.

Floor nuts: the nut is at the bottom of its pocket. The M2.5 x 4 cover screw goes fully through it (screw tip at Y 29.2, nut top at Y 29.0). Speaker post nuts: the panel column is over the nut and holds it in its pocket.

Pod for Bittle X Robot v0.26 · Build guide4
3

Electronics and cables

Each cable below shows its two ends. Some have one plug at one end and many at the other: match each end before you plug it in.

Amp cable 1 plug → 5 sockets

Comes with the NULLLAB NS4168 amp: one 5-pin PH2.0 plug at the amp, five single female Dupont sockets at the other end. The wires are bonded flat. Keep the cable on edge: do not twist it.

PH2.0 5-pininto the amp I2SGVBCLKLRCDINPi pin 14Pi pin 2 (5V)BCLK spliceLRCLK splicePi pin 40

BiBoard jumpers 3 single jumpers female → male

The female end goes onto the Pi pin. The male end goes into the BiBoard socket. The socket is female.

Pi pin 10Pi pin 8Pi pin 6BiBoard TX2BiBoard RX2BiBoard GND

Mic jumpers 6 single jumpers female → female

One per mic pin. BCLK and LRCL end in the free female ends of the splices; cut them to length when you make the splices.

mic 3Vmic GNDmic BCLKmic DOUTmic LRCLmic SELPi pin 1 · 15 cmPi pin 9 · 15 cmBCLK splicePi pin 38LRCLK splicePi pin 39

Splices 1 → 2

Each clock signal feeds two boards. Make a Y from three jumper ends: solder, then cover with white heat shrink.

BCLKpin 12mic BCLKamp cable BCLKLRCLKpin 35mic LRCLamp cable LRC

Speaker lead

The 2-wire lead of the speaker ends in a 2-pin PH2.0 plug: it goes into the rear end of the amp.

Pod for Bittle X Robot v0.26 · Build guide5
4

Pin maps and hardware

Every pin in use, in the color of its wire.

Pi Zero 2 W, 40-pin header

1mic 3V2amp V3456BiBoard GND78BiBoard RX29mic GND10BiBoard TX21112BCLK splice1314amp G151617181920212223242526272829303132333435LRCLK splice363738mic DOUT39mic SEL40amp DINPin 1 is at the SD card end (rear). Odd pins: inner row (top). Even pins: board edge (bottom).

Mic (as mounted)

SELLRCLDOUTBCLKGND3VSEL at the top, 3V at the bottom

Amp I2S plug

GVBCLKLRCDING at the top (the amp stands upright)

BiBoard socket

TX2RX2GND+5V+5Vmale ends in; +5V stays empty

TX and RX cross: BiBoard TX2 goes to Pi RXD (pin 10), BiBoard RX2 to Pi TXD (pin 8). SEL to GND puts the mic on the left channel. The PiSugar S powers the Pi through its contact pins.

Hardware

ItemCountUse
Female-to-male Dupont jumper, 10 cm3 + 2BiBoard serial link (3) and the amp ends of the splices (2)
Female-female Dupont jumper, 10 cm4 + 2mic (4) and the Pi ends of the splices (2)
Female-female Dupont jumper, 15 cm2mic GND and 3V
Heat shrink, white2splice sleeves
Glue (a dab)amp
Screws, and inserts or nuts6 + 6M3 (FDM) or M2.5 (resin): page 4
Pod for Bittle X Robot v0.26 · Build guide6
5

Assembly

1

Inserts or nuts

  1. Put an insert or a nut into each of the 6 bosses: 4 in the floor, 2 on the speaker posts.
  2. FDM (PLA): press each M3 heat-set insert in flush with a soldering iron.
  3. Resin: put an M2.5 nut into each hex pocket, with a drop of superglue on its edge.
Page 4 has the hardware, the tools and the steps for each way.
2

Screw the body to the cover

  1. Put the empty body on the screw cover, the grille to the rear.
  2. From inside the cover, put a screw up through each of the 4 rings into the insert or the nut: M3 x 4 (FDM) or M2.5 x 4 (resin).
  3. Tighten the 4 screws. The floor is on the rings.
Pod for Bittle X Robot v0.26 · Build guide7
3

Clip onto the robot

  1. Remove the stock back cover of the Bittle X.
  2. Clip the cover and the body onto the robot as one unit, in place of the stock cover.
  3. The BiBoard header comes up through the opening in the cover and the notch at the front of the left well.
4

Speaker

  1. Push the two wings of the speaker down into the side grooves at the rear.
  2. The speaker body goes to the rear, toward the grille.
Pod for Bittle X Robot v0.26 · Build guide8
5

Mic

  1. Plug the six mic jumpers onto the mic header. Use 15 cm jumpers on GND and 3V.
  2. Drop the mic into the slots in the post and the ledge on the right wall, near the front.
  3. The port faces the wall. The header is at the front edge, the plugs point into the body.
The board is in both slots. The post, the ledge and a stop hold it.
6

Amp and speaker lead

  1. Plug the speaker lead into the 2-pin connector at the rear end of the amp.
  2. Plug the flat amp cable into the 5-pin connector at the front end. G is at the top.
  3. Put the bottom edge of the amp into the slot along the right wall, parts to the inside.
  4. Tilt the top edge under the two nubs. Set it with a dab of glue.
  5. Two forks under the panel hold the top edge later.
  6. Let the amp cable hang out of the top. It goes in after the BiBoard jumpers.
Pod for Bittle X Robot v0.26 · Build guide9
7

Pi + PiSugar S stack

  1. Set the PiSugar AUTO switch first: it is under the cell.
  2. Push the stack down into the grooves of the two end posts until it stops.
  3. The ports are up, the 40-pin header down and toward the left wall, the SD card at the rear.
If the stack is not fully down, the panel does not slide on later.
8

Splices (BCLK and LRCLK)

  1. Plug the Pi end of each splice: BCLK on pin 12, LRCLK on pin 35.
  2. The LRCLK sleeve stands beside the BiBoard plugs, the BCLK sleeve at the middle of the left well.
Each splice is a Y: one Pi end, one mic end, one amp end. See the cable cards.
Pod for Bittle X Robot v0.26 · Build guide10
9

BiBoard jumpers: Pi ends

  1. Push the female end of each BiBoard jumper onto the Pi: TX2 (gray) on pin 10, RX2 (white) on pin 8, GND (black) on pin 6.
  2. Lay the excess of each one in a loop by the left wall.
  3. Leave the male ends free. They go onto the BiBoard last.
10

Amp cable

  1. Lay the flat amp cable on edge, as it leaves the plug, G on top. Do not twist it.
  2. It steps down, runs forward to the front wall and across under the mic plugs. Past the front post it turns rearward, runs across behind the front-left notch, and turns rearward along the left well.
  3. Peel off each wire at its own height: DIN onto pin 40, LRC and BCLK into the free sockets of their splices, G onto pin 14, V onto pin 2.
Pod for Bittle X Robot v0.26 · Build guide11
11

Mic jumpers

  1. Run the mic jumpers straight across behind the front wall, then rearward along the left well.
  2. Plug them from the lowest up: 3V on pin 1, GND on pin 9, BCLK and LRCL into their splices, DOUT on pin 38, SEL on pin 39.
12

BiBoard ends

  1. Push the male ends of the three BiBoard jumpers into the BiBoard socket: TX2, RX2, GND.
  2. Reach the plugs from the side, through the door opening in the left wall.
  3. The two +5V sockets stay empty: the PiSugar powers the Pi.
The other wires are not shown here, for a clear view into the front-left corner.
Pod for Bittle X Robot v0.26 · Build guide12
13

Door

  1. Slide the door down into the two grooves of the opening in the left wall.
  2. It stands on the wall under it. The panel holds it down.
14

Panel

  1. Put the panel down 5 mm behind its place, and slide it forward.
  2. Put the two panel screws down through the panel into the speaker posts: M3 x 12 (FDM) or M2.5 x 12 (resin).
  3. The PiSugar power switch is in the HDMI opening, beside the plug. Move it with a pen tip or a toothpick.
  4. Press the PiSugar button through the large opening with a fingertip or a pen tip.
To open: take out the two screws and slide the panel rearward.
Pod for Bittle X Robot v0.26 · Build guide13
6

Wire table

Every wire, from end to end. Lengths are between the housings, as modeled; a jumper longer than the route lays its excess in the loop shown.

FromToGroupLengthExcess
BiBoard TX2pin 10uart100 mm2-turn loop
BiBoard RX2pin 8uart98 mmarch
BiBoard GNDpin 6uart98 mmarch
amp Gpin 14amp116 mm
amp Vpin 2amp130 mm
amp BCLKBCLK spliceamp109 mm
amp LRCLRCLK spliceamp95 mm
amp DINpin 40amp81 mm
BCLK splicepin 12splice16 mm
LRCLK splicepin 35splice7 mm
mic 3Vpin 1mic148 mm1-turn loop on a 5 mm stem
mic GNDpin 9mic149 mm2-turn loop
mic BCLKBCLK splicemic76 mmcut to length
mic DOUTpin 38mic97 mm1-turn loop on a 5 mm stem
mic LRCLLRCLK splicemic62 mmcut to length
mic SELpin 39mic99 mm1-turn loop
amp speaker +speaker +speaker43 mm
amp speaker -speaker -speaker44 mm
Pod for Bittle X Robot v0.26 · Build guide14
7

Checks, opening and removal

What the model checks

  • No printed part and no board touch, except where a fit is meant to touch.
  • Every part goes in from the top, in the order of this guide.
  • No two wires pass through each other. No designed bend is tighter than 2 mm.
  • The head turns from -85 to 85 deg without contact.
  • The cover and the body go straight down onto the robot together. Each screw is clear of the boards.
  • Mass 114 g; center of mass 8.8 mm from the robot center.

Open the panel

Take out the two panel screws, slide the panel 5 mm rearward and lift it.

Remove the add-on

Open the panel. Lift the door out of the left wall. Pull the three BiBoard plugs off from the side. Unclip the cover from the robot: the body comes off with it. To take the body off the cover, take out the 4 screws from inside the cover.

Change the SD card

Open the panel and lift the speaker out of its grooves; the card is at the rear end of the Pi.

Files

stl/print: the parts to print (stl/print/resin: the resin parts). stl/plates: the print plates. cad/: STEP files. README.md: the full reference. Designs CC BY 4.0, code MIT; see LICENSE.md and ATTRIBUTION.md. Bittle and Petoi are trademarks of Petoi LLC.

Pod for Bittle X Robot v0.26 · Build guide15