After the rise of the Internet of Things, MediaTek Labs has focused on four key technical areas of the Internet of Things: wearable devices, smart homes, smart positioning and M2M. And MediaTek continues to innovate a variety of system-on-chip (SoCs) to improve processing power in order to apply to more complex situations in the Internet of Things.Especially in the application of smart home technology, security, power, customization and convenience of different development chips, to solve multi-oriented issues, but also it provides a secure Wi-Fi communication capabilities, and the establishment of security mechanisms to connect with the Internet and a variety of peripheral connections of the cloud platform in series.\
The previous generation of Linkit Smart 7688 / DUO both the server and the client's powerful features and easy to use development environment,it is a highly accepted version of a development board now. However, many Maker require small, fast, and poorly functioning, purely client-side development boards, when building networking devices. Finally, MediaTek Labs re-launched Linkit 7697 this development board, so that Maker can quickly develop a meet the needs of the Internet of things device.
In the intelligent home networking technology, home temperature monitoring isn't only the most basic,but also the most critical core technology, because people-centered smart home, is committed to creating a comfortable environment,and comfort often depends on the temperature of the feelings,So this article uses Linkit 7697 development board to establish the Internet temperature and humidity monitoring station, so that all members of the family through the Internet to get fast, correct temperature and humidity information.
By integrating these programs, we can easily access MAC data, and next we'll teach readers how to connect to a Access Point.Open Arduino IDE integrated development software, and write test programs that connect wireless base stations (as shown in the following table), so we can connect to the Access Point through the LinkIt 7697 development board.
(The code can be downloadedhere.)
Connect the wireless base station test program (ConnectWithWPA)
As shown in the following figure,we need to use the experimental hardware has the following figure (left) LinkIt 7697 development board, the following figure (middle) MicroUSB download line, the following figure (right) Microphone module on this step .
Left) LINKIT 7697 development board; (medium) MicroUSBdownload line; (right) temperature and humidity module
As the Linkit 7697 development board using ARM Cortex-M4 MCUmicroprocessor, in order to be able to Arduino IDE development environmentcompatible, I refer to the original LinkIt 7697 development board officialwebsite, as shown below, we understand that P0 ~ P13 corresponds to Arduinodevelopment board digital pin: D0 ~ D13, so we can pick up the DHT22temperature and humidity module, the data output pin received P8 (D8), completethe circuit.
The reader can refer to the temperature, humidity, circuit diagram and pin list as shown below.
Temperature and humidity module circuit diagram
Temperature and humidity module foot table
For the reading of temperature and humidity modules, please refer to the author of the article"Arduino program (temperature and humidity module): Arduino Programming (Temperature & Humidity Modules)"(Cao Yongzhong, Xu Zhicheng, & Cai Yingde, 2016a, 2016b, 2016c, 2016d) , There are detailed instructions for how to read the temperature and humidity module method and reference program, here is no longer detailed.
We open the Arduino IDE integration development software, as shown below, open the Temperature and Humidity Sensor Pro function examples.
As shown in the following table dht22 test example program, we first modify: #define DHTPIN D8, the data output pin connected to P8 (D8), then #define DHTTYPE DHT22, set the DHT22 temperature and humidity modules used in this article, DHT11 / DHT21 will be marked with the program, we first test DHTtester program, you can correctly read the DHT22 temperature and humidity module.
(The code can be downloadedhere.)
Dht22 test example program (DHTtester)
Thisarticle is"how to use LinkIt 7697 to establish intelligent temperature monitoringplatform"on the article, mainly to inform the reader, in the developmentof things, how to use Linkit 7697 development board to build things networkingtemperature and humidity sensing device.In the next chapter, we will show howto use such a development device, the establishment of an Internet temperatureand humidity monitoring site, so that all members of the family through theInternet to get fast, correct temperature and humidity information.
Follow-up,we will continue to develop a variety of Internet devices and platform teachingarticles. We hope to work with you to create better and more promisingtechnologies for Internet related product development.