https://github.com/ddland/mp_cutebotpro
MicroPython driver for the CuteBot Pro and the MicroBit
https://github.com/ddland/mp_cutebotpro
cutebot microbit micropython
Last synced: about 1 month ago
JSON representation
MicroPython driver for the CuteBot Pro and the MicroBit
- Host: GitHub
- URL: https://github.com/ddland/mp_cutebotpro
- Owner: ddland
- License: mit
- Created: 2024-06-01T13:01:04.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-01T13:46:04.000Z (about 2 years ago)
- Last Synced: 2025-01-08T17:39:57.106Z (over 1 year ago)
- Topics: cutebot, microbit, micropython
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mp_cutebotpro
MicroPython driver for the [CuteBot Pro](https://shop.elecfreaks.com/products/elecfreaks-smart-cutebot-pro-v2-programming-robot-car-for-micro-bit) and the [Micro:Bit](https://microbit.org/).
## Status
Work in progress. Library can be used for (almost) all hardware on the CuteBot Pro, but is not yet documentend and/or tested.
# MicroPython
I downloaded the `hex`-file from [MicroBit - MicroPython](https://github.com/microbit-foundation/micropython-microbit-v2/releases), version 2.1.12. Copying the `.hex` file to the USB-drive (microbit) should be enough.
## Running
Upload the code to the micro:bit (using [Thonny](thonny.org) or another IDE). The main.py is an example where the PID line-follow is started once the A-button is pressed.
### Error Codes
- [X] When the I2C device (motorboard, LEDs, sensors) on the CuteBot Pro is not available, a cross is displayed on the micro:bit.
Switching on the power to the motorboard usually fixes this error.