Projects / 3D print · In progress
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.
This is an independent community project. It is not affiliated with or endorsed by Petoi. Bittle and Petoi are trademarks of Petoi LLC.
- Printed parts
- 4
- Hardware
- 6 inserts, 6 screws
- Weight with boards
- 114 g
- Skill
- Intermediate
Overview
This is the printed hardware for LineChef's BittleX project, which teaches a Bittle X to walk, see, talk, and remember. My part is the 3D model and the printed build. The electronics, the wiring, and the software are LineChef's.
The pod is a rounded case on the robot's back. It holds a Raspberry Pi Zero 2 W with a PiSugar S battery, an I2S amp and a speaker at the rear, and a microphone on the right side. A door in the left wall lifts out, so you can reach the BiBoard plugs from the side.
The screw cover replaces the stock Petoi back cover. Four M3 x 4 screws go up through it into heat-set inserts in the pod floor. The pod and the cover then clip onto the robot as one unit. The inside of the cover does not change, so the BiBoard and the touch sensor fit as before.
The top panel slides on under lugs in the walls, and two M3 x 12 screws hold it down. It has openings shaped to each plug and a window over the PiSugar switch.
The peg cover is the earlier click-on mount: four teardrop pegs on the stock cover. The peg interface spec has every number to design your own add-on for it, or for the screw cover.
What you need
| Part | Qty | Type | Get it |
|---|---|---|---|
| Screw cover PLA, stands on its rear end, tree supports, 14-line brim | 1 | Download | |
| Pod body PLA, floor on the bed. Slice the 3MF: it has support blockers on the amp nubs. | 1 | Download | |
| Top panel PLA, second color, top on the bed | 1 | Download | |
| Door PLA, on its top edge, with a brim | 1 | Download | |
| Petoi Bittle X robot dog | 1 | Have | Petoi ↗ |
| Raspberry Pi Zero 2 W With a soldered 40-pin header and a pin-fin heatsink | 1 | Buy | Raspberry Pi ↗ |
| PiSugar S battery board, 1200 mAh The board in LineChef's parts list | 1 | Buy | PiSugar on Tindie ↗ |
| NS4168 I2S amplifier board NULLLAB, 38.4 × 22.4 mm, PH2.0 connectors. Sold as a kit with the speaker. | 1 | Buy | Amazon ↗ |
| Speaker, 3 W, 4 Ω NULLLAB, 28 × 15 mm body with side wings, PH2.0 plug. Comes in the amp kit. | 1 | Buy | Amazon ↗ |
| SPH0645 I2S MEMS microphone HiLetgo or Adafruit breakout, 12.5 × 16 mm | 1 | Buy | Adafruit ↗ |
| Dupont jumper wires 3 female-to-male, 6 female-to-female (10 cm, plus 15 cm for GND and 3V) | 9 | Buy | Amazon, 10 cm set ↗ |
| M3 heat-set inserts 4 in the floor bosses, 2 in the speaker posts | 6 | Hardware | |
| M3 x 4 screws Button or pan head, up through the screw cover | 4 | Hardware | |
| M3 x 12 screws Button or pan head, down through the panel | 2 | Hardware |
Tools
- 3D printer — Any bed, the parts are small
- Soldering iron — For the 6 inserts and two short wire splices (BCLK and LRC). An insert tip helps.
- Screwdriver — For the M3 screws
- A drop of glue — To set the amp
Print settings
- Material
- PLA, two colors
- Layer height
- 0.20 mm. Each part also has a _fine file for 0.10 mm layers.
- Supports
- Tree supports on the screw cover only
- Brim
- 14 lines on the screw cover, and a brim on the other parts
- Walls
- 2.0 mm, which Cura slices as 4 lines of 0.5 mm
- Resin
- The repo has resin parts with hex pockets for glued M2.5 nuts in place of the inserts.
Electronics and software
The electronics and the software are from LineChef's BittleX project, used with permission: walking by reinforcement learning, on-device vision, voice conversations with Claude, and memory. The hardware notes list the parts and the power setup.
Wiring
This wiring is from LineChef's G2 wiring guide, which has the full diagrams. The Pi talks to the BiBoard over serial, and to the amp and mic over I2S. Plug the wires in this order: the splices, the Pi ends of the BiBoard jumpers, the amp cable, the mic jumpers, then the BiBoard ends.
BiBoard TX2 / RX2 / GND → Pi pins 10 / 8 / 6. TX and RX cross. Do not wire the BiBoard +5V. The PiSugar powers the Pi.
Amp V / G → Pi pins 2 / 14 (5V and GND).
Mic 3V / GND / SEL → Pi pins 1 / 9 / 39. SEL to GND selects the left channel.
BCLK → Pi pin 12 (GPIO18), through a soldered splice to both the amp and the mic.
LRC → Pi pin 35 (GPIO19), through a second splice to both boards.
Amp DIN → Pi pin 40 (GPIO21). Mic DOUT → Pi pin 38 (GPIO20).
The speaker plugs into the 2-pin PH2.0 socket at the rear end of the amp.
Build it
Drag to turn · scroll to zoom · right-drag to pan
-
01
Print the parts
- Print each part in the orientation listed under Print settings. The files are already turned.
- Slice the body from
pod_body_screw.3mf. It keeps support off the two amp nubs. - Print the screw cover on its rear end with tree supports and a 14-line brim.
Tip The door prints on its top edge, so its outer face has the same layers as the body walls.
-
02
Press in the inserts
- Put an M3 heat-set insert on each of the 6 bosses: 4 in the floor and 2 on top of the speaker posts.
- Heat each insert with the soldering iron and press it in straight, flush with the top of the boss.
- Let the plastic cool before you put in a screw.
-
03
Screw the body to the cover
- Put the empty body on the screw cover, grille to the rear.
- From inside the cover, put an M3 x 4 screw up through each of the 4 rings into the inserts, and tighten them.
-
04
Clip onto the robot
- Take the stock back cover off your Bittle X.
- Clip the screw cover and the body onto the robot as one unit, in place of the stock cover.
- The BiBoard header comes up through the opening in the cover and the notch at the front of the left well.
-
05
Drop in the speaker
- Push the speaker down into the two side grooves at the rear of the body.
- The speaker body faces the rear grille.
-
06
Fit the microphone
- Plug the six jumpers onto the mic header. Use the 15 cm jumpers for GND and 3V.
- Drop the mic into the slots on the right wall near the front. The port faces the wall and the header faces forward.
-
07
Fit the amp
- Plug the flat I2S cable into the front end of the amp, and the speaker into the rear end.
- Put the bottom edge of the amp into the slot along the right wall, parts facing in.
- Tilt the top edge under the two nubs, and set it with a drop of glue.
- Let the amp cable hang out of the top for now.
-
08
Drop in the Pi stack
- Set the PiSugar AUTO switch first. It is under the cell.
- Push the Pi and PiSugar S stack down into the two end grooves. The ports face up, and the SD card faces the rear.
-
09
Plug in the wires
- Follow the order and the pin table in Wiring above, from LineChef's guide. Plug one wire at a time.
- Grooves in the floor show the runs of the amp cable and the mic wires.
- Push the BiBoard plugs onto the header at the front left last. Reach them from the side, through the door opening. All wires stay inside the body.


