linkitlinkit7697iotwifibluetooth

LinkIt7697 development board:Artifact IOT--WIFI+ Bluetooth

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:

  Front view

   

Reverse view

 

The board's resources are as follows:

 

 

Hardware Overview 

 

Pinout

 

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.



  1. Adjust the Baud rate setting to 9,600. A list of nearby access points and their signal

    strength should appear in the output window



  2. Adjust the Baud rate setting to 9,600. A list of nearby access points and their signal strength should appear in the output window, for example.


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:

charssid[]="yourNetwork";// your network SSID (name) charpass[]="secretPassword";// your network password (use for WPA, or use as key for WEP)

This example opens TCP connection to the web server http://download.labs.mediatek.com and requests for the TXT file linkit_7697_ascii.txt:

// Make a HTTP request: client.println("GET /linkit_7697_ascii.txt HTTP/1.0"); client.println("Host: download.labs.mediatek.com"); client.println("Accept: */*"); client.println("Connection: close"); client.println();


After uploading the sketch to LinkIt 7697, open the Serial Monitor. The result should be HTTP response header, followed by an ASCII logo of LinkIt 7697 like below:


In short, LinkIt7697development board is very powerful, running speed, Flash / memory capacity, wireless communication interface are similar to the development of the board in the most outstanding.In addition to Seeed and MediaTek cooperation SOC processor hardware is better, the hardware vendors and open source community Commonly developed development environment is also the bright spot of this development board.We want to quickly develop IoT application of course preferred Arduino. The pursuit of performance and functionality can be used Native way development. Arduino has not yet covered all the hardware resources is the only flaw. In the open source community and manufacturers under the joint efforts of this problem will be in the near future will be resolved.


1092663243May 26,2017 21:36 PMAdd Comment

Comment

Popular Topics