105
edits
(info) |
(info) |
||
Line 47: | Line 47: | ||
====== Embedded systems | ====== Embedded systems ====== | ||
In the project, were implemented two systems of sensors and actuators controlled by Arduino boards, and programmed in Visual Studio Code and Arduino programs. | In the project, were implemented two systems of sensors and actuators controlled by Arduino boards, and programmed in Visual Studio Code and Arduino programs. | ||
[[File:Imagen de WhatsApp 2025-01-09 a las 12.58.12 ce313d3b.jpg|alt=Sketch 2, Lemon tree archive, Dania González Sanabria|thumb|711x711px|Sketch 2, Lemon tree archive, Dania González Sanabria]] | [[File:Imagen de WhatsApp 2025-01-09 a las 12.58.12 ce313d3b.jpg|alt=Sketch 2, Lemon tree archive, Dania González Sanabria|thumb|711x711px|Sketch 2, Lemon tree archive, Dania González Sanabria]] | ||
1rts Board: | 1rts Board: | ||
For the moving branch, it was set a system with an HC-SR04 Ultrasonic Distance Sensor controlling a Miuzei 15 kg Digital Servo Motor, through an Arduino Nano and a connective board. | |||
When the spectator approaches 65 cm of the branches, the servo motor starts to turn from 0 to 18 degrees, making the branches, attached to it, start to move. If the spectator approaches at a closer distance (50 cm), the servo motor turns from 0 to 40 degrees, making the branches move a little bit more. | |||
The Servo Motor received an extra supply of energy from an MB-102 3.3V/5V Power Module plugged into electricity and connected to the 2nd board. | |||
2nd Board: The terrarium 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|Sketch 3, Lemon tree archive, Dania González Sanabria]] | |||
===Technology=== | ===Technology=== | ||
edits