新網站功能測試中,非最終報價且無法下單,敬請見諒!

帶加速度計的 MicroPython pyboard lite v1.0

MicroPython pyboard lite v1.0 with accelerometer

貨號 102990807
售價 977.99 (未稅)
含營業稅 1,026.89
廠商庫存 0

原始網址: https://www.seeedstudio.com/MicroPython-pyboard-lite-v1.0-with-accelerometer-p-2810.html

描述

pyboard 是一個運行 MicroPython 的緊湊而強大的電子開發板。它通過 USB 連接到 PC,為您提供 USB 閃存驅動器以保存您的 Python 腳本,以及一個用於即時編程的串行 Python 提示符(REPL)。需要一個微型 USB 電纜。適用於 Windows,Mac 和 Linux。

MicroPython 是對 Python(3.4 版)編程語言的完整重寫,因此它適合併在微控制器上運行。它包含許多優化,以便高效運行並使用非常少的 RAM。

MicroPython 在 pyboard 上運行裸機,基本上為您提供了一個 Python 操作系統。內置的 pyb 模塊包含控制板上可用外設的函數和類,例如 UART,I2C,SPI,ADC 和 DAC。

有三種主要的方法來控制 pyboard:

  • REPL:通過 USB 連接到 PC,該板顯示為 USB 虛擬通信端口(CDC VCP),您可以使用任何串行程序連接並獲取 Python REPL 提示。這允許您立即鍵入並執行 Python 命令,就像在 PC 上運行 Python 時一樣。您也可以將 REPL 重定向到 pyboard 上的任何 UART。

  • 遠程腳本:您可以通過發送 ctrl-A 從 REPL 更改為原始 REPL 模式,然後在原始 REPL 模式下,您可以將任意 Python 腳本發送到板上以便立即執行。一個 Python 腳本可用,這使得使用這種模式非常簡單:你只需運行 python pyboard.py script_to_run.py,這將在 pyboard 上執行 script_to_run.py,返回任何輸出。

  • 來自文件: pyboard 具有一個小型內置文件系統,位於微控制器的部分閃存中。如果您想擴展可用存儲空間,它也有一個 SD 卡插槽。將 pyboard 連接到 PC 時,它顯示為 USB 閃存設備,您可以通過這種方式訪問(掛載)內部文件系統和 SD 卡。如果您將 Python 腳本複製到文件系統並將其命名為 main.py,那麼板子將在啟動時執行此腳本。這樣您就可以在不連接到 PC 的情況下運行腳本。

Key Features.jpg

  • STM32F411RE 微控制器

  • 具有硬件浮點的 96 MHz Cortex M4 CPU

  • 512KiB 閃存 ROM 和 128KiB RAM

  • Micro USB 連接器,用於電源和串行通信

  • Micro SD 卡插槽,支持標準和高容量 SD 卡

  • 左邊緣和右邊緣上的 24 個 GPIO 以及底部行上的 5 個 GPIO,以及底部行上的 LED 和開關 GPIO

  • 1 個 12 位模數轉換器,可在 16 個引腳上使用,4 個模擬接地屏蔽

  • 4 個 LED(紅色,綠色,黃色和藍色)

  • 1 個重置和 1 個用戶開關

  • 板上 3.3V LDO 電壓調節器,能夠提供高達 250mA 的輸入電壓範圍 3.6V 至 16V

  • ROM 中的 DFU 引導加載程序可輕鬆升級固件

在黑板上的兩個安裝標籤上有穿孔,因此如果需要的話,您可以將它們完全折斷

點擊這裡查看有關 MicroPython 的參考資料,原理圖和更多文檔。

注意:

MicroUSB 電纜不包括在內,但您可以從商店選購一個!

Part List.jpg

1 個帶加速度計的 MicroPython pyboard lite v1.0


技術細節

外形尺寸 120 毫米 x 45 毫米 x 8 毫米
重量 GW 18g
電池排除

Description

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. 

There are 3 main ways to control the pyboard:

  • 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 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.

Key Features.jpg

  • STM32F411RE microcontroller

  • 96 MHz Cortex M4 CPU with hardware floating point

  • 512KiB flash ROM and 128KiB RAM

  • Micro USB connector for power and serial communication

  • Micro SD card slot, supporting standard and high capacity SD cards

  • 24 GPIO on left and right edges and 5 GPIO on bottom row, plus LED and switch GPIO available on bottom row

  • 1x 12-bit analog to digital converter, available on 16 pins, 4 with analog ground shielding

  • 4 LEDs (red, green, yellow and blue)

  • 1 reset and 1 user switch

  • oOn-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

The two mounting tabs on the pyboard have perforations so that you can snap them off cleanly if needed

Clickhere for references, schematics, and more documentation on the MicroPython.

Note:

MicroUSB cable not included, but you can pick one up from thestore!

Part List.jpg

1 x MicroPython pyboard lite v1.0 with accelerometer 



Technical Details

Dimensions 120mm x 45mm x 8mm
Weight G.W 18g    
Battery Exclude