MicroPython Pyboard - v1.1

  • Product Code: AF2390
  • Location: F118
  • Availability: In Stock
  • R960.00 (price excl. VAT)


MicroPython Pyboard - v1.1

The pyboard is a compact and powerful electronics development board that runs MicroPhython. It connects to your PC over USB, giving you a USB flash drive to save your Python scripts, & a serial Python prompt (a REPL) for instant programming. Requires a micro USB cable, & will work with Windows, Mac & Linux. This is the original pyboard, which is more powerful than the pyboard Lite. It 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 optimizations so that it runs efficiently, & uses very little RAM.

It runs bare-metal on the pyboard, & essentially gives you a Python operating system. The built-in pyb module contains functions & classes to control the peripherals available on the board, such as UART, I2C, SPI, ADC, & DAC.

  • There are 3 main ways to control the pyboard.
    • REPL: Connecting to your PC via USB, the board appears as a USB virutal comms port (CDC VCP) & you can use any serial program to connect & get a Python REPL prompt. This allows you to instantly type & execute Python commands, just like you would when running Python on your PC. You can also redirect the REPL toa ny of the UARTs on the pyboard.
    • Remote Script: You can change from REPL to raw REPL mode by sending ctrl-A, & 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" & this will execute "script_to_run.py" on the pyboard, returing any output.
    • From File: The pyboard has a small, built-in fielsystem which lives in part of the flash memory of the micrcontroller. It also has an SD card slot if you want toe xtend the available storage. When you connect the pyboard to your PC, it appears as a USB flash storage device & you can access (mount) the internal filesystem & the SD card this way. If you copy a Python script to the filesystem & 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.

Quick Specs

  • STM32F405RG Microcontroller
  • 168 MHz Cortex M4 CPU With Hardware Floating Point
  • 1024 KiB Flash ROM & 192KiB RAM
  • Micro USB Connector For Power & Serial Communication
  • Micro SD Card Slot, Supporting Standard & High Capacity SD Cards
  • 3-Axis Accelerometer (MMA7660)
  • Real-Time Clock With Optional Battery Backup
  • 24 GPIO On Left & Right Edges & 5 GPIO On Bottom Row, Plus LED & Switch FPIO Available On Bottom Row
  • 3 x 12-Bit Analog To Digital Converters, Available On 16 Pins, 4 With Analog Ground Shielding
  • 2 x 12-Bit Digital To Analog (DAC) Converters, Acailable On Pins X5 & X6
  • 4 LEDs (Red, Green, Yellow & Blue)
  • 1 Reset & 1 User Switch
  • On-Board 3.3V LDO Voltage Regulator, Capable Of Supplying Up To 300mA, Input Voltage Range 3.6V to 10V
  • DFU Bootloader In ROM For Easy Upgrading Of Firmware

NOTE: SD card not included.

Tutorial Video




Resources

Shipping List

  • 1 x MicroPython Pyboard - v1.1


Tags: micropython, pyboard, v1.1, repl