“Time for the Output Show!” announced Lila the LED, glowing all the colors of the rainbow. “We’re the actuators that you can SEE and HEAR!”
“Let me go first!” Lila said excitedly. She started dim, then slowly grew brighter and brighter. “Max controls my brightness with PWM – the same trick he uses for motors! But instead of spinning faster, I glow brighter!”
Then a whole strip of her NeoPixel friends lit up, each one a different color. “Meet my addressable friends! Even though there are 30 of us, Max only needs ONE wire to talk to all of us. The first pixel reads its color instruction, then passes the rest of the message down the chain – like a game of telephone, but it actually works perfectly!”
Next, Buzzy the Buzzer cleared his throat. “BEEP BOOP BEEEEP!” He played a little melody. “I’m a passive buzzer, which means Max can make me play ANY note by changing how fast he vibrates me. Higher frequency = higher pitch! I can even play songs!”
“And I’m the screen!” said OLED Olivia, displaying a smiley face. “I can show Sammy’s temperature readings, draw pictures, and even make progress bars. I use tiny organic light-emitting dots – each pixel makes its own light, so I’m super bright and clear!”
“We all work together,” said Sammy the Sensor. “I measure the temperature, Max decides what to do, and then Lila shows green for ‘all good,’ Olivia displays the number, and Buzzy beeps if it gets too hot. Input to output – that’s the IoT loop!”
Bella the Battery whispered, “Just remember, all those pretty lights use MY energy. Turn them off when nobody’s looking!”