Skip to content

MicroPython

Words

  • Python:
    • Python is the language itself.
    • Python has a large standard library and a vibrant community, making it suitable for a wide range of applications, from web development to data analysis, machine learning, and more.
  • CPython:
    • CPython is the default and most widely used implementation of the Python programming language.
    • When people refer to “Python” without specifying an implementation, they often mean CPython.
    • It is written in C and is the reference implementation of Python.
  • MicroPython:
    • MicroPython is a lean and efficient implementation of the Python 3 programming language that is optimized to run on microcontrollers and other resource-constrained environments.
  • CircuitPython
    • Fork of MicroPython by Adafruit for bigginers.
    • CircuitPython is a variant of the Python programming language specifically designed for programming microcontrollers and small embedded systems. It is aimed at making it easy for beginners and those with little programming experience to work with electronics and hardware.

Why MicroPython

  • Resource Efficiency:
    • MicroPython is designed to operate efficiently in environments with limited resources such as memory and processing power. This makes it suitable for small devices and embedded systems.
  • Ease of Programming
    • MicroPython maintains the simplicity and readability of Python’s syntax, making it accessible for developers familiar with Python.
  • Compatibility with Python Ecosystem:
    • MicroPython is designed to be compatible with the Python 3 language specification, which means developers can leverage their existing Python skills and knowledge when working with MicroPython.

About MicroPython

  • REPL:
    • Read-Eval-Print Loop
    • refers to an interactive programming environment(対話型プログラミング環境,対話インタプリタモード) where a user can input code, which is then sequentially read, evaluated, and the results are printed.

Last update: November 21, 2023