|
发表于 2016-12-25 21:19:53
|
显示全部楼层
from http://www.micropython.org/
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.
The pyboard is the official MicroPython microcontroller board with full support for software features. The hardware has:
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 |
|