You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Great, glad it's working! Thanks for the pull request - I'll try and get it in soon.

    Yep, you can do WiFi and SD card no problem, as long as you're not trying to use the same pins for 2 different things...

    As long as you're not using the same pin for anything else, it's fine to use it for the speaker - but with something like an 8 Ohm speaker you should really drive it with something else as the Pico will be struggling to put out that much power!

    So you saw the Pico FET tutorial? That would be a good one to use if you don't need the battery capability.

    For best results, add a 100 Ohm resistor between the BatIn pin and GND, and a 10uF capacitor between BatIn and the speaker (then connect the other side of the speaker to GND).

    You could always look at buying an amplifier module - they're actually really cheap, and you just wire up power and GND. Then ideally you'd just add a capacitor and a resistor down to GND, and you could use any signal pin without the FET.

About

Avatar for Gordon @Gordon started