The Pi Pico is great, but your project might be easier with an alternative.
The Arduino Nano RP2040 Connect includes Wi-Fi, Bluetooth, motion sensing, and a microphone, enabling connected projects without extra modules. Other options like the Pimoroni Tiny 2040 and RP2040 ...