What Is MicroPython?
Meet the Language Behind Your Blocks
When you build a program in Clu-Blocks Pro, you work with colorful blocks.
But behind those blocks, something interesting happens:
BLOCKS → MICROPYTHON → D1 R32
Clu-Blocks Pro turns your blocks into code that the D1 R32 can run.
Don't worry. You don't need to memorize that code.
Let's discover what it means.
What Is MicroPython?
MicroPython is a programming language designed to run on small computers called microcontrollers.
Our D1 R32 uses a microcontroller.
MicroPython gives us a way to tell it what we want our program to do.
Think of it like this:
- YOUR IDEA ↓
- CLU-BLOCKS PRO ↓
- MICROPYTHON ↓
- D1 R32
Python and MicroPython
You may have heard of Python.
Python is a popular programming language.
MicroPython brings much of the Python programming experience to much smaller devices called microcontrollers.
For now, you only need to remember:
- PYTHON: Programming language
- MICROPYTHON: Python designed to work on microcontrollers
What Is a Microcontroller?
A microcontroller is a small programmable computer that can be used inside electronic projects.
Later in Robotics, our D1 R32 will interact with things such as:
🔘 Buttons
💡 Lights
🌡️ Sensors
🔊 Buzzers
📺 Displays
⚙️ Servos and motors
But we don't need to learn those yet.
That's what Robotics is for.
For now: MICROCONTROLLER
A small computer we can program
Where Does Clu-Blocks Pro Fit?
This is the important part.
With Clu-Blocks Pro, you don't have to start by typing every MicroPython instruction yourself.
You can build your program visually:
- BLOCK ↓
- Clu-Blocks Pro creates the corresponding code.↓
- MICROPYTHON ↓
- The program can run on the: ↓
- D1 R32 ↓
- So the blocks and MicroPython are two ways of looking at your program.
Remember This
You only need three ideas from this lesson:
1.- MicroPython: is a programming language for microcontrollers.
2.- Clu-Blocks Pro: lets us build programs visually.
3 .- The blocks become MicroPython: that our D1 R32 can run.
That's it.
