Collects temperature and humidity readings and sends them to Freyr.
- Download and load the Micropython uf2 onto your Pico.
- Install mpremote.
- Install external dependencies:
mpremote mip install dht urequests
- Copy the src files to your device:
mpremote cp freyr-sensor/config.py freyr-sensor/freyr_sensor.py freyr-sensor/utils.py :
- Update the
config.py
file with your settings:mpremote edit config.py
- Copy the main file device:
mpremote cp freyr-sensor/main.py :
- 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 Waveshare library:
wget https://raw.githubusercontent.com/waveshareteam/Pico_ePaper_Code/main/python/Pico_ePaper-2.9.py -O lib/Pico_ePaper_2_9.py
- Copy the libraries to your device:
mpremote cp -r lib/ :
- Copy the src files to your device:
mpremote cp freyr-screen/config.py freyr-screen/freyr_screen.py freyr-screen/utils.py :
- Update the
config.py
file with your settings:mpremote edit config.py
- Copy the main file device:
mpremote cp freyr-screen/main.py :