The MicroPython pyboard is a compact and advaced electronic development Board that runs on MicroPython and gives you inbuilt Python operating system(OS) that can be used easily to control many kinds of electronic projects.With MicroPython beginners can easily use simple Python code to control hardware instead of having complex low-level languages like C or C++ (Arduino programming).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.
MicroPython is a bundle of advanced features such as an interactive prompt, arbitrary precision integers, closures,generators, exception handling, list comprehension, and more. It is compact enough to fit and run within just 256k of code space and 16k of RAM.
MicroPython Board consist of STM32F405RG microcontroller with a 168 MHz Cortex M4 CPU, 1024KiB flash ROM, and 192KiB of RAM. Each pyboard is also equipped with a microUSB connector for power and serial communications, a microSD card slot, an MMA7660 3-axis accelerometer, 31 GPIO, four LEDs, a reset switch and a user switch.
MicroPython is efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimized to run on microcontrollers in constrained environments.
MicroPython aims to be as compatible with normal Python as possible to transfer code with ease from the desktop to a microcontroller or embedded system.
- MicroPython pyboard
- STM32F405RG microcontroller
- Inbuilt OS (python)
- Compact size
- With Latest Firmware
There are 3 main ways to control the pyboard:
- From file: The pyboard has a small, built-in filesystem which lives in part of the flash memory of the microcontroller. It also has an SD card slot if you want to extend the available storage. When you connect the pyboard to your PC, it appears as a USB flash storage device and you can access (mount) the internal filesystem and the SD card this way. If you copy a Python script to the filesystem and call it 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.
- REPL: Connecting to your PC via USB, the board appears as a USB virtual comms port (CDC VCP) and you can use any serial program to connect and get a Python REPL prompt. This allows you to instantly type and execute Python commands, just like you would when running Python on your PC. You can also redirect the REPL to any of the UARTs on the pyboard.
- Remote script: You can change from REPL to raw REPL mode by sending ctrl-A, and then in raw REPL mode you can send an arbitrary Python script to the board for it to execute immediately. A Python script is available which makes using this mode very simple: you just run python pyboard.py script_to_run.py and this will execute script_to_run.py on the pyboard, returning any output.
- STM32F405RG microcontroller
- 168 MHz Cortex M4 CPU with hardware floating point
- 1024KiB flash ROM and 192KiB RAM
- Micro USB connector for power and serial communication
- Micro SD card slot, supporting standard and high capacity SD cards
- 3-axis accelerometer (MMA7660)
- Real time clock with optional battery backup
- 24 GPIO on left and right edges and 5 GPIO on bottom row, plus LED and switch GPIO available on bottom row
- 3x 12-bit analog to digital converters, available on 16 pins, 4 with analog ground shielding
- 2x 12-bit digital to analog (DAC) converters, available on pins X5 and X6
- 4 LEDs (red, green, yellow and blue)
- 1 reset and 1 user switch
- On-board 3.3V LDO voltage regulator, capable of supplying up to 250mA, input voltage range 3.6V to 16V
- DFU bootloader in ROM for easy upgrading of firmware
- Supported in Windows, Mac and Linux.
For more information on using Micro Python PyBoard
- 1 x MICROPYTHON PYBOARD STM32F405 CORE MICROCONTROLLER DEVELOPMENT BOARD PYB1.1 INBUIT OS