Connecting to sources…

How to build MindPaw: the whole process

31 steps to build MindPaw, from buying parts, printing and assembly to software, calibration and training, with the bill of materials, shop links and the official source…

MindPaw is a desktop quadruped robot dog based on the ESP8266, with voice interaction, gesture recognition, AI conversation, PAD emotion computing, and WiFi web control. The repository provides a hardware parts list, PCB design, 3D-printable parts, firmware, wiring, assembly instructions, and replication documentation.

Buy parts

  • Choose the complete hardware plan

    Prepare about ¥50 in materials for the complete plan, including the camera and gesture recognition. The price excludes approximately ¥8 shipping.

  • Choose the basic hardware plan

    The basic plan is about ¥35 and removes the camera while retaining voice control, AI conversation, and emotional interaction. It is suitable for beginners who can upgrade later.

  • Apply for optional free API accounts

    Apply for the free accounts listed in this section. These two APIs are optional; basic movement, expressions, and voice control still work without them.

Print and make

  • Prototype PCB and 3D-print parts

    Fabricate the PCB prototype and 3D-print the hardware parts. If you have a JLC free prototype coupon, this step can be free.

  • Make an alternative robot body

    The body can be made from cardboard, acrylic, or blocks instead of using a 3D print; the 3D model is only a reference shape.

Assemble

  • Solder and test the power section

    After receiving the PCB and 3D-printed parts, solder the power section first and verify that the 3.3V and 5V outputs are correct.

  • Solder the ESP12F core and verify firmware

    Solder the ESP12F core, then flash the firmware to verify it.

  • Add modules in the specified order

    Add the OLED, servo, voice, camera, and speaker modules one at a time in that order.

  • Assemble the printed mechanical parts

    Install the servo in the chassis, close the body, and then install the feet.

  • Connect the voice module

    Use a USB-TTL adapter to connect the computer to the HLK-V20 module.

  • Connect the GPIO15 pull-down resistor

    Connect GPIO15 to GND through a 10KΩ pull-down resistor so the ESP8266 can boot normally.

  • Series-connect camera signal resistors

    When the OV2640 SCK, MISO, and MOSI signals are shared with the servos, put a 1KΩ resistor in series with each signal.

  • Check the complete wiring diagram

    Verify all connections against the complete wiring diagram in Docs/05_Assembly_Guide.md.

  • Choose a hand-soldered perfboard

    A PCB is optional. Use a perfboard and hand-solder it for the first build, then order a PCB sample after succeeding.

  • Connect an LD3320 voice module

    Connect an existing LD3320 module if available; it requires five SPI pins.

Software

  • Download or clone the project

    Download the ZIP from the GitHub Code menu, or clone the MindPaw repository.

  • Install VS Code and PlatformIO

    Install the PlatformIO extension in VS Code. Prepare NodeMCU and USB-TTL first, and use 30 minutes to verify the environment.

  • Clone and open the firmware project

    Clone your own MindPaw repository, enter the MindPaw/MindPaw_main directory, and open the project.

  • Compile the firmware

    Compile the MindPaw main project with PlatformIO.

  • Connect NodeMCU for flashing

    Connect the NodeMCU, connect GPIO0 to ground, and power it on.

  • Flash the firmware

    Flash the compiled firmware to the NodeMCU with PlatformIO.

  • Upload the web page

    Upload the web page filesystem to the NodeMCU with PlatformIO.

  • Disconnect ground and reset

    Disconnect the GPIO0 ground connection, then press the NodeMCU RST button.

  • Configure the API

    Follow the document's API configuration table to set up AI conversation and weather query functions; this step is optional.

  • Download the voice configuration tool

    Download the SU-03T configuration tool required for the HLK-V20.

  • Add voice commands

    Add 22 voice commands in the SU-03T configuration tool according to the document's command table.

  • Flash and connect MindPaw

    Flash the configuration to the HLK-V20, disconnect the module's power, and then connect the module to MindPaw.

  • Switch to the ESP32 board

    Change the board setting in platformio.ini to nodemcu-32s.

  • Keep most existing code

    Most of the code does not need modification when migrating to the ESP32.

Calibrate and test

  • Connect to MindPaw and open the page

    Connect to the WiFi network named MindPaw, then open 192.168.4.1 in a browser.

  • Reassign the ESP32 pins

    Reassign the pins for the ESP32.

Documents