catalog → boards → raspberry pi pico w / pico 2 w
🤖 Monitor sensors over the internet with Raspberry Pi Pico W / Pico 2 W
Raspberry's WiFi microcontroller. We have a Pico 2 W streaming to this site right now — its dashboard is public, check it below.
WiFi 2.4 GHzArduino IDE (Philhower core)RP2040 / RP2350
🟢 Live proof: a real Pico 2 W streams to this site — open its public dashboard.
This board's code
Example with temperature, humidity, CO₂ and motion — the generator builds it with YOUR sensors and your key:
// Core "Raspberry Pi Pico/RP2040/RP2350" do Earle Philhower (Gerenciador de Placas)
#include <WiFi.h>
#include <HTTPClient.h>
#include <WiFiClientSecure.h>
const char* SSID = "SUA_REDE";
const char* PASS = "SUA_SENHA";
const char* KEY = "sk_live_SUACHAVE";
WiFiClientSecure client;
void setup() {
WiFi.begin(SSID, PASS);
while (WiFi.status() != WL_CONNECTED) delay(400);
client.setInsecure(); // HTTPS sem validar cert (necessario no Pico)
}
void loop() {
float temp = 0; // leia seus sensores aqui
HTTPClient http;
http.begin(client, "https://meca3dlab.com.br/api/ingest");
http.addHeader("Content-Type", "application/json");
http.addHeader("X-Write-Key", KEY);
http.POST("{\"temp\":24.7}");
http.end();
delay(30000);
}