not logged in | [Login]
These pages host community generated documentation and examples of the features of MicroPython and the pyboard. We welcome your contributions.
If so, here's the basic stuff you need to read and know:
Community Contributed Projects to wet your appetite and spark ideas:
Usually you will want to connect different devices to your microcontroller, like sensors, displays, actuators and much more. Here you can find modules for different devices.
Drivers in the MicroPython source tree. These may be found under drivers:
NRF24L01 Provides two way checksummed radio communications with auto-retry in the 2.4GHz ISM band.
OneWire: generic driver for devices using the OneWire bus
CC3000 and CC3100: WiFi drivers
This site has drivers for several Inertial Measurement Units: MPU9150, MPU9250 and LSM9DS0. It also has other code for drones and robots including Madgwick sensor fusion and a driver for the BMP180 pressure (altitude) sensor.
LCD touch screens with SSD1963 Driver for medium sized (4.3 and 7 inch) colour LCD displays.
Touch GUI A touch interface library for the above displays.
A simple radio link between two Pyboards This uses the officially supported nRF24L01+ and provides a means to exchange arbitrary Python objects between the boards. Designed for ease of use.
e-paper display Supports Embedded Artists (EA) and Adafruit displays. EA support includes drivers for the onboard flash memory and LM75 temperature sensor.
Adafruit Ferroelectric RAM modules Allows these to be mounted as part of the pyboard filesystem or addressed as an array of bytes.
DS3231 Precision Real Time Clock. In addition to general use code is provided for using a DS3231 to calibrate the pyboard's RTC.
Another HD44780-compatible LCD driver module
A module for reading encoders using gray code error-checking
Network Protocol: SNMP, tested WiPy only
Cooperative scheduling using uasyncio Resources include a tutorial, drivers for debounced switches and pushbuttons with optional push, release, double-click and long press events, and a set of synchronisation primitives.
Threaded code library This offers an alternative to the official asyncio module for writing event driven code. It includes libraries to support HD44780 LCD's, debounced switches and pushbuttons with optional push, release, double-click and long press events.
Fast filter routines FIR (finite impulse response) filters for realtime data written in ARM assembler. Docs detail how to create a filter with custom characteristics.
Fourier Transform FFT in ARM assembler. Includes maths routines such as Cartesian to polar conversion.
Convert fonts to Python source A PC utility to convert ttf and otf files to MicroPython source which may optionally be frozen as bytecode. The file format is offered as a proposed standard.
Last edited by Peter Hinch, 2017-01-17 09:35:31