Working with sensors creates quite a few libraries. Some are written by me, others are adapted and even more are just used.
Example code for interfacing the Raspberrypi Pico
- Motors Control motors with the Raspberry Pi Pico
- Internal Temperature Sensor Read the internal temperature sensor with a loop!
Tips and tricks explaining some coding concepts or useful tools within the micropython ecosystem.
- Threading Threading on the Raspberrypi Pico. Allowing two while loops running at the same time!
- WatchDog Use the watchdog which reboots the Pico when something doesn't work!
In the libraries subfolder there are submodules with my own modules. Here is a list of both my own code, drivers adapted from others code or links to drivers written by others.
- LIS3DHTR Driver for the Grove - 3-Axis acceleromter for the Rasbperry Pi Pico.
- MSA301 Library for the Adafruit MSA301 accelerometer. I had to change the device address (from 0x26 into 0x62, else it did not work).
- SSD1306 Library for the SSD1306 screens (works also with SSD1315).
- SPS30 Driver for the SPS30 for the Raspberry Pi Pico.
- SEN66 Driver for the SEN66 for the Raspberry Pi Pico.
- TLV493D Driver for the TLV493D, based on the work from Adafruit and Maarten Doves.
- SHT45
- Driver for the SHT5x Temperature and Humidity sensors. A bit outdated, but does still work.
- CutebotPro MicroPython library for the CutebotPro with a Micro:bit running MicroPython.
If you want all submodules when this repository is cloned use
git clone --recurse-submodules
All data from the submodules will be pulled to their respective directories.