The Idea simply is a trial to solve the problem of climate change through small actions and Initiatives. Which are home gardening and green roofing.
It is a portable device to be connected to any type of pot to protect against excess sun exposure and to sense the dryness or wetness of the soil for proper planting. The sun exposure protection is done through a movable shading tent. when the plant takes its enough light that is defined to the device, the shading element opens to protect the plant. Water sensing through a soil moisture sensor of the soil and then the device sends an alarm for watering the plant.
1- It began with drawing the enclosure and mechanism using Fusion360.
The rolling mechanism needed a box for the motors housing and its sketches are as follows
The box and stem sketches are as follows:
A descriptive Shots
2- I used Cura to prepare the 3D printing files and LaserWorks for Laser cutting.
3- The fabrication of the parts using PRUSA i3 MK2 3D printer and Laser cutter is done.
4- MDF was used for laser cutting, black and grey PLA filament was used for the 3D printing and screws and nuts was used for the assembly.
Laser Cut Files Preparation
Laser Cut Outputs
The laser-cut files were at speed of 10 m/s, and a power of 75 in order to cut the MDF. In some cases, due to the frequent cutting, the settings went to a speed of 8m/s.
Laser Cut Files Preparation
Laser Cut Outputs
I used PLA grey for the rolling shaft and the shading rail while PLA black for the brackets. The infill was 20%. The layer height in the brackets was 0.2 mm while on the other parts was 0.3mm.
The component to form the shading element is the DC motors. In order to control the dc motor, Arduino and motor driver module are used. They are accompanied by LEDs and LCD screen to give alarms and indicate the lighting exposure condition ( is the plant took its required light or not). A soil moisture sensor is used as a complementary feature to the home gardening companion.
The device has an on/off switch which leads to two modes: the manual mode and automatic mode. The automatic mode works by the IR sensor which senses the availability of light. When the plant takes its sufficient hours of light exposure ( 7 hours for example), the shading element goes down and the green led lights up printing on screen enough light. And when the light sensor senses no light, the shading element goes up. The manual mode works with a switch that lets the shading goes up or down manually.
The power source of this circuit id 9V to power the Arduino and the DC motors to work efficiently and holds the loads of the shading element.
Firstly, The LCD i2c was defined.
Then all the variables are defined.
The pins control the dc motor through the motor driver.
the LDR pin.
The LEDs pins.
Switches pins.
soil moisture sensor pin.
Counters for motors movement.
Booleans for motor stops.
3- Then, the void setup. Where each pin was defined either as inputs or outputs.
4- Then the void loop where the code begins.
firstly, the if condition of the power switch. when the device is on, it begins to sense the moisture of the soil through the soil moisture sensor automatically.
then it goes inside the automatic or manual mode switch of the shading element.
Inside the automatic mode, it takes the readings from the sensor. If there is light, the shading goes down and the green led lights up indicating that the shading is on. And when the sensor doesn't sense light, the shading goes up.
During the manual mode, if the switch is high, the shading elements go down and the green led lights up. and when the switch is low, the shading goes up.
Finally, When the device is off, all the components shut down. and the counters are reset.
For the exposed shading, it was supposed to be printed on the 3D printer, but it took over 12 hours and an error happened in printing it. Therefore, my colleague Osama and instructor Amany suggested doing it with wooden strips connected by only one rail 3D printed which succeeded.
DC motor mounting shaft. The opening was very tight on the shaft. Therefore, Amany suggested using the driller to make the opening bigger.
The mounting of the Switches. The solution was to exclude part from the switch hangings as shown in the photos.
The mounting of the LED lights. The openings were bigger than the led itself. Therefore, we cut small parts similar to the nuts and attached the LEDs to them.
How to let the DC motor stop after moving the shading. This challenge was solved using counter and boolean variables and a stopping function.
I would like to program the Arduino to store the different light exposure limits for more plants that could facilitate the planting process for the home resident.
I also would like to design an external container that could be mounted on the device to water the plants.
It would be super (rewesh) if the device sends a notification to your device when the soil is dry or when the temperature outside is above what the plant could stand.