Skip to content

Raspberry Pi Pico with Tinygo Transmitting Weather Data via Serial Communications

License

Notifications You must be signed in to change notification settings

s-fairchild/pico-weather

Repository files navigation

Steven Fairchild

Raspberry Pi PICO Weather Station

Audience

Anyone interested in Programming the Raspberry Pi Pico in Tinygo, more specifically for weather data collection.

Tinygo Gopher

Hardware wiring and sensors used

SparkFun Weather Meter Kit SEN-15901
Sparkfun Weather Meter Kit

Raspberry Pi Pico

Bosche BME280

Hardware planned for future inclusion

SunFounder RTC PCF8563
Sunfounder PCF8563

SSD1306 Amazon SSD1306 Datasheet

Usage

If you are not using a picoprobe

  1. make release
  2. Plug in Pico
  3. cp build/release /run/media/$USER/RPI-RP2/

With picoprobe

To debug and load software via openocd

  • build and install openocd from source
    • For Fedora users, run setup/build_install_openocd.sh
  • Debian/Ubuntu users

See this guide to run openocd without Root privileges

TODO

  1. Configure build tags to enable/disable unused packages as needed
  2. Add anemometer support
  • Requires multicore support to monitor two interrupts at the same time.
    I'm looking into using the C/C++ SDK's multicore APIs and CGO to use 2nd core
    See Tinygo issue 2446
  1. Setup receiver repository to store and transmit data

Inspiration

  • My desire to learn more about embedded electronics and Go

About

Raspberry Pi Pico with Tinygo Transmitting Weather Data via Serial Communications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published