Return to search

Motorized control of a blind / Motoriserad styrning av rullgardin

Automated solutions such as robotic vacuum cleaners and smart lighting are gaining popularity, both in the home as well as in public environments. The purpose of this project is to investigate the possibility of using a microcontroller to, in a user-friendly way, control a blind and to implement a sound sensor to activate the mechanism. A stepper motor was used to drive the blind and control its position. The prototype was programmed to recognize a sequence of two claps within a specific time interval. To make the prototype more user-friendly a UI was implemented with an LCD-display and mechanical buttons. A menu was designed where the user would be able to change settings such as the sound level threshold and motor speed as well as calibrate the position of the blind. The performance of the prototype was evaluated by testing the audio recognition by attempted activation in a quiet environment and by recording accidental activations in a loud environment. The conclusions drawn from these test were that the sound recognition was implemented and operated with a success rate of up to 73 %, but that it also triggered relatively easily by extraneous sound sources. Future improvements to this problem could include implementation of a band pass filter to further optimize the sound recognition to the desired audio cue. / Automatiserade lösningar som robotdammsugare och smart belysning blir allt mer populärt, både i hemmet och i offentliga miljöer. Syftet med detta projekt är att undersöka möjligheten att använda en mikrokontroller för att på ett användarvänligt sätt styra en rullgardin och implementera en ljudsensor för att aktivera mekanismen. En stegmotor användes för att driva rullgardinen och styra dess position. Mjukvaran formades för att känna igen en sekvens av två klappar inom ett visst tidsintervall. För att göra prototypen mer användarvänlig implementerades ett användargränssnitt med en LCD-skärm och mekaniska knappar. En meny utformades där inställningar som ljudnivåns tröskelvärde och motorvarvtal kunde ändras. Gardinens position kunde även kalibreras. Ljudigenkänningen utvärderades genom att testa aktivering i en tyst miljö och genom att registrera oavsiktliga aktiveringar i en högljudd miljö. Slutsatserna från dessa test var att ljudigenkänningen implementerades och fungerade konsistent vid upp till 73 % av aktiveringsförsöken, men att den också utlöstes relativt enkelt av yttre ljudkällor. Eventuella förbättringar av detta problem kan innefatta implementation av ett bandpassfilter för att ytterligare optimera ljudigenkänningen.

Identiferoai:union.ndltd.org:UPSALLA1/oai:DiVA.org:kth-264474
Date January 2019
CreatorsMauritzson, Samuel, Revilla, Fabian
PublisherKTH, Skolan för industriell teknik och management (ITM)
Source SetsDiVA Archive at Upsalla University
LanguageEnglish
Detected LanguageSwedish
TypeStudent thesis, info:eu-repo/semantics/bachelorThesis, text
Formatapplication/pdf, video/mp4
Rightsinfo:eu-repo/semantics/openAccess, info:eu-repo/semantics/openAccess
RelationTRITA-ITM-EX ; 2019:44

Page generated in 0.0021 seconds