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
Display drivers: The official LCD touch display uses the LCD160CR controller. SSD1306 OLED devices are also supported.
DHT11 and DHT22 temperature and humidity sensors
SD card: supports SD cards connected by SPI bus.
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.
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.
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.
A module for reading encoders using gray code error-checking
e-paper display Supports Embedded Artists (EA) and Adafruit displays. EA support includes drivers for the onboard flash memory and LM75 temperature sensor.
Drivers and nano-GUI for Adafruit OLED's Supports 1.5", 1.27" and 0.96" Adafruit colour OLED displays.
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.
Touch GUI for official Pyboard LCD display For displays using the LCD160CR controller.
Network Protocol: SNMP, tested WiPy only
MQTT A publish/subscribe protocol for the internet of things. Two projects:
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. Also fast non-realtime routines for decimation, convolution and cross- and auto-correlation.
Fourier Transform FFT in ARM assembler. Includes maths routines such as Cartesian to polar conversion.
GPS NMEA sentence parser Decode data from GPS devices.
GPS MTK command generation Generate commands for GPS moules based on the popular MTK33X9 GPS Chipset.
Phase measurement Use Pyboard to measure the phase difference between sinusoidal signals.
Last edited by Peter Hinch, 2018-10-24 09:22:41