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
-44-
Copyright@2016 AcSiP
8.2 Basic Concepts of MRAA
Libmraa is a C/C++ library to interface with the peripheral on AI7688H. Libmraa is
pre-installed in the system image of AI7688H and supports C++, Python and Node.js
bindings.
Installing MRAA:
Libmraa is already installed in the system image of AI7688H, so you don't need to install it
again.
Basic Concepts :
The majority of hardware modules such as GPIO, UART, SPI, and PWM are represented as
objects created by mraa's factory function.
These modules are initialized on certain pins that are identified by pin numbers.
The pin numbers in the libmraa on AI7688H are identical to the GPIO number in the data
sheet and in the Linux GPIO subsystem. The following Python example creates GPIO object
on GPIO 2:
This maps to P10 of AI7688H and it’s the IS2_WS pin in data sheet, as shown in table below.
8.3 Using MRAA in Python
To use libmraa in Python, you need to import it. In the below example, libmraa is imported
and the output is the build version of the mraa:
GPIO and Interupts
To control GPIO pins, initialize the pin as GPIO pin and set its mode. The simplest operation
mode is OUTPUT - set the pin to HIGH or LOW to enable and disable external switches or to
form signal patterns.