MediaTek LinkIt™ Smart 7688 Get Started Guide Version: Release date: 0.92 November 2015 Specifications are subject to change without notice. © 2015, 2016 MediaTek Inc. This document contains information that is proprietary to MediaTek Inc. Unauthorized reproduction of this information in whole or in part is strictly prohibited.
MediaTek LinkIt™ Smart 7688 Get Started Guide Document Revision History Revision Date Description 0.92 Nov 2015 Closed beta release Page 2 of 19 © 2015, 2016 MediaTek Inc. This document contains information that is proprietary to MediaTek Inc. Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
MediaTek LinkIt™ Smart 7688 Get Started Guide Table of Contents 1. 2. Get Started With the LinkIt™ Smart 7688 Development Platform ............................................. 5 1.1. Get the Hardware and Software .................................................................................................................. 5 1.2. Sign into the LinkIt Smart 7688 development boards Web UI ...................................................... 6 1.3. Update Your Board’s Firmware ...................
MediaTek LinkIt™ Smart 7688 Get Started Guide Lists of tables and figures Figure 1 Providing power to the LinkIt Smart 7688 board ....................................................................................... 7 Figure 2 Wi-Fi LED Status ....................................................................................................................................................... 7 Figure 3 Connecting to LinkIt_Smart_7688 AP ..................................................................
MediaTek LinkIt™ Smart 7688 Get Started Guide 1. Get Started With the LinkIt™ Smart 7688 Development Platform Welcome to the LinkIt Smart 7688 development platform quick start guide, this guide is based on using Windows with examples created in Python, however the same steps apply to Mac and Linux and for node.js — unless specifically noted otherwise. 1.1. Get the Hardware and Software This section describes the hardware and software you need to get started.
MediaTek LinkIt™ Smart 7688 Get Started Guide Step 3: Install Bonjour Print Service (For Windows 7 only) The LinkIt Smart 7688 development board uses mylinkit.local as its local domain. In Windows 7, you’ll need to install the Bonjour print service because mDNS is not supported. This helps your computer discover the LinkIt Smart 7688’s IP address within the local domain. For Windows 8 and later, Mac OS X and Linux, mDNS is supported and you can use mylinkit.local without additional software.
MediaTek LinkIt™ Smart 7688 Get Started Guide Figure 1 Providing power to the LinkIt Smart 7688 board After boot loader initialization, the boot up process begins, which takes about 30 seconds. Next, the Wi-Fi LED turns off; this means the system is ready to accept a Wi-Fi connection. Figure 2 shows how the Wi-Fi LED status matches the system state.
MediaTek LinkIt™ Smart 7688 Get Started Guide Step 2: Connect your PC to the LinkIt_Smart_7688 AP Open the Wi-Fi connection utility on your computer and connect to the access point named LinkIt_Smart_7688, as shown in Figure 3. Figure 3 Connecting to LinkIt_Smart_7688 AP The red LED will blink three times per second after you’ve connected to the LinkIt_Smart_7688 AP. If you have multiple LinkIt Smart 7688 boards, power only one of them to prevent a name collision.
MediaTek LinkIt™ Smart 7688 Get Started Guide Figure 4 LinkIt Smart 7688 in AP mode You’ll learn how to connect LinkIt Smart 7688 to the Internet in later steps. But first, you need to configure the board. Step 3: Access the LinkIt Smart 7688 Web UI configuration tools You now setup the LinkIt Smart 7688 Web UI, a tool for configuring the settings of you board. 1) In your web browser open http://mylinkit.local, as shown Figure 5. Page 9 of 19 © 2015, 2016 MediaTek Inc.
MediaTek LinkIt™ Smart 7688 Get Started Guide Figure 5 LinkIt Smart 7688 Web UI Set Password 2) Set a password using at least 6 alphanumeric characters and click Submit. Enter the password again and click Sign In. If the board already has a password and you don’t remember it, use a USB drive to upgrade the firmware or press and hold the Wi-Fi button for at least 20 seconds and release to return the board to the factory defaults.
MediaTek LinkIt™ Smart 7688 Get Started Guide Quick steps: • Install LinkIt Smart 7688 SDT • Upgrade LinkIt Smart 7688 firmware using Web UI Next: Access the LinkIt Smart 7688 System Console through SSH. Step-by-step Step 1: Install LinkIt Smart 7688 SDT 1) The latest LinkIt Smart 7688 SDT from the MediaTek Labs website includes the firmware, bootloader, and toolchain you need to develop applications for LinkIt Smart 7688.
MediaTek LinkIt™ Smart 7688 Get Started Guide Figure 7 Selecting firmware file and start upgrade 3) The firmware uploads to your board. Please make sure the board stays connected to its power source until the firmware upgrade is completed. Notice the Wi-Fi LED blinks for about 3 minutes (firmware upgrading), then the board will restart and the LED lights on for about 30 seconds (rebooting). Finally, the board enters AP mode and is ready to be connected.
MediaTek LinkIt™ Smart 7688 Get Started Guide LinkIt Smart 7688 system console enables you to enter text commands and get system administration messages. Quick steps: • Open your terminal emulator and sign in Next: Run the Blink Example. Step 1: Open a Terminal Emulator and Sign in. On Windows: 1) Open PuTTY and in the configuration window, type mylinkit.local in Host Name, click the SSH radio button and then Open, as shown Figure 9.
MediaTek LinkIt™ Smart 7688 Get Started Guide Figure 10 PuTTY Security Warning 3) The PuTTY terminal window displays. Log in with username root and the password you set previously in the Web UI, after log in you should see a screen similar to Figure 11. Figure 11 System console window On Mac or Linux: Open Terminal and at the command prompt type ssh root@mylinkit.local. Press return and enter the password you set previously in the Web UI. Page 14 of 19 © 2015, 2016 MediaTek Inc.
MediaTek LinkIt™ Smart 7688 Get Started Guide If you see a warning error indicating host ID has changed, please check the Troubleshooting section in the MediaTek LinkIt Smart 7688 Developer’s Guide. You now have access to system console using SSH. 1.5. Run the Blink Example You are now ready to run your first example on the LinkIt Smart 7688 development board. This example switches the board’s Wi-Fi LED on and off every half second.
MediaTek LinkIt™ Smart 7688 Get Started Guide 1.6. Connecting to the Internet In order for the board to access the Internet, it needs to join another network that has an access point connected to the Internet, and to do that, the board needs to be in Station mode.
MediaTek LinkIt™ Smart 7688 Get Started Guide 2) Select the Station mode and click Refresh or downward arrow on the right to find the AP to connect to. After you’ve selected the AP, enter password if required. Click Configure & Restart to finish as shown below. Note: If you entered the AP’s password incorrectly, you can reset the board to AP mode by clicking the Wi-Fi button for at least 5 seconds and release, this allows you to redo Station mode in the network settings again.
MediaTek LinkIt™ Smart 7688 Get Started Guide Figure 14 LinkIt Smart 7688 in Station Mode Step3: Open terminal emulator and Sign in again Once your host computer has joined the same Wi-Fi network, you can again connect to LinkIt Smart 7688 with mylinkit.local domain again through SSH as before. Step 4: Check for Internet connection Now check if you’ve established Internet connection by typing the following command in the terminal window: # ping –c 5 www.mediatek.
MediaTek LinkIt™ Smart 7688 Get Started Guide 2. What’s Next? You’ve set up the development environment for LinkIt Smart 7688, ran an example using Python and connected the device to the Internet. Please check out more tutorials, resources and inspiration related to LinkIt Smart 7688 from the following links: 2.1.