※本產品原廠代理從國外進口,有些交期較長,下訂前請詢問!
Pyboard D-series with STM32F722 and WiFi/BT
PYBD-SF2-W4F2
The pyboard D-series is a compact, powerful and low-power microcontroller module that runs MicroPython. The SF2W model has a 216MHz CPU, 256k RAM and integrated WiFi/Bluetooth capabilities.
pyboard D 系列是運行 MicroPython 的緊湊、強大和低功耗的微控制器模塊。SF2W 型號具有 216MHz CPU、256k RAM 和集成 WiFi/藍牙功能。
Disclaimer: At this stage not all hardware features of this board are accessible from the software side, in particular Bluetooth classic. These features will be added over time.
免責聲明:在此階段,並非此板的所有硬件功能都可以從軟件方面訪問,尤其是藍牙經典。這些功能將隨著時間的推移而添加。
The concept for the D-series of pyboards is a miniature DIP-style form factor useful as both a standalone board and an embedded component for use in final products. On the underside is our WBUS header, a 40+40-pin mezzanine bus connector giving access to all power and IO ports in a highly compact form factor. The WBUS can be used to bring out the IO lines for easy access and prototyping, as well as providing a way to integrate the board into a larger system.
D 系列 pyboard 的概念是一種微型 DIP 式外形尺寸,可用作獨立電路板和用於最終產品的嵌入式組件。底部是我們的 WBUS 接頭,這是一個 40+40 針夾層總線連接器,可在高度緊湊的外形中訪問所有電源和 IO 端口。WBUS 可用於引出 IO 線以便於訪問和原型設計,以及提供將板集成到更大系統中的方法
The pyboard also provides native USB connectivity to provide direct and convenient access to the software running on the board. It can connect to your PC over USB, giving you a USB flash drive to save Python scripts and data files, and a serial Python prompt (a REPL) for instant programming.
pyboard 還提供本地 USB 連接,以提供對板上運行的軟件的直接和方便的訪問。它可以通過 USB 連接到您的 PC,為您提供一個 USB 閃存驅動器來保存 Python 腳本和數據文件,以及一個用於即時編程的串行 Python 提示符 (REPL)。
The pyboard runs MicroPython, which 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.
pyboard 運行 MicroPython,這是對 Python(3.4 版)編程語言的完全重寫,因此它適合併在微控制器上運行。它包括許多優化,因此它可以高效運行並使用很少的 RAM。
MicroPython runs bare-metal on the pyboard, and essentially gives you a Python operating system. The built-in pyb and machine modules contain 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 original pyboard.
MicroPython 在 pyboard 上運行裸機,本質上為您提供 Python 操作系統。內置的 pyb 和 machine 模塊包含用於控制板上可用外設的函數和類,例如 UART、I2C、SPI、ADC 和 DAC。觀看此視頻以了解原始 pyboard 的概述。
There are 4 main ways to control the pyboard/控制 pyboard 的主要方法有 4 種::
- 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.
- From file: The pyboard has a small, built-in filesystem which lives in external flash memory. 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. Scripts can also be pre-compiled to Python bytecode (so-called .mpy files) to enable faster loading at runtime.
- Via frozen code: Once an application has been developed it can be pre-compiled and frozen into the main firmware. This gives minimal overhead for RAM usage and start-up time. This is an advanced feature and requires you to recompile the C-based firmware.
To use the pyboard requires a micro USB cable. It works with Windows, Mac and Linux.
The main hardware features of this board are/特點:
- STM32F722IEK microcontroller
- 216 MHz Cortex M7 CPU with single-precision hardware floating point
- 512KiB internal flash ROM and 256KiB internal RAM
- 2MiB external QSPI flash with execute capabilities to extend internal flash
- Additional 2MiB external QSPI flash for user filesystem and storage
- Integrated, high-performance WiFi and Bluetooth 4.1 (classic and BLE) via Murata 1DX module (with CYW4343)
- TCP/IP and Bluetooth stacks run on the main microcontroller, fully customisable
- On-board fractal chip antenna for WiFi and Bluetooth
- uFL connector for attaching external antenna, selectable via RF switch
- Micro USB connector for power and serial communication
- Micro SD card slot, supporting standard and high capacity SD cards
- Real time clock with highly accurate pre-calibrated external oscillator
- Physical electrical connectivity via 24 through holes, and a 40+40 pin mezzanine bus connector
- 46 independent GPIO, with 24 available via through holes
- Additional 11 GPIO shared with SD card, USB, USR button, BT audio
- 2x I2Cs, 4x UARTs, 3x SPIs, 1x CAN interfaces
- 3x 12-bit analog to digital converters (ADC), available on 16 independent pins
- 2x 12-bit digital to analog converters (DAC), available on 2 independent pins
- 1x 3-colour RGB LED
- 1 reset and 1 user button
- On-board 3.3V LDO voltage regulator to supply main microcontroller
- Additional, user switchable, on-board 3.3V LDO voltage regulator to power SD card and external components
- 2 mounting points
- Custom DFU bootloader for easy upgrading of firmware
This device has FCC, CE, IC and RCM modular certification. FCC ID: 2AT9I-PYBD, IC number: 25382-PYBD.
For schematics please see
here. For further documentation please see
here