MicroPython Library & Demos for the Raspberry Pi Pico series
We have MicroPython libraries available for several of our boards. You can find all of the libraries and demos from GitHub at our MicroPython Libraries GitHub Repository
Downloading and Installing the library
To download to your Raspberry Pi, type in the terminal:
git clone https://github.com/abelectronicsuk/ABElectronics_MicroPython_Libraries.git
To install the MicroPython Library, use the Thonny Python IDE from Thonny
Create a file for your chosen board and copy the contents of the Python file into that board's directory. For example, for the ADC DAC Pi, create a new file in thonny called ADCDACPi.py, copy contents from ADCDACPi.py into the new file, and save it onto the Raspberry Pi Pico board.
Create a second file where your main program will reside and import the board library at the program's top.
For example:
from ADCDACPi import ADCDACPi
Run with "Run Current Command" or F5 in Thonny.
Also useful for your Raspberry Pi project
Temperature & Sensing
1 Wire Pi Plus
Connect dozens of 1-Wire sensors - temperature, iButtons, EEPROMs - via a single GPIO pin. Stacks directly on the 40-pin header.
Analogue I/O
ADC Pi
Read up to 8 analogue inputs - perfect for pairing with your temperature sensors or other analogue-output devices.
All-in-one
Expander Pi
Combines ADC, DAC, 32 GPIO ports and a real-time clock on one board. The most versatile board for complex Raspberry Pi projects.