Wireless LAN Application Guide

From Flowcode Help
Revision as of 14:08, 3 September 2014 by LeighM (talk | contribs) (→‎Example 1:)
Jump to navigationJump to search

Introduction

These examples demonstrate the use of the Flowcode Wireless LAN component.

In particular they make use of the EB069 E-blocks Wireless LAN board and EB006 E-blocks PICmicro multiprogrammer fitted with a 16F1937 microprocessor.

However, the examples are easily changed in Flowcode to support other microprocessors and platforms.

The Matrix TSL EB868SI6 Easy Wireless LAN bundle has all the items required for these sample applications and is an ideal introduction to Wireless internet technology.


Setting up the project hardware

Connect the E-Blocks as indicated in the table below. All the downstream E-Blocks, apart from the LED board, need to be powered via wire connections to the +V on EB006 upstream processor board.


Hardware Setup
EB006 PICmicro multiprogrammer
Port A EB090 E-blocks Sensor board
Port B EB005 E-blocks LCD board
Port C EB069 E-blocks WiFi board
Port D EB004 E-blocks LED board


Example 1: Using the Wireless LAN as a web page server

FC6 Icon.png Wireless Web Server Example

Example 1 demonstrates the use of the WLAN component as a web server. The server is initialised and then the program enters a infinite loop where the value of the Light sensor on the Sensor E-block is read into a variable. The CheckForPageRequests macro function is be called as part of the main program loop as this allows remote page requests to be detected and serviced.

Example 2:

FC6 Icon.png Example

Example 2


Example 3:

FC6 Icon.png Example

Example 3