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
-49-
Copyright@2016 AcSiP
8.6 Controlling PWM with MRAA on AI7688H
Configure PWM pin:
To use PWM, initialize it on a certain pin such as GPIO. Note that
only GPIO18, GPIO19, GPIO20, GPIO21 supports PWM on AI7688H. So the first step is to
create a Pwm object by assigning the desired GPIO number.
Period
This defines the carrier frequency of the modulation. It’s controlled by period, period_ms
and period_us APIs, for example:
Duty Cycle and Pulse Width
These two parameters are related to each other and usually you only need to set one of
them. Duty cycle is controlled by write API with a value range between 0.0 to 1.0, where
0.0 is 0% of duty cycle and 1.0 is 100% of duty cycle. Pulse width also defines the pattern
in a different unit: the "uptime" of the signal in time units. This is defined
by pulsewidth, pulsewidth_ms, and pulsewidth_us APIs.
The following example generates a 500Hz PWM signal with 25% duty cycle on
pin P27(GPIO19)
You can also use config_percent to directly assign period and duty cycle: