Skip to content

Latest commit

 

History

47 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MicroPython

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

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!

Libraries

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.

Acceleration

DAC (digital to analogue converter)

Display

  • SSD1306 Driver for the SSD1306 screens (works also with SSD1315).

Environment

  • SPS30 Driver for the particulate matter sensor SPS30 for the Raspberry Pi Pico.
  • SEN6x Driver for the environment sensor SEN66 and SEN63-C for the Raspberry Pi Pico.
  • SGP30 Example code for interfacing the SGP30 VOC and eCO2 sensor.
  • SGP40 Example code for interfacing the SGP40 VOC sensor.

Light

  • LTR390 Driver for the Ambient and UV light sensor LTR390 from Adafruit.
  • AS7341 example code for the 10 band optical light sensor for measureing different colours.

Location

  • VL53L4CD Example code for the range (0-20cm) sensor.

Magnetic Fields

Temperature and/or humidity or pressure

  • SHT4x Driver for the SHT4x Temperature and Humidity sensors. A bit outdated, but does still work.
  • BME680 example code for the BME680 temperature, humidity and pressure sensor.

MicroBIT platform

Robots

Git Submodules

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.

About

MicroPython libraries I use or created

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages