How can I connect a buzzer to a pico using C/Rust?

This page summarizes the projects mentioned and recommended in the original post on /r/raspberrypipico

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • rp-hal

    A Rust Embedded-HAL for the rp series microcontrollers

  • https://github.com/rp-rs/rp-hal/blob/main/boards/rp-pico/examples/pico_pwm_blink.rs shows how to code the pwm setup for blinking an LED but should mostly be the same for a buzzer.

  • rp2040-project-template

    A basic rp2040-hal project with blinky and rtt logging example code. With this you can quickly get started on a new rp2040 project

  • To make it even easier to set up, use the template. You can generate it by first installing cargo install cargo-generate and then generating it with cargo generate --git https://github.com/rp-rs/rp2040-project-template.git

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts