User's Manual
Table Of Contents
- UPuTTYU provides Secure Socket Shell (SSH) access to the development board operating system.
- # Install Bonjour Print Service (For Windows 7 only)
- Steps:
- Check if the setup takes effect:
- In AP mode
- In Station mode
- Step1: Type UCI commands to assign SSID, key, and encryption information for running Station mode
- Step 2: Restart the Wi-Fi driver for activating the configuration
- Step 3: Check for Internet connection
- Step1: type UCI command to disable Station mode
- Step 2: restart the Wi-Fi driver
- Step 1: Create lks7688.cfg file
- Step 2: Attach the USB Drive to the board
- Step 3: Reset and press WiFi button
- # Using SCP
- Using Samba
- AWS IoT SDK for JavaScript
- AWS IoT Embedded-C SDK
- Basic Concepts :
- GPIO and Interupts
- PWM
- I2C
- SPI
- Installing MRAA
- Controlling LED with MRAA in Node.js
- Step-by-step
- Create and configure C project
- Supported cameras
- AI7688H has installed Linux UVC (USB Video Class) drivers to provide USB webcam suppport. Webcams follow the UVC standard can be supported on AI7688H. The real capabilities and supported resolution depend on the current UVC driver implementation.
- Step-by-step
- we use mjpg-streamer as the streaming application and it's already installed in the system firmware by default. For the webcam, Logitech C310 is used in this example.
AI7688H User Manual
-47-
Copyright@2016 AcSiP
SPI
SPI (Serial Peripheral Interface) can also be used to control peripheral devices.
AI7688H it consists of 4 pins: SPI_MOSI(P22), SPI_MISO(P23), SPI_CLK(P24), SPI_CS1(P25).
It’s important to note that the SPI device is also used for communicating with the internal
flash storage on the board.
Therefore, developers should access the SPI functionality through SPI modules only and
avoid treating these SPI pins as general GPIO. Otherwise, the flash storage may work
incorrectly.
The SPI module in libmraa is initialized by device index, instead of pin number:
8.4 Using UPM in Python
UPM is an open source sensor and peripheral driver repository based on libmraa APIs.
Among the popular sensor drivers such as I2C accelerometers and many others are
available from this repository.
AI7688H system image is pre-installed with UPM and you can start programming on
existing sensors immediately – but if the default implementation is not available, you can
use opkg package manager to update the UPM library.
UPM comes with bindings in C++, Python and Node.js. Let’s get started with an example
where you’ll learn how to use UPM and Python to receive values from an I2C accelerometer
– a Grove 3-Axis Digital Accelerometer (±16g).
#Connect the accelerometer to your board. If you have the breakout board, you can attach
it to the I2C grove interface. If not, you can also connect the pins from the accelerometer to
the corresponding pins GND, 3V3, SDA(P20) and SCL(P21) on AI7688H.
#Import pyupm_adxl345 module from the UPM repository in your program, you’ll do this in
the next step. This module is used because the Grove 3-Axis Digital Accelerometer (±16g)
uses the ADXL345 chipset.
#Create a Python script adxl.py with following content
Execute the Python script in system console by typing the following command: