Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 3.55 KB

README.md

File metadata and controls

58 lines (43 loc) · 3.55 KB

PiicoDev Projects

Micropython Status

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.

Projects

Bin Lights

Visually show what bins to put out each week.

Components

Installation

  1. Download and load the Micropython uf2 onto your Pico.
  2. Install mpremote.
  3. Create a lib folder: mkdir lib
  4. Download the PiicoDev Unified library: wget https://raw.githubusercontent.com/CoreElectronics/CE-PiicoDev-Unified/main/PiicoDev_Unified.py -O lib/PiicoDev_Unified.py
  5. 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
  6. Copy the libraries to your device: mpremote cp -r lib/ :
  7. Copy the src files to your device: mpremote cp src/config.py src/bin_lights.py src/utils.py :
  8. Update the config.py file with your settings: mpremote edit config.py
  9. Copy the main file device: mpremote cp src/main.py :

Temperature Screen

Record the temperature, display it and send the reading to Freyr

Components

Installation

  1. Download and load the Micropython uf2 onto your Pico.
  2. Install mpremote.
  3. Install external dependencies: mpremote mip install urequests
  4. Create a lib folder: mkdir lib
  5. Download the PiicoDev Unified library: wget https://raw.githubusercontent.com/CoreElectronics/CE-PiicoDev-Unified/main/PiicoDev_Unified.py -O lib/PiicoDev_Unified.py
  6. 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
  7. 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
  8. Copy the libraries to your device: mpremote cp -r lib/ :
  9. Copy the src files to your device: mpremote cp src/config.py src/temperature_screen.py src/utils.py :
  10. Update the config.py file with your settings: mpremote edit config.py
  11. Copy the main file device: mpremote cp src/main.py :