【Introduction】LinkIt7697 is launched by MediaTek for a development of wireless networking applications, its smaller, with WiFi and Bluetooth dual connection, and can be developed through the Arduino IDE。
LinkIt7697is a WiFi+BLE development board Cooperative launched by MediaTek and Seeed, specifically for IoT class applications.With WiFi and Bluetooth (dual mode) dual connection, so the developer's creative space is very rich. It is exciting that the development board can be developed using the Arduino IDE, which will share with you the development experience and how to set up the development environment and use it to develop your next IoT application.
Because LinkIt development board itself is very small, no special box, there is no out of the box diagram. Direct on the board of the map:
The board's resources are as follows：
2. hardware and schematic analysis
LinkIt7697 Hardware, the first LinkIt7697 is more interesting. Here to be a brief introduction.
This is a MediaTek out of a LinkIt7697. From the data sheet to see the core of this SOC:
Cortex-M4 application processor, a low power 1x1 802.11b/g/n single-band Wi-Fi subsystem, a Bluetooth subsystem, and a Power Management Unit. MT7697D is an enhanced version with additonal support to 802.11a and 5GHz band.
This is the MTK7697 block diagram:
3. The development environment is built with the first program - Arduino way
3.1Setup Arduino IDE for LinkIt 7697
install Arduino IDE
Add LinkIt 7697 Board Support Package
LinkIt 7697 is a 3rd party board and you'll need to install extra 3rd party board
3.2 Connecting LinkIt 7697 to Computer
first, you need to install CP2102N VCP driver before connecting the board.
LinkIt 7697 connects to your computer through the COM port interface. The COM port interface is provided by the onboard CP2102N USB-to-UART bridge chipset, which then connects to the UART0 port of the MT7697 SoC. The UART0 port can be used to program the flash memory attached to the MT7697 chipset. It can also be used as a communication channel for your program through the Arduino IDE Serial Monitor, or other terminal programs of your choice.
A block diagram is shown below:
And then use a micro-USB cable connect your LinkIt 7697 with your computer.
3.3 Run Arduino By Using the Wi-Fi Library
The board comes with an LWiFi library that provides nearly the same interface as the Arduino's WiFi library.
3.3.1 Select File > Examples > LWiFi > ScanNetworks.
Adjust the Baud rate setting to 9,600. A list of nearby accessScanning for Nearby Wi-Fi Networ.
1.Select File > Examples > LWiFi > ScanNetworks. points and their signal strength should appear in the output window.
Adjust the Baud rate setting to 9,600. A list of nearby access points and their signal
strength should appear in the output window
You can press the onboard RST button to re-run the sketch without having to reconnect to the serial monitor. This is because the RST button only resets the MT7697 SoC but not the CP2102N chipset. The COM port is always available even when the SoC has been reset.Connecting to a Web Server
3.3.2 Scanning for Nearby Wi-Fi Network
The board comes with an LWiFi library that provides nearly the same interface as the Arduino's WiFi library. In this section, you'll learn how to run the ScanNetwork example, which shows a list of nearby Wi-Fi access points, the steps are as follows:
This example opens TCP connection to the web server http://download.labs.mediatek.com and requests for the TXT file