Creating a new weather indicator
In this section, we introduce an upgraded weather indicator, building on the version from Chapter 3. This model features an RGB LED instead of a single-color LED. We will use it to indicate humidity by setting the color to red for low humidity, green for a humidity level between 30 and 50 percent (considered a comfortable humidity level for people), and blue for a humidity above 50 percent. The device now uses the economical Raspberry Pi Pico WH as opposed to the more expensive Raspberry Pi 5. A new addition is the reset button for the Raspberry Pi Pico WH, allowing us to reset the Pico if we need to.
The design of our upgraded weather indicator includes a new feature: a split stand specifically engineered for easier printing using a Fused Deposition Modeling (FDM) 3D printer. By dividing the stand into two separate parts, each piece can be printed flat. When printed flat, the layer lines in each section of the stand run perpendicular to the primary...