User manual
MediaTek LinkIt™ Smart 7688 Developer's Guide
© 2015, 2016 MediaTek Inc.
Page 79
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.
6.6.2. Prototype
The diagram, as shown in Figure 57, illustrates how the MPU and MCU in LinkIt Smart 7688 Duo
communicate with each other using Firmata protocol and Python.
Figure 57 MPU MCU Communication Diagram
6.6.3. Setup Your Development Environment
LinkIt Smart 7688 Duo supports Arduino 1.6.5 and Python 2.7.
Firmata protocol requires implementation on the MPU and the MCU. To begin, you’ll need to
install software to program the MCU.
Please make sure you’ve installed the following:
• For your PC:
o Arduino IDE 1.6.5
It provides a set of default implementations and programs the ATmega32U4.
• For your LinkIt Smart 7688 Duo :
o Python 2.7
It’s preloaded in the system image.
o pyFirmata
This is a Python interface for Firmata protocol used on the MCU. You can install it by
typing pip install pyfirmata in the system console. At the time of writing, LinkIt Smart
7688 Duo supports version
pyFirmata-1.0.3-py2.7.
o PyMata