Pesquisar neste blogue

quarta-feira, 5 de setembro de 2018

KIT de aprendizagem | Learning KIT

O projeto consiste num protótipo de uma casa onde o seu ambiente é controlado automaticamente. O projeto foi divido em temas que foram distribuídos por vários grupos de alunos.

TEMA 1 – Controlar a abertura da porta
Ao carregar no botão, o buzzer emite um som (simulação de toque de campainha), após um determinado intervalo de tempo a porta abre através do servo motor (cerca de 90 graus), volta a esperar um intervalo de tempo e de seguida a porta fecha, novamente através do servo motor (volta à posição inicial). A porta abre para fora, em vez de para dentro, devido ao reduzido espaço interior. O led de controlo amarelo acende sempre que se carrega no botão, com isto ficamos a saber que a campainha tocou. No LCD aparece informação “porta abre” ou “porta fecha” de acordo com os respetivos acontecimentos.

TEMA 2 – Controlar entrada de pessoas
Ao passar pelo sensor ultrassonic, no corredor após a porta, é detetada uma entrada, o buzzer emite um som e led de controlo azul acende, indicando que algo passou pelo corredor de entrada. No LCD aparece a informação “Entrada” sempre que o ultrassonic deteta algo.

TEMA 3 – Controlar a temperatura e a humidade
O local onde se encontra o sensor DHT11 é monitorizado a nível de temperatura e humidade. Quando a temperatura é superior a 23ºC o motor DC é ativado de forma a fazer mover a ventoinha a ele acoplado. A ventoinha irá funcionar até a temperatura voltar a ser inferior a 23ºC. Mais uma vez acende um led de controlo, que neste caso é o led vermelho, informando que a ventoinha está a proceder ao arrefecimento do local. O LCD indica sempre os valores da temperatura e da humidade.
No projeto atual não existe qualquer processo de alterar a humidade, apenas se regista o seu valor.

TEMA 4 - Controlar a luminosidade da casa (relação entre a luz natural, da claraboia, e luz artificial)
No local onde se encontra uma claraboia, existe um sensor LDR, que permite controlar a luminosidade da zona. O sensor LDR mede o valor da luminosidade, em %. Quando a luminosidade apresenta um valor inferior a 70%, um LED piranha (luz) acende devido à necessidade de iluminar o local, e o led de controlo verde acende, informando esta situação. O LCD indica sempre os valores da luminosidade, e se o LED piranha está aceso ou apagado, “LED” ou “S/ LED”. O LED piranha foi colocado num espaço diferente do LDR para não interferir com a medição da luminosidade deste.

TEMA 5 – Informação para o LCD
No LCD vai aparecendo informação sobre os vários acontecimentos sempre que algum sensor deteta o pretendido. São continuamente apresentados os valores da temperatura, humidade e luminosidade, e não apenas quando o respetivo sensor deteta algo.

TEMA 6 - Construção da casinha e dos mecanismos necessários
A estrutura da casa foi projetada e construída de forma a distinguir os vários pontos de controlo. Foi construída uma ventoinha na impressora 3D com dimensões adequadas ao local de instalação, a partir de um modelo existente na internet.


The project consists of a prototype of a house where its environment is controlled automatically. The project was divided into themes that were distributed by various groups of students.

THEME 1 - Check the door opening
When the button is pressed, the buzzer sounds (buzzer ring simulation), after a certain time the door opens through the servo motor (about 90 degrees), it waits again for a time interval and then the door the servo motor (returns to the starting position). The door opens outwards instead of inward due to the reduced interior space. The yellow control led lights up every time the button is pressed, and we know that the buzzer has rung. The LCD shows "door opens" or "door closes" according to their events.

THEME 2 - Controlling people entry
When passing through the ultrasonic sensor, in the corridor after the door, an entrance is detected, the buzzer emits a sound and blue control led lights, indicating that something has passed the entrance aisle. The LCD shows "Input" whenever the ultrasonic detects something.

THEME 3 - Check temperature and humidity
The location of the DHT11 sensor is monitored at temperature and humidity level. When the temperature is above 23 ° C the DC motor is activated in order to move the fan to it. The fan will run until the temperature returns to below 23 ° C. Once again a control LED lights up, which in this case is the red led, informing that the fan is cooling the place. The LCD always shows the temperature and humidity values.In the current project there is no process to change the humidity, only if it registers its value.

THEME 4 - Control the luminosity of the house (relation between natural light, skylight, and artificial light)
In the place where there is a skylight, there is a LDR sensor, which allows to control the luminosity of the zone. The LDR sensor measures the brightness value in%. When the brightness is less than 70%, a piranha LED (light) lights due to the need to illuminate the room, and the green control led lights up, informing you of this situation. The LCD always indicates the brightness values, and if the piranha LED is on or off, "LED" or "S / LED". The piranha LED was placed in a space other than the LDR so as not to interfere with the brightness measurement.

THEME 5 - Information for LCD
Information about the various events is displayed on the LCD whenever any sensor detects the desired one. The values ​​of temperature, humidity and brightness are continuously displayed, not just when the respective sensor detects something.

THEME 6 - Construction of the house and the necessary mechanisms
The structure of the house was designed and built to distinguish the various control points. A fan was built in the 3D printer with dimensions appropriate to the installation location, from an existing model on the internet.