I'm looking for a slightly higher level Micropyhon library for pi-pico based robot kits. There seem to be many simple robot kits with similar hardware on the market at reasonable prices, but the software that comes with it tend to piece-meal demos of how to use a small featureset at a time with no overall guide to how to integrate things. E.g. a BT "remote control" example or an object avoidance example. There is very little guide to how to integrate the features to create a more full featured robot. Generally the code is poorly factored making it hard to combine functionality.

Is there a higher level robot library for Micropython that abstracts somewhat over the hardware and comes with good examples of how to integrate features? It would be great if it has a sensible main-loop that allows different hardware functionalities to be integrated without having to do a large amount of refactoring first. I've done a significant amount of google searching (e.g. "abstract microphython robotics library" and have not been able to find anything fitting the bill.

As an example, I recently got a Waveshare Pico Go that seems to have a reasonably standard assortment of hardware modules (differential drive wheels, ultrasonic sensors, various IR sensors, a BT module, display, some neopixel leds, etc) for a family member. While it comes with some examples of how to use the hardware features they are all coded very ad-hoc in a way that makes it very hard for an inexperienced coder to combine them. It looks like another questioner on this stack also ran into similar issues.

  • Maybe try robotics.stackexchange.com
    – Milliways
    Jul 24, 2023 at 11:51
  • Ah yes, "abstraction" is the key idea; another is "system integration". At a even lower level, "mircopython" for Rpi pico and ESP, ...
    – tlfong01
    Jul 25, 2023 at 1:17


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.