Git Product home page Git Product logo

simple-quadruped-robot's Introduction

Simple-Quadruped-Robot

Code and CAD models for a Simple Quadruped Robot.

Installing Circuitpython and Mu

The code is written on CircuitPython, which is a stripped down version of Python, made for low power microcontroller boards. The steps to install CircuitPython on RP2040 boards, such as Raspberry Pi Pico can be found here. The editor I used is called Mu, it is a pretty lightweight, simple enough editor that works with microcontrollers. It can be installed from here.

Transferring Files to Pi Pico

Plug in the Pi Pico after installing Circuitpython, you will get access to a drive on the Pi Pico. Open the lib folder and paste these files and folders:

  1. adafruit_bus_device
  2. adafruit_register
  3. adafruit_pca9685.mpy
  4. CustomLib.py

The first three are from the libraries of CircuitPython. The ones on this repository works fine but your free to download the latest version of the CircuitPython and the updated libraries from their official site.

Now paste the code.py file into the root of the drive. Do not rename the files.

The CustomLib.py file contains a list of parameters that can characterise the movement, like step time, length of strides, max height leg should rise and such.

The code.py file contains a line of code that waits for and Enter key press from user on REPL console. This was done to prevent the robot just starting everytime it's plugged in. You can disable it by just deleting that line. There will be a delay of 2s after code starts before the robot starts moving. This can also be edited as per need.

CAD Models

I have also uploaded the CAD files for the robot, the same is also uploaded in the hackster site for the project.

simple-quadruped-robot's People

Contributors

rbnsmathew avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.