Ce fichier existe également en FRANCAIS
This repository contains specific MicroPython drivers for Pyboard (requiring more memory or specific hardware support).
The drivers "plateform agnostic" based on the machine API are stored in the esp8266-upy repository.
The code and sample here are also used in the MCHobby's French documentation Wiki about the Pyboard.
Here is a description of the libraries available in this repository. Each sub-folders contain README file with additionnal informations about the driver, examples and wiring.
Explore it by:
- Interface: FEATHERWING, GPIO, HAT, I2C, NCD, ONEWIRE, PYBSTICK, QWIIC, SPI, STEMMA, UART, UEXT, UNO-R3
- Manufacturer: ADAFRUIT, GARATRONIC, MCHOBBY, NCD, NONE, OLIMEX, POLOLU, SPARKFUN
Folder | Description |
---|---|
FEATHERWING | Components : Interfaces : FEATHERWING Feather Interface for Pyboard allowing to control FeatherWings. Tested with : PYBOARD Manufacturer : ADAFRUIT |
NCD | Components : Interfaces : NCD Wiring an NCD connector to Pyboard. Tested with : PYBOARD Manufacturer : NCD |
PYBStick | Components : Interfaces : PYBSTICK PYBStick: an affordable MicroPython board for all projects Tested with : PYBSTICK Manufacturer : |
PYBStick-feather-face | Components : Interfaces : PYBSTICK, FEATHERWING, UEXT Interface board between PYBStick and FeatherWing expansion board (from Adafruit Industries) Tested with : PYBSTICK Manufacturer : GARATRONIC, ADAFRUIT |
PYBStick-hat-face | Components : Interfaces : PYBSTICK, HAT Interface board between PYBStick and HAT for Raspberry-Pi Tested with : PYBSTICK Manufacturer : GARATRONIC |
QWIIC | Components : Interfaces : QWIIC, STEMMA Wiring a QWIIC or STEMMA connector to Pyboard. Tested with : PYBOARD Manufacturer : SPARKFUN, ADAFRUIT |
UEXT | Components : Interfaces : UEXT Wiring an UEXT connector to Pyboard. Tested with : PYBOARD Manufacturer : OLIMEX |
UNO-R3 | Components : OLED, SSD1306 Interfaces : UNO-R3 Interface Arduino UNO R3 for the Pyboard Tested with : PYBOARD Manufacturer : GARATRONIC |
UPPY | Components : Interfaces : FEATHERWING, NCD, STEMMA, QWIIC, UEXT UPPY (alpha) : Universal Prototyping interface for Pyboard. Tested with : PYBOARD, PYBD Manufacturer : ADAFRUIT, OLIMEX, SPARKFUN, NCD |
UniPi-MicroPython-Automation | Components : Interfaces : I2C Create a MicroPython Automation controler with PYBStick and UniPi Tested with : PYBSTICK Manufacturer :
|
ads1015-ads1115 | Components : ADS1015, ADS1115, ADA1085 Interfaces : I2C ADC converter (Analog to Digital) 4 channel allowing analog reading and differential reading. L'ADS1115 have a internal amplifier (programmable) that can be used to read very small voltage. Tested with : PYBOARD Manufacturer : ADAFRUIT
|
ctrl-panel | Components : MCP23017, OLED, SSD1306 Interfaces : I2C, HAT Control panel at HAT FormFactor for MicroPython applications or Raspberry-Pi. Tested with : PYBSTICK Manufacturer : GARATRONIC |
eth | Components : ETHERNET-FEATHERWING, WIZNET-W5500 Interfaces : SPI Use a Wired Ethernet connection with a Wiznet W5500 Ethernet controler. Tested with : PYBOARD Manufacturer : ADAFRUIT |
keypad-4x4 | Components : Interfaces : GPIO Use a 4x4 keypad with a MicroPython Pyboard microcontroler Tested with : PYBOARD Manufacturer : |
lfpwm | Components : Interfaces : GPIO Low frequency PWM (for high inertia devices) Tested with : PICO Manufacturer : |
mma7660 | Components : MMA7660 Interfaces : I2C Use the MMA7660 accelerometer available on the Pyboard original. Tested with : PYBOARD Manufacturer : |
mod-esp8266 | Components : MOD-ESP8266 Interfaces : UART Use an ESP8266 under AT command to grab a WiFi connexion on the Pyboard. Tested with : PYBOARD Manufacturer : OLIMEX |
modvga | Components : MOD-VGA Interfaces : UEXT Contrôle an Gameduino based VGA adapter through a UEXT connector. Tested with : PYBOARD Manufacturer : OLIMEX |
motorskin | Components : L293D, HC-SR04 Interfaces : GPIO Motor skin for MicroPython PyBoard + ultrasonic distance sensor. Tested with : PYBOARD Manufacturer : MCHOBBY |
ressource | Components : Interfaces : *** RESSOURCES *** Fritzing, Pinouts and schematic for Pyboard and Pyboard-D (PYBD). Tested with : PYBOARD, PYBD Manufacturer : |
servorobot | Components : PCA9685 Interfaces : I2C Make or receives call as well as SMS messages with MicroPython. Tested with : PYBOARD Manufacturer : ADAFRUIT |
sim-modem | Components : SIM800, HAT-NADHAT-GSM Interfaces : UART Use a 4x4 keypad with a MicroPython Pyboard microcontroler Tested with : PYBOARD, PYBSTICK Manufacturer : GARATRONIC |
usbhid | Components : Interfaces : Examples to use the Pyboard as HID peripheral (mouse, keyboard) Tested with : PYBOARD Manufacturer : |
zumo-robot | Components : Interfaces : UNO-R3 Drive the Robot Zumo for Arduino with a MicroPython Pyboard microcontroler Tested with : PYBOARD Manufacturer : POLOLU |
RShell is a wonderfull tool used to edit/transfert/repl your board running MicroPython from a single serial connexion (or Serial over bluetooth).
It is a really useful that would be great to learn... with RShell, you can access the MicroPython filesystem (in Flash memory) to edit and copy files.
The wonderfulnes of RShell, is that it also works great with ESP8266 (thankfully because there are no way to emulate USB Mass Storage on ESP8266, a flash drive like is work with the genuine PyBoard).
- French tutorial on RShell
- Rshell GitHub - with english documentation and installation instruction.
- rshell-esp8266.sh - to update. Calls RShell with a small size exchange buffer (needed for ESP8266).
WARNING : On a ESP8266 it is necessary to reduce the exchange buffer... otherwise, it may corrupt the MicroPython filesystem (and it would be necessary to re-flash the ESP8266 with MicroPython) :-/ See the file rshell-esp8266.sh suggested in this repository.
Many MicroPython drivers are already available on the esp8266-upy GitHub
There are many Adafruit drivers (various plateforms) on this Github (Tony Dicola)
And some IMU (inertial sensor) driver on Github