/WeatherPico

Weather station using a Raspberry Pi pico w, pico and (mainly) another machine.

WeatherPico

Weather station using a Raspberry Pi pico w, pico and (mainly) another machine.

It uses the PiicoDev modules by Core Electronics to transmit between the weather station outside node and the receiver node (the Pico W).

Installaton

You will requrire the following hardware:

  • Raspberry Pi Pico and Raspberry Pi Pico W
  • If Pico W does not have headers, use stackable headers.
  • Waveshare 1.8" screen
  • If not using stackable headers, a QUAD EXPANDER for picos
  • PiicoDev BME280 Temperature Sensor
  • PiicoDev 915MHz transceiver (2)
  • PiicoDev Expansion board for Pico
  • 200mm Cables for PiicoDev appliances.
  • Optional: third machine that does not run micropython (like a NUC or Raspberry Pi 3/3B/3B+/4/5)
  • Optional: Micro:Bit for a secondary sensor.

These are all buyable at Core electronics AU

Setup

  1. Using the quad expander or stackable headers, connect the display and expansion board to the pico w. If using the stackable headers, make sure the screen is at the top as it is a non-stackable module.
  2. Using This MicroPython image, flash it onto the pico w. Flash This image to the Pico. These images do not contain the packages pre-installed.
  3. Using Thonny, upload the code and the requirements.txt file (from this repo) to the Pico. Upload the files in the Pico_W folder to the Pico W and upload the files in the Pico folder to the Pico.
  4. In Thonny, Go to Tools > Manage packages and click on the button that allows you to install from a requirements.txt file. Use the respective requirements.txt files for each machine.
  5. Connect the Pico modules using the PiicoDev cables. Make sure you use the longer ones as you probably want to.
  6. If you want to run this code without needed a webserver, download the other main.py in the NoServer directory in the Pico_W folder.
  7. Start and enjoy. Make sure the Pico is transmitting the weather or the display will not update.