How to build Doly
51 steps to build Doly, with the source documents.
3D Maker Edition 1GB $359, 2GB $379 (electronics, battery, charging station and microSD included; print the shell yourself); assembled from $399 (shop.doly.ai USD prices, before tax and shipping)
Buy parts
- Choose a Raspberry Pi CM4 Variant
Choose a Raspberry Pi Compute Module CM4 variant according to the application's RAM, storage, and connectivity requirements.
- Obtain all listed hardware and electronics
Obtain the main board, head PCB, two arm PCBs, bumper PCB, I/O PCB, Li-ion battery, left and right motors, left and right servos, speakers, fan, FPC cables, screws, spacers, tools, foam, IR filters, tracks, bottom cover, left and right hands, charging station with electronics, and MicroSD card according to the hardware and electronics list.
Print and make
- Download and print the robot body parts
Access the full parts list in the GitHub /Printables/PLA-PETG folder and print the Doly robot body parts using PETG or PLA.
- Set baseline print settings
Nozzle 0.4 mm, 3 walls (≥1.2 mm), layer height 0.1 mm for better quality and accurate dimensions, infill 2030%.
- Use tree supports
Tree supports work well on most parts; follow your filament manufacturer's guidance for temperature.
- Use original ABS+PC bottom cover
PLA works well for most body parts, but may deform over time on the bottom cover due to processor heat; PETG performs better there.
- Print body parts from GitHub folder
3D-print the listed parts from the GitHub folder: Aligner, arm x 2, body, arm_cover x 2, bottom_cover, bumper_back, bumper_front, head, servo_cover, side_cover_left, side_cover_right, Wheel_back x 2, Wheel_front x 2.
- Check printed parts quantities and dimensions
Verify that all printed parts match the required quantities and dimensions.
Assemble
- Unpack and check all parts
Remove all parts from the package and verify all parts and electronics.
- Remove bottom cover, PCB and battery
Unscrew the two screws from the bottom of the semi-assembled unit, then remove the bottom cover, the main PCB and the battery (required for shipping regulations).
- Keep the power-button bottom cover
Keep the bottom plastic cover that has the power button [P02].
- Prepare and Glue Body Parts
Before gluing, confirm that the print quality is good, the parts fit together properly, and the servos and motors fit well. If an issue is found after gluing, the parts may need to be re-printed.
- Let the Glue Dry
Let the glue dry for a few minutes.
- Install the Motors
Install motor parts [E07], [E08], and four [S01] parts in full_body as shown.
- Install the Speakers
Install two speaker parts [E11]. If the parts do not fit properly, check the location print quality and carefully trim plastic residue or uneven surfaces with a hobby knife before trying again.
- Install the Battery Foam
Peel the protective film from foam [H04], then install it in full_body.
- Install the Battery
Install battery [E06] into the full_body.
- Install the I/O PCB
Open the FPC connector's black latch, insert FPC cable [C03] with the metal contacts facing down, and close the latch. Bend cable [C03] upward near the connector to aid positioning.
- Install the Fan
Place the servo cover as shown and secure fan [E12] to it with screws [S08]. Route the fan cable through the shown hole to the other side.
- Install the Servo Cover
Place hex spacers [H01] into the housing as shown and route the servo cables through the hole. Secure the prepared servo cover with screws [S07].
- Assemble the Front Bumper
Place IR filters [H05] into their housings as shown. Secure bumper PCB [E04] with screw [S02].
- Install the Head PCB
Connect FPC cables [C01] and [C02] to head PCB [E02], plug in the speaker cables, and press [E02] into place from the top toward the bottom. Connect [E02] to bumper PCB [E04] with cable [C02], position bumper_front, and secure both parts with screws [S04] from both sides.
- Check the Raspberry Pi
Confirm that main PCB [E01] has a Raspberry Pi installed. The version purchased from DOLY comes installed; otherwise, install a compatible CM4 module.
- Identify the PCB Connectors
Main PCB [E01] has multiple connectors on both sides. Use the following images to identify the proper location for each cable.
- Connect the Battery
Plug the battery [E06] socket into the battery connector on main PCB [E01].
- Connect the Left Servos
Plug the left servos [E09] socket into the proper connector on main PCB [E01].
- Connect the Right Servos
Plug the right servos [E10] socket into the proper connector on main PCB [E01].
- Connect the Fans
Plug the fans [E12] socket into the proper connector on main PCB [E01].
- Place the Main PCB
Place main PCB [E01] as shown, and route [C03] to the other side.
- Secure the Motor FPC Cables
Secure the FPC cables for motors [E07] and [E08] to the proper connector on main PCB [E01].
- Secure the Head FPC Cable
Secure the head module FPC cable [C01] to the proper connector on main PCB [E01].
- Secure the I/O FPC Cable
Secure the I/O FPC cable [C03] to the proper connector on main PCB [E01].
- Secure the Left Arm FPC Cable
Secure the arm FPC cable from the left servo to the proper connector on main PCB [E01].
- Secure the Right Arm FPC Cable
Secure the arm FPC cable from the right servo to the proper connector on main PCB [E01].
- Close and Secure the Bottom Cover
After completing the wiring, close the bottom cover and secure all parts as shown. The injection-molded bottom cover with the power button is strongly recommended because CPU heat can make 3D-printed bottom covers warp.
- Install Front Wheels
Align the front wheels and push them onto the D-shafts of motors [E07] and [E08].
- Fit Rear Shaft Caps
Push metal caps [H02] onto the rear 3D-printed shafts on both sides.
- Correct Rear Shaft Surface
If the parts do not fit properly, inspect the print quality at that location. Fix plastic residue or an uneven surface with a hobby knife or sandpaper, then try again.
- Install Rear Wheels
Align and place the rear wheels onto the metal caps. The rear wheels should rotate freely.
- Route the FPC Cable
Before securing the right-side cover, route the FPC cable through the hole to the other side without twisting it.
- Secure Right Side Cover
Secure the right-side cover with screws [S04] as shown.
- Secure Left Side Cover
Secure the left-side cover with screws [S04] as in the previous step. Ensure the FPC cable is routed through the hole and is not twisted.
- Connect Servo FPC Cable
Connect the FPC cable coming from the servo to the arm PCB [E03] connector as shown.
- Remove Temporary Servo Screw
Remove the temporary screw from the servo shaft; it is no longer used and only keeps the calibrated shaft in position. Remove only the screw, not the shaft, and reposition the shaft before continuing if it is accidentally removed.
- Attach Arm to Servo
Align the arm part with the servo shaft, connect it, and secure it with screw [S09].
- Mount the Arm PCB
Place PCB [E03] on the arm module. Work carefully and patiently, and do not pull the FPC cables because they can pop out of their connectors.
- Close the Arm Housing
Close the arm with the cover part as shown and secure both parts with screws [S04].
- Snap On the Hand
Snap hand [R03] onto the arm with light pressure. First remove all 3D-print support material; a small amount of super glue may be used if poor print quality prevents a proper fit.
Software
- Create Customizations with XML
Edit XML files to create custom eyes, sounds, and event animations for Doly.
- Integrate Systems with the SDK
Use the SDK to build larger integrations and connect Doly to your own systems.
Common problems
- PCB source design files needed for manufacturing are unavailable #4 #7
- Coordinate and CPL files for SMT assembly are missing #8 #14
- Right-hand and I/O-port cover 3D models are missing #11 #13
- Static libraries omit -fPIC, breaking shared-library linking #9
- Builders struggle to assemble the kit's front bumper #15 #16
Parts
- Raspberry Pi CM4-based mainboard (1GB or 2GB RAM)
- Head board: two colour LCDs, touch and 8MP camera
- Bumper board (ToF and microphones), two arm boards (RGB LEDs), I/O board
- Left and right metal-gear motors with tracks, two servos, two speakers, fan, Li-ion battery
- 3D prints: body, head, two arms, bumper, side covers and more (PLA/PETG; PETG or the original ABS+PC for the bottom cover)
Tools
- 3D printer (0.4 mm nozzle, 0.1 mm layers)
- Flush cutters, hobby knife, screwdrivers, tweezers, 120–240 grit sandpaper, super glue
Skills
- Blockly through the Python/C++ SDK
- Raspberry Pi OS and Linux
Software
- Doly official software (on-device voice, person recognition, autonomous behaviour)
- C++ and Python SDK with examples
- App (Android, iOS, Windows)