Connecting our projects to the Internet just got a lot easier, and cheaper! The $6 Raspberry Pi Pico W, an upgrade on the original Raspberry Pi Pico, brought one great update: Wi-Fi. This upgrade, along with the $6 price, enables makers to harness the power of the RP2040 SoC for a plethora of Internet of Things applications. The Pico W also tops the list of our best RP2040 boards.
We’ve already covered how to pass data to and from a Raspberry Pi Pico W to another web service, Anvil. But what if you just want to collect some data and send it off into the world? There are many ways to do this, but the simplest has to be IFTTT.
IFTTT (If This Then That) is a web service that can take data from many different inputs (Twitter, Home Automation, Google, Facebook etc) and send it to other services.
In this project we’ll use the most basic service, webhooks, to send an HTTP POST request from a Raspberry Pi Pico W to IFTTT’s service. On IFTTT we will create an applet that will intercept the webhook, and trigger a tweet to be sent on Twitter.