Skip to main content

SMARS Robot Python Library

Project description


Screwless Modular Assemblable Robotic System

Build Status

Visit for more information about this project. The site includes build instructions, videos, an interview with the designer and much more.

About this library

This library will enable you to get the quad robot walking and detecting its environment.

Link to thingiverse original model:

Link to Quad version

Version 2.0 Released

Version 2.0 has now been released, including:

  • fixes for the walking cycle
  • new Morse code feature - use tap_message() to tap out message
  • changing the name with name = "name" also taps out the new name
  • Added a new config function to return the current configuration
  • Added a new identify feature, for identifying each limb - use identify(channel) to make each limb wiggle one at a time
  • added a new channel property so that PCA9685 channels can be set at runtime

Overview and Background

From the Creator - Kevin Thomas

This robot is really easy and cheap to 3d print, build and program. It can be assembled without screws or soldering and it's modular so it can be adapted for different purposes. I'm Swiss, so I don't know American scholastic system but I would use SMARS in last year of middle school, high school or universities/ colleges. There is more "open electronics" compared to a Lego NXT or similar, so students need a few knowledges about security, electrical laws and so on. It can be use to improve software development skills, CAD skills or electronics skills, students can design their own modules and customize their SMARS.

Programming SMARS

You can use most common small hardware platforms as the brains inside SMARS, the Arduino platform (and compatible) was used in the original design as its cheap, commonly available, and the tools for programming it are easy to use.

For the quad version of the robot a Raspberry Pi Zero was used. The language commonly used on the Pi (and where it gets it name from) is Python. A library module has been written for both Arduino and Python to help you get started.

Getting the Arduino IDE

Visit to download the latest Arduino Integrated Development Environment (IDE).

Learn Python

To quickly get up to speed with Python, checkout the SMARS Learning Platform -

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smars_library-1.0.8.tar.gz (13.3 kB view hashes)

Uploaded Source

Built Distribution

smars_library-1.0.8-py3-none-any.whl (12.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page