-
10
Fit the door
- Slide the door down into the two grooves of the opening in the left wall.
- It stands on the wall under it. The panel holds it down.
-
11
Screw on the panel
- Put the panel down 5 mm behind its place, and slide it forward. The hooks under the panel go under the lugs in the walls.
- Put the two M3 x 12 screws down through the panel into the speaker posts.
- Move the PiSugar switch through its window with a pen tip, and press the PiSugar button through the large opening.


Tip To open: take out the two screws, slide the panel 5 mm to the rear, and lift it.
Downloads
Version history
-
v2 November 3, 2026 Current
The pod screws to a screw cover with M3 heat-set inserts, in place of the click-on pegs. The camera mount, the button cap and the logo inlays are gone. A door in the left wall gives access to the BiBoard plugs.
Licenses and credits
The 3D model, drawings, and documents are © 2026 Jeremy Collins under CC BY 4.0.
The electronics, the wiring, and the software are from LineChef's BittleX, used with permission. The text of the Electronics and Wiring sections follows LineChef's documents.
The robot in the 3D view comes from the Petoi ROS model of Bittle (MIT).
The screw cover and the peg cover change the Petoi Bittle_Cover_with_hole_for_Pi.stl from PetoiCamp/NonCodeFiles. Petoi publishes it with no stated license, and all rights to it stay with Petoi.
The PiSugar models are GPL-3.0. Bittle and Petoi are trademarks of Petoi LLC. This project is not affiliated with Petoi.