سِـدرة SEDRA
"Sedra" : a smart pergola inspired by the Sidr tree that provides shade.
The working mechanism is inspired by a hand fan that folds over each other to form the desired shape.
As part of achieving sustainability, the pergola also preserves Arab and Islamic identity through its design elements
Kufic Arabic calligraphy
Reducing the Urban Heat Island Effect
the symbolism of the octagon in the Holy Quran : "وَيَحْمِلُ عَرْشَ رَبِّكَ فَوْقَهُمْ يَوْمَئِذٍۢ ثَمَٰنِيَةٌ "
Materials & Machine
plywood 3mm
PLA plastic filament
creality ender 3 pro
El Malky ML149 CO2 Laser Cutter
software
fusion 360
Ultimaker Cura
laser cad v8.21
Autocad
Drawing steps on Fusion
starting by drawing base sides
then drawing the side support
drawing the brackets which is link side support with the base
and then drawing the main rod
the link between the side support and the main rod
drawing the rotating panel and it's link with the main rod
then drawing the second panel and make 2 copies of it
chair drawings
The final product
Final enclosure : using the Joint tool to joint all the parts together (Rigid - Revolute) then added the Electronics
Laser cutting
Uploading the DXF files into LaserCAD and adjust settings to
cut | speed = 10 , power = 65
Engrave | speed = 300 , power = 40
Speed cut | speed = 300 , power = 55
Drawing patterns on AutoCAD and entering them in dxf format on lasercad
3D Printing
Uploading STL files on Ultimaker Cura and adjusting the settings
layer thickness= 0.2
infill =8
make a support for the cylinder
cutting process
video
Final result
Final result
Final product
Fritzing
Arduino IDE
5V Adaptor
Arduino UNO
Jampers
Red Led
Resistor
DHT11 Sensor
LDR Sensor
Stepper motor & Driver
Breadboard
Input Components:
DHT11 Temperature and Humidity Sensor
Measures temperature and humidity levels.
Provides input data to decide when to open or close the pergola.
light-dependent resistors
Detects the lights.
If light is detected, the pergola closes automatically to protect the space below.
3. Power Supply Module
Provides power to the components via the breadboard.
Action Components:
Stepper Motor with Driver Module
Controls the movement of the pergola panels.
Based on sensor readings, it either opens or closes the pergola.
LED Indicator
Acts as a status indicator.
used to show when the pergola is operating.
The sensors (DHT11 and LDR sensor) feed environmental data into the Arduino.
The Arduino processes the data and, based on predefined conditions ( high temperature, rain detected), decides whether to activate the stepper motor.
The driver board allows the Arduino to control the motor efficiently.
A power module provides the necessary voltage levels for different components.
An LED indicator is included to show system activity.
Arduino Uno operates at 5V.
DHT11 Sensor and LDR require 5V.
Stepper Motor typically operates at 5V.
Motor Driver requires a separate power input, usually 5V
Final Power Choice
5V DC Adapter (for Arduino and sensors).
5V DC Adapter (for the stepper motor).
The Arduino reads temperature and light using the DHT11 and LDR.
It compares readings with predefined thresholds.
Based on conditions, it moves the pergola using a stepper motor.
LED status indicator signals whether the pergola is moving.
A 3-second delay prevents excessive updates
Stepper.h: Controls the stepper motor.
DHT.h: Reads data from the DHT11 temperature sensor.
LDR_PIN: Connected to A0, reads ambient light levels.
DHT_PIN: Connected to digital pin 2, reads temperature.
ledWPin: LED output for system status.
Stepper motor setup using ULN2003 driver with control pins 8, 9, 10, 11.
2038 steps per revolution for precise movement.
Starts Serial Monitor for debugging.
Sets LED pin as output.
Initializes the DHT sensor.
Sets the motor speed (5 RPM for smooth movement).
Prints system status messages for monitoring.
Reads light intensity (LDR gives values 0-1023).
Reads temperature from DHT11.
If it is bright (LDR < 700) OR hot (temperature > 30°C):
Rotates stepper motor clockwise to open the pergola.
Turns LED ON (to indicate movement).
If it is dark (LDR > 900) OR cold (temperature < 25°C):
Rotates stepper motor counterclockwise to close the pergola.
Turns LED OFF (system is idle).
Functionality Check: Each sensor was tested individually to ensure correct readings.
Motor Response: The stepper motor successfully rotates based on light and temperature variations.
Real-time Monitoring: Serial output logs sensor values and motor actions, confirming expected behavior.
Final System Test: The pergola adjusts its position under different environmental conditions, confirming automation.
Ostazzzz MEGO helped me a lot in making the mechanism.
Farah and Menna helped me solve the code problems as usual.🥲
I can't forget Dina's constant support.
Grateful to all of them and the whole team🫡
The challenge
The toughest challenge was figuring out how to assemble the first mechanism I worked on.
But it was difficult because it would take about two days of continuous printing.
its dimensions were larger than the machine itself.
The solution
was to change the mechanism by replacing the printed parts with wooden pieces and adding support from the sides.
I think I would have spent more time thinking about a mechanism that was easy to use and install.