Home > Arduino & SCM Supplies > PyBoard
MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimised to run on microcontrollers and in constrained environments. The MicroPython pyboard is a compact electronic circuit board that runs MicroPython on the bare metal£¬ giving you a low-level Python operating system that can be used to control all kinds of electronic projects. MicroPython is packed full of advanced features such as an interactive prompt£¬ arbitrary precision integers£¬ closures£¬ list comprehension£¬ generators£¬ exception handling and more. Yet it is compact enough to fit and run within just 256k of code space and 16k of RAM. MicroPython aims to be as compatible with normal Python as possible to allow you to transfer code with ease from the desktop to a microcontroller or embedded system. MicroPython is a full Python compiler and runtime that runs on the bare-metal. You get an interactive prompt (the REPL) to execute commands immediately£¬ along with the ability to run and import scripts from the built-in filesystem. The REPL has history£¬ tab completion£¬ auto-indent and paste mode for a great user experience. MicroPython strives to be as compatible as possible with normal Python (known as CPython) so that if you know Python you already know MicroPython. On the other hand£¬ the more you learn about MicroPython the better you become at Python. In addition to implementing a selection of core Python libraries£¬ MicroPython includes modules such as "machine" for accessing low-level hardware. The pyboard is a compact and powerful electronics development board that runs MicroPython. It connects to your PC over USB£¬ giving you a USB flash drive to save your Python scripts£¬ and a serial Python prompt (a REPL) for instant programming. Requires a micro USB cable. Works with Windows£¬ Mac and Linux. MicroPython is a complete re-write of the Python (version 3.4) programming language so that it fits and runs on a microcontroller. It includes many optimisations so that it runs efficiently and uses very little RAM. MicroPython runs bare-metal on the pyboard£¬ and essentially gives you a Python operating system. The built-in pyb module contains functions and classes to control the peripherals available on the board£¬ such as UART£¬ I2C£¬ SPI£¬ ADC and DAC.