A Micropython project using a list of optional PiicoDev modules. Each project is independent of each other so should work as long as dependencies are met.
Visually show what bins to put out each week.
- Raspberry Pi Pico W
- PiicoDev Expansion Board for Pi Pico (Optional)
- PiicoDev Cables
- PiicoDev 3x RGB LED Module
- Download and load the Micropython uf2 onto your Pico.
- Install mpremote.
- Create a lib folder:
mkdir lib
- Download the PiicoDev Unified library:
wget https://raw.githubusercontent.com/CoreElectronics/CE-PiicoDev-Unified/main/PiicoDev_Unified.py -O lib/PiicoDev_Unified.py
- Download the PiicoDev 3x RGB LED library:
wget https://raw.githubusercontent.com/CoreElectronics/CE-PiicoDev-RGB-LED-MicroPython-Module/main/PiicoDev_RGB.py -O lib/PiicoDev_RGB.py
- Copy the libraries to your device:
mpremote cp -r lib/ :
- Copy the src files to your device:
mpremote cp src/config.py src/bin_lights.py src/utils.py :
- Update the
config.py
file with your settings:mpremote edit config.py
- Copy the main file device:
mpremote cp src/main.py :
Record the temperature, display it and send the reading to Freyr
- Raspberry Pi Pico W
- PiicoDev Expansion Board for Pi Pico (Optional)
- PiicoDev Cables
- PiicoDev OLED Display Module
- PiicoDev Precision Temperature Sensor Module
- Download and load the Micropython uf2 onto your Pico.
- Install mpremote.
- Install external dependencies:
mpremote mip install urequests
- Create a lib folder:
mkdir lib
- Download the PiicoDev Unified library:
wget https://raw.githubusercontent.com/CoreElectronics/CE-PiicoDev-Unified/main/PiicoDev_Unified.py -O lib/PiicoDev_Unified.py
- Download the PiicoDev OLED Display library:
wget https://raw.githubusercontent.com/CoreElectronics/CE-PiicoDev-SSD1306-MicroPython-Module/main/PiicoDev_SSD1306.py -O lib/PiicoDev_SSD1306.py
- Download the PiicoDev Precision Temperature Sensor library:
wget https://raw.githubusercontent.com/CoreElectronics/CE-PiicoDev-TMP117-MicroPython-Module/main/PiicoDev_TMP117.py -O lib/PiicoDev_TMP117.py
- Copy the libraries to your device:
mpremote cp -r lib/ :
- Copy the src files to your device:
mpremote cp src/config.py src/temperature_screen.py src/utils.py :
- Update the
config.py
file with your settings:mpremote edit config.py
- Copy the main file device:
mpremote cp src/main.py :