FlyportPRO Tutorials

From openPicus Wiki
Revision as of 13:00, 27 January 2017 by Admin (Talk | contribs)

Jump to: navigation, search

Contents

APIs quick reference: F1 on IDE

Inside the IDE there's a useful quick reference containing the description of the APIs. You can access to this tool by pressing HELP button under "View" menu or directly pressing F1.
You can also get help about a specific function on your code by selecting it and pressing F1.

Tutorials

Basic concepts

Wiki-flyportp-wifi.png Wiki-flyportp-eth.png Wiki-flyportp-gprs.png Progprs2.png
Bootloader Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png
Pinout and Remappable pins Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png

Input/output functions

Wiki-flyportp-wifi.png Wiki-flyportp-eth.png Wiki-flyportp-gprs.png Progprs2.png
Digital output: LED blinking Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png
Digital input: a pushbutton toggles an Led Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png
Analog input: print on UART the value of a potentiometer Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png
PWM: dim an Led Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png

Communication busses

Wiki-flyportp-wifi.png Wiki-flyportp-eth.png Wiki-flyportp-gprs.png Progprs2.png
UART serial port Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png
I2C Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png
SPI Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png
SPI Tutorial Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png

Storage

Wiki-flyportp-wifi.png Wiki-flyportp-eth.png Wiki-flyportp-gprs.png Progprs2.png
How to use an external I2C EEPROM Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png
Read and write the on-board I2C EEPROM Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png
FAT File System on SD card Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png
How to manage directories on SD card Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png
How to manage Data Memory with Extended Data Space (EDS) Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png

Timing and Interrupts

Wiki-flyportp-wifi.png Wiki-flyportp-eth.png Wiki-flyportp-gprs.png Progprs2.png
Interrupt: read a button state Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png
RTCC Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png
Automatically set RTCC using SNTP Wiki-checkmark.png Wiki-checkmark.png
RTCC: countdown with led Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png Wiki-checkmark.png

Low power modes

Wiki-flyportp-wifi.png Wiki-flyportp-eth.png Wiki-flyportp-gprs.png Progprs2.png
Wi-Fi Power Saving Modes: Sleep and Hibernate Wiki-checkmark.png
GPRS Power saving modes: Sleep, Hibernate and Low Power Wiki-checkmark.png Wiki-checkmark.png

FOTA: Firmware upgrade over the air

Wiki-flyportp-wifi.png Wiki-flyportp-eth.png Wiki-flyportp-gprs.png Progprs2.png
FOTA: Firmware Update over Internet Wiki-checkmark.png Wiki-checkmark.png
FOTA: Firmware Update over Internet for FlyportPRO GPRS Wiki-checkmark.png

Connectivity functions (Wi-Fi and Ethernet)

Wiki-flyportp-wifi.png Wiki-flyportp-eth.png Wiki-flyportp-gprs.png Progprs2.png
How to manage Wireless Custom profile with user code Wiki-checkmark.png
How to manage Wi-Fi connection status Wiki-checkmark.png
How to use the Wireless Protected Setup (WPS) Wiki-checkmark.png
Network functions and variables Wiki-checkmark.png Wiki-checkmark.png
TCP sockets basic tutorial Wiki-checkmark.png Wiki-checkmark.png
Web server tutorial part 1: a simple usage Wiki-checkmark.png Wiki-checkmark.png
Web server tutorial part 2: getting complex, dynamic pages Wiki-checkmark.png Wiki-checkmark.png
Web server tutorial advanced: Interactive network setup page (SSID,DHCP...) Wiki-checkmark.png
How to read Wi-Fi Power signal RSSI Wiki-checkmark.png
How to manage BSSID and Network Roaming Wiki-checkmark.png
How to perform a Wi-Fi scan Wiki-checkmark.png
FTP Client, how to download a file using Stream mode Wiki-checkmark.png Wiki-checkmark.png
FTP Client, how to upload a file using Stream mode Wiki-checkmark.png Wiki-checkmark.png
How UDP Server and Broadcast Sockets work Wiki-checkmark.png Wiki-checkmark.png
How UDP Client works Wiki-checkmark.png Wiki-checkmark.png
Managing the SoftAP Wiki-checkmark.png
Deploy a configurable web-server to exchange UART data via TCP Wiki-checkmark.png
How to manage a SSL communication Wiki-checkmark.png Wiki-checkmark.png
Announce service and how to use it to discover the Flyport IP Wiki-checkmark.png Wiki-checkmark.png
Send a PING request and get response time Wiki-checkmark.png Wiki-checkmark.png

Connectivity functions (GPRS)

Wiki-flyportp-wifi.png Wiki-flyportp-eth.png Wiki-flyportp-gprs.png Progprs2.png
How GSM Task and APIs work Wiki-checkmark.png Wiki-checkmark.png
How to manage API execution status and errors Wiki-checkmark.png Wiki-checkmark.png
How to manage SMS Wiki-checkmark.png Wiki-checkmark.png
Understanding GSM events Wiki-checkmark.png Wiki-checkmark.png
Send an SMS message Wiki-checkmark.png Wiki-checkmark.png
Receive an SMS and read its content Wiki-checkmark.png Wiki-checkmark.png
Send an email Wiki-checkmark.png Wiki-checkmark.png
Receive a call and identify caller ID Wiki-checkmark.png Wiki-checkmark.png
Append data to a remote file via FTP Wiki-checkmark.png Wiki-checkmark.png
Download a remote file via FTP Wiki-checkmark.png Wiki-checkmark.png
Perform an HTTP request Wiki-checkmark.png Wiki-checkmark.png
Send and receive data on TCP Client Socket Wiki-checkmark.png Wiki-checkmark.png
How to read IMEI Wiki-checkmark.png Wiki-checkmark.png

Old tutorials

This section lists some tutorials that were written with older versions of the IDE and may therefore not work correctly anymore. We believe that, even if they need some manual tweaking to continue working, the information contained is still valuable to help understand the features and capability of the Flyports.

Description Compatible Flyport
UDP streaming example How to play audio from a UDP streaming source. VLC (VideoLan Client – www.videolan.org) is used as music encoder and network streamer. Wi-Fi, Ethernet
SD Card Music player How to create a SD card music player with both Serial and TCP Server interface for player commands .A microSD Card with FAT (FAT16 or FAT32) file system is needed for music files storage. Wi-Fi, Ethernet
HTTP serial bridge It's a web based serial monitor. It is possible to set serial port parameters from the same web page into Flyport.
Wi-Fi, Ethernet
FTP datalogger This app shows an example of how to develop a RTCC driven FTP datalogger that uploads strings to a remote file. The uploaded data are formatted in Comma Separated Value, with embeddedtime stamp; in this way, the log file can be opened with a large amount of Office Documents Suites (like Microsoft Office or OpenOffice), or even with a simple text editor. Wi-Fi, Ethernet
Lighting nest A nice webserver with jQuert to control relays Wi-Fi, Ethernet
Servomotor control Webserver interface to control 3 PWMs signals to control HS-422 servo motors Wi-Fi, Ethernet
ThingSpeak with parse ThingSpeak allows Flyport to download updated weather information, upload data to cloud servers, give access to online data charting functionalities and update Twitter. Wi-Fi, Ethernet
Personal tools
Namespaces

Variants
Actions
START HERE
DEVELOPMENT
HARDWARE INFO
RESOURCES
PHASED OUT
Toolbox