We use “Servo and water sensor” for know when is raining outside or not; when is raining we can use a potenziometer to regulate a “veranda”. When it’s raining outside, a buzzer will start playing a sound (Mario bros song).
The external structure is made by plywood (6 mm thickness) worked with laser cutIng, embedded and glued. As is the precedent design is pubblished image of external plywod structure. In the right piece there is the hole for the speaker, in the lef part there is a servo motor with the roll part inside the box. On the ceiling there is a potentometer, it need for govern the servo. At the end there is frontal face where there is a “veranda”. All the plywood are designed by AutoCad. Plywood pieces are assembling with vinyl glue it consent to block all the component.
The water sensor receive datas more remarkable than 250. The servo motor receive signal by potenziometer. Potenziometer trasform values from 0- 1023 to 0- 180.
Arduino is powered by a powerbank (9V ). If the speaker use too much volt you may use a resistance.
It is possible to use one single 5V battery for the alimentaton, but that could exhaust the speaker. It’s possible to use a angle regulator sensor. Also you can use buzzer instead of the speaker. You may use PMMA piece.