The Cedar Grove StringCar M0 Express is an ATSAMD21-based CircuitPython compatible board used to control a simple string car racer robot. The board is architecturally similar to the Adafruit Trinket M0 and ItsyBitsy M0 Express microcontroller boards with the addition of battery management and a DC motor controller. This board features JST connectors for the racer’s battery, motor output, and sensor input. LiPo battery management charge rate is 500mA. For sensor experimentation, a 3.3-volt Stemma-QT connection is available on-board. The micro-USB connector used for REPL operation, operational status data output, and battery charging. On-board flash memory size is 2MB.
The StringCar M0 Express board will not be sold. The GitHub repository will contain all design files and links for the BOM and the shared OSH Park project.
The string car racer is a simple one-motor robot that is suspended from a string using a pulley attached to the motor shaft. Its challenge is to race back and forth from one end of a taut string to the other. The fastest car wins. The controller board uses sensor switches to detect the ends of the string, calculate the string length, then control motor speed and braking to avoid string-end collisions.
The objective is to create a string car racer that can autonomously learn about its environment and adjust tradeoffs for speed and battery longevity. CircuitPython is used to easily add and interactively adjust performance features such as motor and battery efficiency, end-of-string collision avoidance, string length calculation, and predictive braking. Also, being able to watch its own battery status means that it’ll always return to the home end of the string when battery capacity begins to wane. Circuit Python also supports libraries that abstract string car functions, simplifying the primary code module to make it easier for novice programmers to get involved in customizing string car racer operation.
This is the latest stable release of CircuitPython that will work with the StringCar M0 Express.
Start here if you are new to CircuitPython.
Built-in modules available: _pixelbuf, analogio, audiocore, audioio, board, busio, countio, digitalio, displayio, math, microcontroller, msgpack, neopixel_write, nvm, os, pulseio, pwmio, random, rotaryio, storage, struct, supervisor, terminalio, time, touchio, usb_hid, usb_midi
This is the latest unstable release of CircuitPython that will work with the StringCar M0 Express.
Unstable builds have the latest features but are more likely to have critical bugs.
Built-in modules available: _pixelbuf, analogio, audiocore, audioio, board, busio, countio, digitalio, displayio, errno, math, microcontroller, msgpack, neopixel_write, nvm, os, pulseio, pwmio, random, re, rotaryio, storage, struct, supervisor, terminalio, time, touchio, usb_hid, usb_midi
Every time we commit new code to CircuitPython we automatically build binaries for each board and language. The binaries are stored on Amazon S3, organized by board, and then by language. Try them if you want the absolute latest and are feeling daring or want to see if a problem has been fixed.
All previous releases are listed on GitHub, with release notes, and are available for download from Amazon S3. They are handy for testing, but otherwise we recommend using the latest stable release. Some older GitHub release pages include the same binaries for downloading. But we have discontinued including binaries as assets on newer release pages because of the large number of files for each release.