YOU’LL NEED THIS
• Raspberry Pi Pico W
• DHT11 temperature sensor
• 3 x MtoM jumper wires
• Half breadboard
• Internet connection
• A computer
• Get the code from: https://github.com/lesp/ LXFPicoWDHT11/archive/refs/heads/main.zip
The $10 Raspberry Pi Pico W has caused quite a stir, offering Wi-Fi for just a couple of extra dollars. What was usually the domain of the Raspberry Pi Zero W, or other Wi-Fi microcontrollers such as the ESP32 and ESP8266, is now seeing the powerful RP2040-powered board muscle its way in.
Wi-Fi connectivity provides an easy means to send data, be it to remote devices, or in this case to serve data using a Pythonpowered HTML server. In this tutorial we’ll post live sensor data, taken using a DHT11 temperature sensor, to our own web page that’s hosted on a Raspberry Pi