Connecting to sources…

How to build PlayBot

51 steps to build PlayBot, with the source documents.

PlayBot transforms a Playdate handheld console into a desktop robot with integrated charging. The repository provides a fully 3D-printed frame, PCB files, firmware, a complete bill of materials, and assembly instructions.

Bill of materials · Hardware

PartQty
Custom PCBs2
Teensy 4.1 microcontroller1
TOF101202
Low profile headers 12 pins1
SG90 servo1
ITR200012

Buy parts

  • Buy the robot parts

    Buy one 1.3 mm push rod connector, one Micro SD card, one length of multicolored 24 AWG wire, and an optional HuskyLens for AI vision.

  • Buy a Playdate

    Buy one Playdate; the document provides Play.date as the reference link.

  • Get the bill of materials

    Open the hardware folder to get the complete bill of materials and assembly instructions.

Print and make

  • Download the STL files

    Download the STL files for the 3D-printed parts from ../hardware/3dPrinted_Parts.

  • Print the shell

    Print the Shell on a Bambu Lab A1 mini with generic PLA.

  • Print the upper frame

    Print the UpperFrame on a Bambu Lab A1 mini with generic PLA.

  • Print the middle frame

    Print the MiddleFrame on a Bambu Lab A1 mini with generic PLA.

  • Print the lower frame

    Print the LowerFrame on a Bambu Lab A1 mini with generic PLA.

  • Print the base

    Print the Base on a Bambu Lab A1 mini with generic PLA.

  • Print the robot frame

    3D print PlayBot's frame following the linked assembly instructions.

Assemble

  • Cut the Teensy USB power trace

    To protect the battery-powered Teensy, cut the USB power trace.

  • Solder male headers to the Teensy

    Solder male headers on the Teensy main side pins and USB host pins.

  • Solder low-profile female headers

    Solder female low-profile headers on the PlayBot main board so the Teensy fits inside the case.

  • Cut the servo’s left plastic ear flush

    Cut the left plastic ear of the servo flush.

  • Open the servo case

    Remove the 4 screws and open the servo case.

  • Disconnect servo wires and note colors

    Cut or desolder the wires and note the color code: brown is GND, red is V+, and orange is signal.

  • Solder new JST SH servo wires

    Solder new wires with a JST SH connector, paying attention to the servo connector wiring.

  • Enlarge and fit the servo horn

    Enlarge the horn hole with a soldering iron and press-fit it onto the servo axle while the horn is soft.

  • Add 5 top-frame brass inserts

    Add 5 brass inserts on the top of the frame.

  • Add 4 bottom-frame brass inserts

    Add 4 more brass inserts on the bottom of the frame.

  • Mount the mainboard with M2 screws

    Screw the mainboard directly into the frame using 4 M2 screws.

  • Press-fit two ball bearings

    Press-fit the 2 ball bearings into the frame.

  • Install the power switch and USB-C input

    Solder the power switch and USB-C input to the power management board, then press-fit the USB-C plug into the bottom frame and secure it with hot glue if desired.

  • Screw the power board to the frame

    Screw the power board to the bottom of the frame.

  • Slide in the LiPo battery

    Slide the LiPo battery into its dedicated socket on the frame.

  • Add 4 brass inserts

    Add 4 brass inserts to the middle frame.

  • Mount the DRV8835 board

    Attach the DRV8835 board directly to the middle of the part with double-sided adhesive.

  • Solder the motor JST SH connector

    Solder the MODE, AIN1, AIN2, BIN1, BIN2, VCC, and GND pins to a 7-pin JST SH connector for the motors.

  • Check the Pololu board page

    Check the Pololu product page for more information about the board.

  • Create the custom motor plug

    Create a custom plug for the motors. Power comes from the DRV8835 board through M1 and M2, and the other 4 wires carry encoder feedback through ENC1 and ENC2.

  • Join the middle and top frames

    Before adding the motors, attach the middle and top frames together using 2 M2 screws.

  • Create the power harness

    Create a power harness with JST PH connectors to power the main board and DRV8835 from the power board's power output.

  • Use solder pads instead of PH connector

    On the last revision, the main board's PH connector was replaced with simple solder pads.

  • Install the ball caster wheels

    Remove the screws, insert the ball caster wheels, and screw them back to the frame.

  • Create the USB plug

    Create a USB plug connected to a 4-pin JST PH connector.

  • Secure the PH connector

    Add a small amount of hot glue to secure the PH connector.

  • Create the PH-to-SH connector

    Create a 4-pin PH-to-SH connector that connects to the USERIAL connector on the main board.

  • Glue the plastic rings

    The USB plugs come with small plastic rings that can be glued to the part.

  • Press-fit the magnets

    Press-fit the magnets into the dock.

  • Solder the TEMT6000 sensor

    Connect a 3-pin JST SH connector to the TEMT connector on the main board.

  • Mount the light sensor

    Use screws and bolts to secure the TEMT6000 sensor to the shell.

  • Mount the SPDT switch

    Use screws and bolts to secure the SPDT switch to the shell.

  • Solder the TOF sensors

    Connect a 4-pin JST SH connector to TOF1 and TOF2 on the main board. The RX/TX wires may be cut because I²C is used through a 2-channel multiplexer.

  • Attach both TOF sensors

    Attach both sensors at the front and back of the shell using M2.5x6 screws and nylon nuts.

  • Assemble the remaining parts

    After confirming that no errors appear, assemble the remaining parts in the order shown in media 45–49. Everything will be tightly packed inside the shell.

  • Attach the screen base

    Attach the screen base with an M3 screw without overtightening it.

  • Attach the servo pull rod

    Cut the servo pull rod to 20 mm and attach it to the servo arm with a connector.

  • Complete the Playbot assembly

    The assembled Playbot is now complete.

  • Assemble the frame and electronics

    Assemble the frame and listed electronics following the linked assembly instructions.

Calibrate and test

  • Run test firmware and check boot

    For every step, double-check the connections, flash the test firmware to the Teensy, plug in the components, and test the boot sequence.

  • Center the servo with test firmware

    Use the test firmware to center the servo position before screwing the horn.

Documents