pip install micromelon

Micromelon Python Library

A dedicated Python module for controlling Micromelon Rovers and simulated rovers from any Python environment. Perfect for senior students ready to move beyond the Code Editor.

terminal
$ pip install micromelon
rover_control.py
config.py
sensors.py
README.md
1

Code in Any Python Environment

The Micromelon Python library gives students full control of their rover using standard Python. Use it in VS Code, PyCharm, Jupyter Notebooks, or any environment that runs Python.

VS Code ExtensionComing Soon

Micromelon for VS Code

Connect to your rover, run scripts, and view live sensor data without leaving your editor. Hit F5 to deploy your code to the rover instantly.

BLE

One-Click Connect

Connect to any rover by ID over Bluetooth Low Energy

Run with F5

Deploy and run your Python script on the rover instantly

Live Sensors

Real-time dashboard for ultrasonic, colour, IR, accelerometer & gyroscope

{ }

Code Snippets

Type mm- for ready-made templates for motors, sensors, LEDs & sounds

Micromelon VS Code extension showing rover connection, code, and live sensor data
>>>

Full Rover API

Control motors, read sensors, play sounds, and set LEDs with a clean, well-documented Python API.

SIM

Works with the Simulator

Connect to a simulated rover just as easily as a physical one. Test and iterate without hardware.

IDE

Use Your Own Editor

VS Code, PyCharm, Jupyter Notebooks, or a plain terminal. Students work in the tools real developers use.

AI

Advanced Projects

Combine the rover with other Python libraries for computer vision, data analysis, machine learning, and more.

From Blocks to Python

The Python library is the final step. Students who started with blocks in Junior and progressed through the Code Editor can now write professional Python.

Ready to Get Started?

Install the library and start controlling your rover in minutes.