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.
This board comes with headers soldered, as in the pictures above. The header pins are the HDR-PD8 product and are female with 56 total positions. These headers are compatible with standard 0.65mm square male pins (Arduino style).
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. Watch this video for an overview of the pyboard.
There are 3 main ways to control the pyboard:
python pyboard.py script_to_run.py
and this will execute script_to_run.py
on the pyboard, returning any output. main.py
then the board will execute this script when it starts up. This way you can run scripts without being connected to a PC. Main features of the hardware:
The two mounting tabs on the pyboard have perforations so that you can snap them off cleanly if needed.
See the feature table for a detailed list of the features of the board, and a comparison to the other pyboards. The schematics are available.
This pyboard comes in a small plastic ESD (anti-static) box.
Differences between PYBv1.0 and PYBv1.1: high-speed crystal changed from 8MHz to 12MHz; LDO changed from MCP1802 to MCP1703; USB VBUS power diode replaced with silicon diode; JST battery connector pads added with protection FET.