Skip to content

Embedded system student project. Adjust window shade according to light level and time.

Notifications You must be signed in to change notification settings

damian95a/Smart-shade

Repository files navigation

Smart shade

The project was done during the Embedded systems classes. It consists of a model of a window with a shade, a microcontroller Open1768, and a stepper motor with a controller. There are 2 analog light sensors (one inner and one outer), that provide data for decisions to be made.

The main function is setting the shade position. If there is too dark it opens and closes when too bright. The system can also detect night defined as a given lightness or a set time of opening/closing.

image

The user interface consists of a display (ILI9325) and a 16-button keyboard. The screen displays the menu that allows you to change the configuration of the device. The currently chosen option is highlighted. While inserting values it is being real-time formatted. Cursor moves forward during setting the time. User can set target brightness, sensor tolerance, current time, and motor limits. It is also possible to define night light level, schedule, and the way the night state is defined (only sensor/schedule, both sensor, and schedule, what happens first: sensor or schedule). The user interface has been written in Polish.

image

image

The shade can work in two modes: manual - setting explicit position with the user interface, auto - setting shade position depending on light sensors and/or time.

About

Embedded system student project. Adjust window shade according to light level and time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages