Skip to main content

library to implement the Myro API with the Sparki robot

Project description

This project implements libraries for the Sparki robot <http://arcbotics.com/products/sparki/> to work through Python over a Bluetooth connection. It is intended to help educators who are teaching using the Sparki and/or Python.

Conceptually, the library which is loaded on the robot is simply an interpreter for commands the Sparki receives over its Serial1 (Bluetooth) port. You could implement a complementary library on any platform that you like to send the commands. In this case, I have implemented a library in Python which makes use of the pyserial library to send those commands. The library on the Sparki does not implement all the commands available on the Sparki. Specifically, there are several LCD commands which I have been unable to fit into the Sparki’s memory. As of version 1.0.0 of the Sparki library, it consumes 28,650 bytes of the 28,672 bytes available on the little robot. Perhaps programmers more skilled than I can fit more on there.

The Python part of the library implements much of the IPRE (Institute for Personal Robotics in Education <http://www.roboteducation.org/>) Myro API (API reference at <http://calicoproject.org/Calico_Myro>). This API was originally chosen because the original author of this project taught (or teaches, depending on when you read this) a class making use of that program. A free textbook exists to teach that program may be found at <http://calicoproject.org/Learning_Computing_With_Robots_Using_Calico_Python>. The Python library here does not implement all of that library – in particular, anything having to do with the camera cannot be implemented on Sparki because Sparki does not have that hardware.

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

sparki_learning-1.1.6.zip (25.1 kB view details)

Uploaded Source

File details

Details for the file sparki_learning-1.1.6.zip.

File metadata

  • Download URL: sparki_learning-1.1.6.zip
  • Upload date:
  • Size: 25.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sparki_learning-1.1.6.zip
Algorithm Hash digest
SHA256 65d061dbe51c67a7ca0afb14978427c2852c6e20696152ed7b6ddc2e3f70a163
MD5 5fc842117fd01f0b74205235752d258d
BLAKE2b-256 33bc292f75162bd4f43f54d9015c5c96d898ecd5b5fbf2074861373b6e815f1d

See more details on using hashes here.

Supported by

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