105
edits
No edit summary |
No edit summary |
||
Line 112: | Line 112: | ||
<u>2nd System:</u> | <u>2nd System:</u> | ||
The <u>terrarium</u> had a humidifier system inside. It was made with a Capacitive Soil Moisture Sensor connected to an Arduino Nano and a connective board. When the soil got drier (over value 400 read by that sensor, whose values are approximately this: wet is < 400, dry is > 400), a 5V Relay Module also connected to the board, activated a 5V Humidifier made with a piezoelectric. When the soil got humid again (under value 400) the humidifier stopped until the soil got dry again. The relay and humidifier received an extra supply of energy from an MB-102 3.3V/5V Power Module plugged into electricity. [[File:Imagen de WhatsApp 2025-02-22 a las 03.09.15 5fec5717.jpg|alt=Sketch 3, Lemon tree archive, Dania González Sanabria|thumb|1095x1095px|<small>Sketch 3, Terrarium, 2nd System, Lemon tree archive, Dania González Sanabria</small>]] | The <u>terrarium</u> had a <u>humidifier system</u> inside. It was made with a Capacitive Soil Moisture Sensor connected to an Arduino Nano and a connective board. When the soil got drier (over value 400 read by that sensor, whose values are approximately this: wet is < 400, dry is > 400), a 5V Relay Module also connected to the board, activated a 5V Humidifier made with a piezoelectric. When the soil got humid again (under value 400) the humidifier stopped until the soil got dry again. The relay and humidifier received an extra supply of energy from an MB-102 3.3V/5V Power Module plugged into electricity. [[File:Imagen de WhatsApp 2025-02-22 a las 03.09.15 5fec5717.jpg|alt=Sketch 3, Lemon tree archive, Dania González Sanabria|thumb|1095x1095px|<small>Sketch 3, Terrarium, 2nd System, Lemon tree archive, Dania González Sanabria</small>]] | ||
Line 285: | Line 285: | ||
<small><code>}</code></small> | <small><code>}</code></small> | ||
<small><code>// Evento 1: if distancia is less than | <small><code>// Evento 1: if distancia is less than 60 cm but more or igual 40 cm</code></small> | ||
<small><code>else if (distance < distanciaPersona) {</code></small> | <small><code>else if (distance < distanciaPersona) {</code></small> |
edits