https://github.com/perfecxx/python-mbot2
Control mBot2 with Python
https://github.com/perfecxx/python-mbot2
makeblock mbot2 mbuild python
Last synced: 9 months ago
JSON representation
Control mBot2 with Python
- Host: GitHub
- URL: https://github.com/perfecxx/python-mbot2
- Owner: PerfecXX
- License: mit
- Created: 2024-01-28T05:24:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-20T07:55:29.000Z (over 1 year ago)
- Last Synced: 2024-10-20T14:49:00.582Z (over 1 year ago)
- Topics: makeblock, mbot2, mbuild, python
- Language: Python
- Homepage:
- Size: 114 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mBot2 Python
This project is a collection of **example code (Examples)** for controlling the **mBot2 (robot)** and **CyberPi (main control board)** using the Python programming language. It's especially useful for those who want to program independently, beyond just using mBlock.
Often, working with mBot2 using Python can be challenging due to limited official documentation or libraries. This project was created to be a **reliable resource and starting point** that helps you:
* **Learn and experiment** with writing Python code to control various components of mBot2.
* **Develop your own projects** by leveraging Python to unlock the full potential of mBot2 and CyberPi.
---
## Example Usage
We've organized the code examples into clear, navigable categories:
* **[CyberPi](https://github.com/PerfecXX/Python-mBot2/tree/main/example/cyberpi)**
* [Audio](https://github.com/PerfecXX/Python-mBot2/tree/main/example/cyberpi/04-Audio)
* [LED](https://github.com/PerfecXX/Python-mBot2/tree/main/example/cyberpi/01-RGB%20LED)
* [Display](https://github.com/PerfecXX/Python-mBot2/tree/main/example/cyberpi/03-Display)
* [Motion Sensing](https://github.com/PerfecXX/Python-mBot2/tree/main/example/cyberpi/05-Motion%20Sensing)
* [Sensing](https://github.com/PerfecXX/Python-mBot2/tree/main/example/cyberpi/02-Sensing)
* [LAN](https://github.com/PerfecXX/Python-mBot2/tree/main/example/cyberpi/07-LAN)
* [AI](https://github.com/PerfecXX/Python-mBot2/tree/main/example/cyberpi/09-AI)
* [IoT](https://github.com/PerfecXX/Python-mBot2/tree/main/example/cyberpi/08-Cloud)
* **[mBot2 Shield](https://github.com/PerfecXX/Python-mBot2/tree/main/example/mBot2)**
* [mBot2 Chassis](https://github.com/PerfecXX/Python-mBot2/tree/main/example/mBot2/01-mBot2%20Chassis)
* [mBot2 Extension Port](https://github.com/PerfecXX/Python-mBot2/tree/main/example/mBot2/02-mBot2%20Extension%20Port)
* **[mBuild](https://github.com/PerfecXX/Python-mBot2/tree/main/example/mbuild)**
* [Ultrasonic Sensor 2](https://github.com/PerfecXX/Python-mBot2/tree/main/example/mbuild/01-Ultrasonic%20Sensor2)
* [Quad RGB Sensor](https://github.com/PerfecXX/Python-mBot2/tree/main/example/mbuild/02-Quad%20RGB%20Sensor)
* [Bluetooth Controller](https://github.com/PerfecXX/Python-mBot2/tree/main/example/gamepad)
---
## Project
Click [**Here**](https://github.com/PerfecXX/Python-mBot2/tree/main/project) to explore more projects!
---
## Tools
Click [**Here**](https://github.com/PerfecXX/Python-mBot2/tree/main/tools) to explore more tools!