Subscribe to the industry RSS CSDN home> The industry

Implementation of home intelligent control based on Dragonboard410c

Published in5 hours ago| Time reading| sourceunknown| ZeroArticle comments| authorZhao Jianghong

Abstract:The popularity of smart home more and more in the ordinary family, a smart home is a system, including sensing unit, a central processing unit, signal transmission unit and control unit and so on, using different sensors and processing method can make different experience effect, here is based on board dragon 410C simple to build a system, to achieve the "smart home".

 First, the foreword

The popularity of smart home more and more in the ordinary family, a smart home is a system, including sensing unit, a central processing unit, signal transmission unit and control unit and so on, using different sensors and processing method can make different experience effect, here is based on board dragon 410C simple to build a system, to achieve the "smart home", aims to initiate.

Two, overview

Recently found a more interesting sensor - Grid-EYE (infrared array sensor), and ordinary infrared sensors, as the name suggests, this sensor is the sensing area is composed of arrays of several infrared sensing head, the sensor can be external to the infrared light from the object surface is converted into 2D array image, with moving objects, receiving array infrared intensities were also change accordingly, then we can use the sensor resolution of external heat, and location of a moving object tracking is realized. In this case, we give an example, based on the Board 410C Dragon combined with such Sensor implementation of home appliances (such as electric lights, fans) of the intelligent switch control.

Three, design description

3.1 system principle

The system diagram as shown below, Grid-Eye Dragon and Board 410C are connected by the I2C interface, the external infrared image received by the I2C to CPU APQ8016, the analysis of the current position by CPU, compared with last data comparison, determine the object (e.g. body) the moving direction according to these data, CPU can be issued in advance electrical appliances (such as electric) motion control instruction, taking into account the family ready-made wiring, using wireless communication control, can greatly simplify the installation work, so CPU commands will send the Wifi/BT module through the Dragon Board comes out, received by the MCU Board Wifi/BT, then the MCU will make the demodulation and processing instructions, by GPIO to make the control of the relay, the switch to achieve successful home appliances, intelligent appliances "".

 

3.2 Grid-EYE principle

As mentioned above, the sensor of the sensing area is composed of arrays of several infrared sensing head, the example of Panasonic AMG88xx series, sensor by 8*8=64 inductive head, as shown in the following image, infrared emitted by the human body is induction of images corresponding to the shape of the human body, people make different forms, corresponding to different sensing image. Similarly, when the human body that moves in the "visual" range, the sensor will feel the body motion position, through a certain algorithm, can also predict the trend of the human motion, and advance of foreign made a control, gives users a more intimate experience.

SensorThe principle block diagram is as follows: the light intensity of the infrared receiving head array receives the light intensity through the photoelectric conversion, and the intensity of each point and the inner self reference temperature sensor are then passed through.ADCTurnSixty-fourGroup data, throughI2CInterface to a group of a group ofCPU(APQ8016Data processing and analysisCPUFinish.

3.2 WiFi/BT module

In this Wifi/BT tight for a switch as well as the wireless transmission of control commands, taking into account the needs of different wireless communication distance, BT in the same room can meet the reliable transmission of 10m, if need farther distance can consider to use WiFi module. Due to the small amount of data transmission, the hardware interface rate requirements is not high, so the module Wifi/BT using UART, SPI or SDIO interface with the MCU is connected and low-end MCU generally does not support SDIO, select UART and SPI interface is suitable.

3.3 MCU control

MCU through UART/SPI modules from the Wifi/BT receives data, in fact, is a control instruction, MCU is simple will be the control commands to turn into several GPIO output state changes, such as when the movement of the human body to lamp 1 lighting area, dragon board CPU will make a judgment, a bright lamp 1 instruction and MCU received by the instruction to GPIO1 high output level, through the drive circuit current amplifying the relay is closed, so the light is lit.

Four, experience

To build this system, we can record the indoor / monitoring personnel situation, such as the existence of the time and the number of statistics. On this basis, we can achieve the human body in the region with the control of electrical appliances, such as: in the place where there are people in the open lighting, no one place to close the lighting, as shown below. Further, we can also predict the direction of the movement of the human body, you can advance to enter the area of electrical appliances, it is more humane.

 


.More details of the development of Qualcomm please see:Qualcomm developer community.

top
Zero
step on
Zero