1 system overall design scheme
Smart Home System is a real-time query home temperature and humidity, lighting control, the setting of their own active control. Set Home Entertainment, intelligent security as a whole, a large number of fast processing of data, reliable system, so there are very large hardware and software requirements, so there are many considerations here are the following two implementation scenarios:
Scheme one: The use of STM32 microcontroller as a handheld terminal controller, using buttons and 12864 LCD screen as the interface of human-computer interaction. Using 51 single chip microcomputer as the interior of the house lights, air conditioning, access control and other home appliances controller, the use of serial port to achieve STM32 single-chip microcomputer and 51 single-chip microcomputer as the transmission of data channels. This can be achieved. But. The mechanical keys and 12864 in the smart home are somewhat incompatible with the actual scene.
Scenario two: Using the ARM architecture s3c6410 as the main control chip of the handheld terminal, the Linux system as the platform, QT design friendly human-computer interface. Combine multiple sensors for collection. Use TI's CC2530 as a controller for network sensors and interior appliances of the house. And the use of serial communication to achieve data interaction, the use of RFID access keys. The remote intelligent Home system monitoring is realized by the client software on the PC [6].
Comparison of the above two scenarios. Another option is more reasonable. Linux systems have a number of advantages: free open source, kernel-trimmed, network-powerful and stable, reliable security, and other advantages [7].
[8] QT Design supports multiple languages, excellent cross-platform features, object-oriented, rich APIs (including graphical designers, makefile authoring tools, font internationalization tools, qt C + + class libraries), modularity, ability to crop freely, extensive development documentation, XML support, and more. So choose Scenario Two.
The overall system diagram of this design1-1what you see:
Figure 1-1 Overall system diagram
The hardware section of the structure block diagram 1-2 sees:
Figure 1-2 hardware structure diagram
The main control chip is used for data processing and system control, and the TFT LCD screen is used for human-computer interaction. The coordinator and the main control chip use serial communication to realize the data interaction of the home network. Temperature and humidity sensors in the set indoor temperature and humidity, light sensor set illuminance, through the terminal node data collection packaging. Sent to the Coordinator, the coordinator through the serial port to send data to the main control chip, the main controller for data processing in the interface TFT screen to give the corresponding information. and the corresponding instructions are issued to control the air conditioning and motor. The Access module realizes the control of the steering wheel so as to control the door switch.
Next, look at the design of the smart home based on Linux (3).
Design of Smart home based on Linux (2)