[{"element_type":"text","content":"\n        \u003cp\u003eThis robot is a \u003cstrong\u003ebipedal robot\u003c/strong\u003e for learning robotics that anyone can build. It is fun but complex enough to satisfy an engineering thought and effort. The system uses 8 \u003cstrong\u003eLX-16A\u003c/strong\u003e serial bus servos. I placed an \u003cstrong\u003eAdafruit Metro\u003c/strong\u003e board on it to run the C++ code. It can also work work on \u003cstrong\u003eRaspberrry Pi\u003c/strong\u003e.\u003c/p\u003e\n\u003cp\u003eThe design of the machine is open and available\u0026nbsp;\u003ca title=\"Nix Robot STL and STEP files\" href=\"https://grabcad.com/library/nix-robot-1\"\u003eon GrabCAD\u003c/a\u003e.\u003c/p\u003e\n\u003cp\u003eIf you need to get \u003cstrong\u003eall code and assembly guide\u003c/strong\u003e, then code and the guide are in a \u003ca title=\"Nix Robot Build Manual\" href=\"https://nixrobot.pages.dev/#book\"\u003e\u003cstrong\u003ebook\u003c/strong\u003e\u003c/a\u003e. The instructions are detailed so much that they show every screw and bolt in graphical drawings, explain all positioning precisely, and list Python and C++ code for all moves.\u003c/p\u003e\n      ","metadata":{}},{"element_type":"button","content":"https://nixrobot.pages.dev","metadata":{"button_type":"primary","icon":"","target":"_self","zip_folder":"false"}},{"element_type":"user_image","content":"https://cdn-learn.adafruit.com/user_assets/assets/000/002/556/original/hq_robot_2000x1500.jpg?1787868251","metadata":{}},{"element_type":"text","content":"\n  \n  \n  \n        \u003cp\u003eThe full name of the\u0026nbsp;\u003cstrong\u003ebook\u003c/strong\u003e: Build the Bipedal Walking Robot: A DIY Guide to 3D Printing, Assembly, and Coding with Arduino and Raspberry Pi. By Nix Robot. Published in 2025.\u003c/p\u003e\n\u003cp\u003eYou can also find it by ISBN: 9798278222026, 9798278612087.\u003c/p\u003e\n\u003cp\u003ePhysical versions of the book are highly preferred due to large detailed drawings that are much better to view in a physical workspace.\u003c/p\u003e\n      \n\n\n","metadata":{}},{"element_type":"embed","content":"https://www.youtube.com/watch?v=m35HB4EOwCo"},{"element_type":"text","content":"\n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n        \u003cp\u003e\u003cstrong\u003eSo how to build one? And how to program it?\u003c/strong\u003e Follow these steps to achieve the result.\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003eObtain \u003ca title=\"Open STL files\" href=\"https://grabcad.com/library/nix-robot-1\"\u003ethe STL files\u003c/a\u003e, review them, make an assembly plan. Or read the book with the ready-to-use plan.\u003c/li\u003e\n\u003cli\u003eSource necessary parts. \u003ca title=\"Electronics BOM\" href=\"https://nixrobot.pages.dev/#BOM\"\u003eElectronics BOM (bill of materials) could be found here\u003c/a\u003e.\u003c/li\u003e\n\u003cli\u003ePrepare your workspace and tools or go to a makerspace.\u003c/li\u003e\n\u003cli\u003eConstruct the chassis.\u003c/li\u003e\n\u003cli\u003eUnderstand the mechanics and program the gaits and other movements, or again \u003ca title=\"Code\" href=\"https://nixrobot.pages.dev/#code\"\u003eget modifiable examples and classes form the book\u003c/a\u003e.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eBelow is an example of the source code for one gait.\u003c/p\u003e\n      \n\n\n\n\n\n\n\n\n\n","metadata":{}},{"element_type":"code","content":"# Robot walks forward\nimport time\nfrom robot import NixRobot\nimport os\n\n\nif __name__ == \"__main__\":\n    STEPS = 20\n    DURATION = 800\n    FAST = 200\n    program_begins = \"audio/program_begins.wav\"\n    program_complete = \"audio/program_complete.wav\"\n    robot = NixRobot(\"/dev/ttyUSB0\")\n    homing = (180.0, 23.0, 161.0, 110.0, 57.84, 220.0, 81.4, 129.0)\n    robot.homing_position(homing)\n    os.system(\"aplay \" + program_begins)\n\n    i = 0\n    while True:\n        robot.move_all_servos((178, 42, 145, 110, 58, 228, 70, 129))\n        time.sleep(0.2)\n        i += 1\n        if i \u003e= STEPS:\n            break\n        robot.move_all_servos((178, 21, 168, 110, 50, 216, 90, 129))\n        time.sleep(0.2)\n        i += 1\n        if i \u003e= STEPS:\n            break\n\n    robot.homing_position(homing)\n    robot.disable_torque()\n    os.system(\"aplay \" + program_complete)","metadata":{"language":"python","filename":"gait.py","linenums":false}},{"element_type":"product","content":"https://www.adafruit.com/product/2488","metadata":{"quantity":"1","description":"","name":"","url":"","featured":"false"}},{"element_type":"product","content":"https://www.adafruit.com/product/592","metadata":{"quantity":"1","description":"","name":"","url":"","featured":"false"}},{"element_type":"parts","content":"\n  \n    \u003cinput value=\"parts\" class=\"element_type\" id=\"user_page_elements_attributes_10_element_type\"\u003e\n    \u003cinput value=\"3224222\" class=\"id\" id=\"user_page_elements_attributes_10_id\"\u003e\n    \u003cinput value=\"10\" class=\"position\" id=\"user_page_elements_attributes_10_position\"\u003e\n    \u003cinput value=\"LX-16A\" class=\"part-name\" id=\"user_page_elements_attributes_10_part_name\"\u003e\n    \u003cinput value=\"https://www.amazon.com/dp/B073WR3SK9\" class=\"part-url\" id=\"user_page_elements_attributes_10_part_url\"\u003e\n    \u003cinput value=\"Serial Bus Servo\" class=\"part-description\" id=\"user_page_elements_attributes_10_description\"\u003e\n    \u003cinput value=\"8\" class=\"quantity\" id=\"user_page_elements_attributes_10_quantity\"\u003e\n    \u003cinput value=\"false\" class=\"featured\" id=\"user_page_elements_attributes_10_featured\"\u003e\n\n  \n    \u003ci class=\"fa fa-edit\"\u003e\u003c/i\u003e\n  \n\n  \u003cdiv class=\"product-column product-details-wrapper\"\u003e\n    \u003cdiv class=\"parts-header\"\u003e\n      \u003cdiv class=\"product-title\"\u003e\n          \u003ca href=\"https://www.amazon.com/dp/B073WR3SK9\" class=\"parts-name\" target=\"_blank\"\u003eLX-16A\u003c/a\u003e\n        \u003cspan class=\"product-quantity-badge\"\u003e(×8)\u003c/span\u003e\n      \u003c/div\u003e\n\n        \u003cdiv class=\"product-custom-description parts-description\"\u003eSerial Bus Servo\u003c/div\u003e\n    \u003c/div\u003e\n  \u003c/div\u003e\n\n  \u003cdiv class=\"parts-purchase\"\u003e\n    \u003cdiv class=\"product-buy-wrapper\"\u003e\n      \u003cspan class=\"btn-primary preview-btn\"\u003eBuy Now\u003c/span\u003e\n    \u003c/div\u003e\n  \u003c/div\u003e\n","metadata":{"quantity":"8","description":"Serial Bus Servo","name":"LX-16A","url":"https://www.amazon.com/dp/B073WR3SK9"}},{"element_type":"parts","content":"\n  \n    \u003cinput value=\"parts\" class=\"element_type\" id=\"user_page_elements_attributes_11_element_type\"\u003e\n    \u003cinput value=\"3224223\" class=\"id\" id=\"user_page_elements_attributes_11_id\"\u003e\n    \u003cinput value=\"11\" class=\"position\" id=\"user_page_elements_attributes_11_position\"\u003e\n    \u003cinput value=\"YB1203000-USB\" class=\"part-name\" id=\"user_page_elements_attributes_11_part_name\"\u003e\n    \u003cinput value=\"https://www.amazon.com/dp/B01M7Z9Z1N\" class=\"part-url\" id=\"user_page_elements_attributes_11_part_url\"\u003e\n    \u003cinput value=\"12V 3000mAh Power Bank, DC 12V/5V USB with Dual Output for LED Strip\" class=\"part-description\" id=\"user_page_elements_attributes_11_description\"\u003e\n    \u003cinput value=\"1\" class=\"quantity\" id=\"user_page_elements_attributes_11_quantity\"\u003e\n    \u003cinput value=\"false\" class=\"featured\" id=\"user_page_elements_attributes_11_featured\"\u003e\n\n  \n    \u003ci class=\"fa fa-edit\"\u003e\u003c/i\u003e\n  \n\n  \u003cdiv class=\"product-column product-details-wrapper\"\u003e\n    \u003cdiv class=\"parts-header\"\u003e\n      \u003cdiv class=\"product-title\"\u003e\n          \u003ca href=\"https://www.amazon.com/dp/B01M7Z9Z1N\" class=\"parts-name\" target=\"_blank\"\u003eYB1203000-USB\u003c/a\u003e\n        \n      \u003c/div\u003e\n\n        \u003cdiv class=\"product-custom-description parts-description\"\u003e12V 3000mAh Power Bank, DC 12V/5V USB with Dual Output for LED Strip\u003c/div\u003e\n    \u003c/div\u003e\n  \u003c/div\u003e\n\n  \u003cdiv class=\"parts-purchase\"\u003e\n    \u003cdiv class=\"product-buy-wrapper\"\u003e\n      \u003cspan class=\"btn-primary preview-btn\"\u003eBuy Now\u003c/span\u003e\n    \u003c/div\u003e\n  \u003c/div\u003e\n","metadata":{"quantity":"1","description":"12V 3000mAh Power Bank, DC 12V/5V USB with Dual Output for LED Strip","name":"YB1203000-USB","url":"https://www.amazon.com/dp/B01M7Z9Z1N"}},{"element_type":"parts","content":"\n  \n    \u003cinput value=\"parts\" class=\"element_type\" id=\"user_page_elements_attributes_12_element_type\"\u003e\n    \u003cinput value=\"3224224\" class=\"id\" id=\"user_page_elements_attributes_12_id\"\u003e\n    \u003cinput value=\"12\" class=\"position\" id=\"user_page_elements_attributes_12_position\"\u003e\n    \u003cinput value=\"Voltage Buck Coverter\" class=\"part-name\" id=\"user_page_elements_attributes_12_part_name\"\u003e\n    \u003cinput value=\"\" class=\"part-url\" id=\"user_page_elements_attributes_12_part_url\"\u003e\n    \u003cinput value=\"12V to to ~6-7V\" class=\"part-description\" id=\"user_page_elements_attributes_12_description\"\u003e\n    \u003cinput value=\"1\" class=\"quantity\" id=\"user_page_elements_attributes_12_quantity\"\u003e\n    \u003cinput value=\"false\" class=\"featured\" id=\"user_page_elements_attributes_12_featured\"\u003e\n\n  \n    \u003ci class=\"fa fa-edit\"\u003e\u003c/i\u003e\n  \n\n  \u003cdiv class=\"product-column product-details-wrapper\"\u003e\n    \u003cdiv class=\"parts-header\"\u003e\n      \u003cdiv class=\"product-title\"\u003e\n          \u003cspan class=\"parts-name\"\u003eVoltage Buck Coverter\u003c/span\u003e\n        \n      \u003c/div\u003e\n\n        \u003cdiv class=\"product-custom-description parts-description\"\u003e12V to to ~6-7V\u003c/div\u003e\n    \u003c/div\u003e\n  \u003c/div\u003e\n\n  \u003cdiv class=\"parts-purchase\"\u003e\n    \u003cdiv class=\"product-buy-wrapper\"\u003e\n      \u003cspan class=\"btn-primary preview-btn\"\u003eBuy Now\u003c/span\u003e\n    \u003c/div\u003e\n  \u003c/div\u003e\n","metadata":{"quantity":"1","description":"12V to to ~6-7V","name":"Voltage Buck Coverter","url":""}}]