![Logo](images/logo.png)
Window roller blind management system
View Demo
·
Report Bug
·
Request Feature
Table of Contents
BlindManagmentSystem is a project created by two students of the Warsaw University of Technology as part of an additional course - PMIK (Microcontrollers Programming) The system manages such modules as Servo with continuous operation 360°, Photoresistor and Bluetooth. In the future, we also want to add a humidity sensor module. The simplified description of the system operation consists of three modes: schedule, exposure and manual.
In schedule mode, the roller shutter opens or closes at the set times as planned. The schedule is sent to the system with Bluetooth using the Android application. The microcontroller stores data in memory and counts down the time. If the clock shows the time from the schedule, the roller shutter is running.
In exposure mode, the light intensity is periodically measured and compared with limiting intensity. Depending on the result of the comparison, the servo will activate the roller shutter. When the intensity exceeds the limit intensity, the roller shutter will be lowered, otherwise it will be raised. The current limits are set using the Android application and sent to the microcontroller via the Bluetooth module.
In manual mode, the user roll up or roll down the blind using the Android application.
Download and install the software below:
-
Clone the repo.
git clone https://github.com/dg1asap/BlindsManagementSystem.git
-
If you use other MCU than STM32L073RZ, using STM32CubeIDE to change the pins in the file
curtain-manage-prototype.ioc
to match the MCU you selected. Do not change anything if you use the same equipment as us. A description of the equipment we use can be found in the Modules Used tab. -
Upload the software to the microcontroller by connecting MCU to the computer and clicking on the green arrow (Run) on the STM32CubeIDE bar.
-
Using AndroidStudio upload the application to your phone, follow instruction. Important! Before uploading the software to your phone, remember to enable developer options on your phone. Depending on your phone model, this process will vary. In our case, it was a few times clicking on the build number.
The Up and Down buttons are used to roll up and roll down the roller blind in manual mode. The chat at the bottom of the application is used to set parameters and stream them via Bluetooth.
SERWO MAX UP
SERWO MAX DOWN
SERWO UP
SERWO DOWN
SET MIN LDR READING xxxx
SET MAX LDR READING xxxx
SET UPPER LDR CONTROL LIMIT xxxx
SET LOWER LDR CONTROL LIMIT xxxx
SET SERVO MAX POSITION xxxx
PRINT MIN LDR READING
PRINT MAX LDR READING
PRINT UPPER LDR CONTROL LIMIT
PRINT LOWER LDR CONTROL LIMIT
PRINT SERVO MAX POSITION
TIMER UP xxxx
TIMER DOWN xxxx
LDR TURN ON
LDR TURN OFF
SCHEDULER UP ON
SCHEDULER UP OFF
SCHEDULER DOWN ON
SCHEDULER DOWN OFF
RTC TIME
More information about the system itself and the description of commands can be found in the documentation in doc
.
-
Photoresistor module support
- Lighting of the diode in the event of exceeding the light intensity
-
Servo module support with 360 ° continuous support
- Rolling or unrolling the blind depending on the reading from the photoresistor
-
Creation of an application on Android and Bluetooth support
- Rolling or unrolling the blind with the Android application
- Setting system parameters using the Android application
- Setting the Bluetooth commands on the microcontroller side
-
Writing and generating documentation
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project.
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
). - Commit your Changes (
git commit -m 'Add some AmazingFeature'
). - Push to the Branch (
git push origin feature/AmazingFeature
). - Open a Pull Request.
Distributed under the Apache License 2.0. See LICENSE.txt
for more information.
dg1asap - [email protected]
depegie - [email protected]
Project Link: https://github.com/dg1asap/BlindsManagementSystem
- Very Important 90% of the code on Android apps is from viktorvano. If you use our system, thank him and give him a star.
- Img Shields