E-Blocks Easy Internet Bundle



Similar documents
E-Blocks Easy RFID Bundle

FlowKit in-circuit debug system

USER GUIDE. Ethernet Configuration Guide (Lantronix) P/N: Rev 6

CMP-102U. Quick Installation Guide

ECIO40P ECIO28P ECRM40. Page 1. USB programmable microcontrollers. 0.6 DIP footprint. Supplied with a free version of Flowcode. E-blocks compatible

Android, Bluetooth and MIAC

How To Program A Microcontroller Board (Eb064) With A Psp Microcontroller (B064-74) With An Ios 2.5V (Power) And A Ppt (Power Control) (Power Supply) (

Network/Floating License Installation Instructions

1-Port Wireless USB 2.0 Print Server Model # APSUSB201W. Quick Installation Guide. Ver. 2A

Ethernet Interface Manual Thermal / Label Printer. Rev Metapace T-1. Metapace T-2 Metapace L-1 Metapace L-2

Movie Cube. User s Guide to Wireless Function

User Manual Network Interface

ADSL Router Quick Installation Guide Revised, edited and illustrated by Neo

Computer Networks I Laboratory Exercise 1

Easy Setup Guide for the Sony Network Camera

Contents. ST9612 Model WIC Printer. Get the original printer s information. Edited 11/04/15

Using the VEX Cortex with ROBOTC

Option nv, Gaston Geenslaan 14, B-3001 Leuven Tel Fax Page 1 of 14

ENPS-MF1. 1 USB Port. Multifunctional Print Server. Quick Installation Guide V1.0

Configuring an A Series LED Sign Controller for your Network

P-660HWP-Dx. Quick Start Guide g HomePlug AV ADSL2+ Gateway. Version /2007 Edition 1. Copyright All rights reserved.

FINS Gateway For OMRON PLCs

Network Setup Guide. 1 Glossary. 2 Operation. 1.1 Static IP. 1.2 Point-to-Point Protocol over Ethernet (PPPoE)

F-Series Desktop User Manual F20. English - Europe/New Zealand

Switch board datasheet EB

1 crossover cable. the PCs. network

Servicom G.R.I.P. Enabling Global Push-to-Talk over BGAN and Fleet Broadband Version

Software Installation Guide

Wireless LAN g USB Adapter

To perform Ethernet setup and communication verification, first perform RS232 setup and communication verification:

CCNA Discovery Networking for Homes and Small Businesses Student Packet Tracer Lab Manual

How do I configure the wireless printer using a USB or Ethernet cable and install the printer driver in Windows?

E-Mon Communication Gateway Utility Instructions for BACnet/mstp

3.5 EXTERNAL NETWORK HDD. User s Manual

1-port USB 2.0 Print Server. Manual (GPSU21)

Fiery E100 Color Server. Welcome

A6210 WiFi USB Adapter ac USB 3.0 Dual Band User Manual

Wireless Router Setup Manual

Chapter 10 Troubleshooting

This document details the following four steps in setting up a Web Server (aka Internet Information Services -IIS) on Windows XP:

Router Setup Manual. NETGEAR, Inc Great America Parkway Santa Clara, CA USA

SATO Network Interface Card Configuration Instructions

Networking. General networking. Networking overview. Common home network configurations. Wired network example. Wireless network examples

ASUS WL-5XX Series Wireless Router Internet Configuration. User s Guide

Application Note: Connecting to a 2500 Series Processor using PLC Workshop

How to Remotely View Security Cameras Using the Internet

BIT COMMANDER. Serial RS232 / RS485 to Ethernet Converter

Setting up VPN connection: DI-824VUP+ with Windows PPTP client

UPS Network Interface. Quick InstallationGuide

Quick Installation Guide

BASLER ACE QUICK INSTALLATION GUIDE

Network Printing In Windows 95/98/ME

P-660HNU-Tx. Wireless N ADSL2+ 4-port Gateway DEFAULT LOGIN DETAILS. Firmware v1.02 Edition 1, 11/2011. IP Address:

Quick Installation Guide

Software Installation Guide

19 LCD / 8 CHANNEL DVR COMBO WITH 160GB HDD & 4 CAMERAS

Additional Requirements for ARES-G2 / RSA-G2. One Ethernet 10 Base T/100 Base TX network card required for communication with the instrument.

RS232 Board datasheet

Configuring Windows 7 64 bit for AutoVISION

Quick Installation Guide Network Management Card

NETWORK USER S GUIDE. Multi-Protocol On-board Ethernet Multi-function Print Server and Wireless Ethernet Multi-function Print Server

Chapter 7 Troubleshooting

HWg-STE HWg-STE PoE MANUAL

Network Installation Guide. WorkForce 600 Series Artisan 700 Series Artisan 800 Series

1 INTRODUCTION. This document describes the procedure to upgrade LTMR.

Quick Installation Guide

GreenEye Monitor Setup Guide V1.0 Brultech Research Inc.

WUA Mbps Wireless USB Network Adapter

NETWORK SETUP GLOSSARY

Installation Guide 1-port USB 2.0 Print Server 1 GPSU21

CAN bus board. EB018

Windows Vista /Windows 7 Installation Guide

ProSAFE 8-Port and 16-Port Gigabit Click Switch

Installing the USB driver for Firmware 7 or later For use with E-blocks programmer boards and PICmicro Development boards.

Installing the Gerber P2C Plotter USB Driver

Configuring Socket Input for ECRM RIPMate

HP-1000 Powerline USB Adapter

NETWORK USER S GUIDE. Multi-Protocol On-board Ethernet Multi-function Print Server and Wireless Ethernet Multi-function Print Server

PC/POLL SYSTEMS Version 7 Polling SPS2000 Cash Register TCP/IP Communications

P-660R-T1/T3 v2 Quick Start Guide

HP-1000 Powerline Ethernet Adapter

Using a simple crossover RJ45 cable, you can directly connect your Dexter to any computer.

3.5 LAN HDD Enclosure User s Manual

Chapter 15: Advanced Networks

How To Set Up An Andsl Modem Router For Internet Access

Network User s Guide

Quick Start Guide Vodafone Mobile Broadband USB Stick. Designed for Vodafone

LED board datasheet EB

Section 5: Connecting the Laser to Your Computer

Setting up a networked printer on a local PC

Internet Guide. Prepared for 55 John Street

You may refer the Quick Installation Guide in the package box for more information.

CONNECTING THE RASPBERRY PI TO A NETWORK

Print Server Application Guide

Aolynk DR814Q ADSL2+ Broadband Router Quick Start

Installation Guide for Windows May 2016

Two options are available to install the device: 1. Conceptronic USB Filetransfer Cable (*) 2. Conceptronic USB Network Filetransfer (*)

Installation and Operation Guide

Installing the Microsoft Network Driver Interface

Network Setup Guide. Introduction. Setting up for use over LAN

Transcription:

Page 1 Cover Page

Page 2 Flowcode Installing Flowcode Instruction for installing Flowcode can be found inside the installation booklet located inside the Flowcode DVD case. Before starting with the course it is recommended to update your version of Flowcode to the latest released version. This allows for the latest bug fixes and components to run on your machine. The latest version of Flowcode can be found by visiting the Matrix TSL website and clicking on the Flowcode page. http://www.matrixtsl.com/flowcode3a-x.php Getting Started with Flowcode There is a free online course available for helping with getting started with learning Flowcode. This course covers basic principals through to designing your own programs and programming the devices. It is recommended that you take time to go through this course before proceeding with the bundle exercises to give you a better grasp of what the Flowcode program is doing. The online course is available from the learning centre on our website or by visiting the following address: http://www.matrixtsl.com/lc_microcontroller.php Flowcode Examples A number of pre-made example files are available for download from the main Flowcode page on the Matrix TSL website. These files are also located on the Flowcode CD. Before the example files can be used you must first copy them into a folder on your hard drive. The example programs referenced in this bundle can be found at the following web address: http://www.matrixtsl.com/lc_bundle_manuals.php Or by clicking the bundle manuals link from the Learning Centre area of our website. Flowcode Help There is a help file available that covers all the main features of Flowcode. This help file can be accessed by clicking the question mark icon in the main Flowcode toolbar or alternatively clicking the help menu and selecting contents. There are also help files available for each and every component in Flowcode which explain the functionality of the component and the component macros. The component help files can be found by selecting the component on the panel and the clicking the Help button in the properties toolbar. General Support Support for frequently encountered problems can be found online on our FAQ s site. Our online forums can also be used as a general discussion area or for help or advice.

Wiring & Testing Page 3 To setup your E-Blocks for use with the example programs you must perform the following actions: Remove the 16F88 Device from the EB006; Insert the 16F877A into the EB006; Connect up the E-Blocks as shown on the right. The Internet, LCD and Switch E-Blocks all need to be connected to the +V on the EB006 via single core wire. Connect the Ethernet cable from the EB023 to the back of your computer or hardware router. Before you can begin you must install the driver for the EB006 using the ELSAM CD or by visiting the Matrix TSL website: http://www.matrixtsl.com The system can be tested by compiling and sending one of the example programs to the hardware. This is done by opening one of the example files in Flowcode and then clicking the compile to chip button. The example Flowcode files contain a correct configuration so you will not have to modify the configuration to allow them to run on the hardware. Any program you create from scratch will have to be configured as shown on the left. The configuration is specified by clicking the Chip -> Configure menu icon Flowcode and then if you need more options click the switch to expert config screen button. Example file 1 is a good test file as it is probably the easiest way to confirm that all of your hardware is working correctly.

TCP/IP & Webserver Components Page 4 The Flowcode TCP/IP or Webserver components can be added to your program by finding the component in the Peripheral section of the Flowcode component toolbar. TCP/IP Component Icon Webserver Component Icon Once the component has been added to your program you will find that the component icon has been added to your panel. The TCP/IP component and the Webserver component both share the same first property page. This sets up key features of the Internet E-Block such as the IP address, the subnet mask and the MAC address. The properties also include the pin used for the I2C / INT connection which is 0 by default. Finally there is the I2C device address that is defined by the jumpers on the Internet E-Block. This setting must match your E-Block setting or the I2C connection to the internet module will not function correctly. The address on the board must match the settings in the properties The webserver component also has a further four property pages to define the contents of the internet pages. The component is capable of hosting up to four internet html pages so you should put your html into these property pages. The URL name of the page is also defined on the respective property page. Javascript is also allowed in these HTML pages.

Example 1 Page 5 Example 1 demonstrates the usage of the Webserver component. The server is initialised and then the program enters a infinite loop where the value of the switch E-Block is read into variable BOO1. The CheckSocketActivity macro function must be called as part of the main program loop as this allows remote page requests to be detected and serviced. The IP address for the example is set to 192.168.0.25 Variables can be embedded into the HTML code by using percentage characters on either side of the variable name as shown on the right.

Example 1 Page 6 To configure your computer for use with the Webserver component you will have to ensure that your computers IP address is compatible with the Webserver s IP address. For an IP address to be compatible you will need to ensure that the first three numbers of the address match the first three numbers of the IP address used on the device. To manually change your IP settings on your computer start by right clicking my network places and selecting properties. Here you will see your network adapters. Right click your local area connection and select properties. Then select the Internet Protocol (TCP/IP) and click properties. Now you can manually specify your own IP address. Once you are finished click ok twice to close the dialogue windows. Once you have set up your IP address for use with the webserver you can simply type the address of the webserver into your internet browser. The page will then display your HTML code and automatically refresh using the javascript refresh function.

Example 2 Page 7 Exercise 2 uses the TCP/IP component and creates a simple ping system that can be used to detect if a particular IP address is being used on a network. This is useful to allow you to scan for computers on a network or simply to ensure an address is valid before we start sending data to it. The program starts by initialising the LCD and the TCP/IP components to allow them to function correctly. We also define a connection point so we can jump back to the start of the program at any point. Once the initialisation is out of the way the program then checks the switches for a button press. If no press is detected then the program loops back to the beginning to rescan the switches. Once a switch press has been detected the last digit of the IP address to ping will be assigned. Next we create a IP socket to carry the data and define the destination by passing the IP parameters to the Set_Destination component macro. The Send_IP_Data macro then uses the TX_Start, TX_SendByte and TX_End component macros to send the ping data to the IP address.

Example 2 Page 8 Once the ping request has been sent out the program will wait a short amount of time to try and receive the ping response. If a response is received then the ping has been successful and we now know that there is a device on that specific address that we can communicate with. If no data is available then we output the message No Reply and return to the start of the program. If there is return data available then we go into the Receive_ICMP_MSG macro to collect the data and output it to the LCD. Shown on the right it the code that collects the returning data and outputs the data to the LCD a byte at a time. A successful ping message will result in the following appearing on your LCD. To alter the IP address of your computer please follow the steps shown in Example 1.

Example 3 Page 9 Exercise 3 demonstrates a broken down version of the Webserver component where we can parse the incoming requests, send html to a web browser and also echo the request data from the computer to the LCD. At the start of the program we initialise the Internet and LCD E-Blocks and then we create a socket attached to port 80 (standard browser port) and start a listener for any incoming request on that port. If we receive incoming data then it is parsed using the RX_Match4Bytes component macro. If the data is a GET instruction eg send from a web browser then we can use the Send_HTML macro to forward HTML data to the remote computer.

Example 3 Page 10 The HTML is sent out by using the TX_Start, TX_sendbyte and TX_end macros. These macros all reference socket 0 that we created at the beginning of the program. When we have finished sending out the data then we collect the remainder of the incoming request and forward it to the LCD. To request the page from the embedded device you simply have to ensure that your computer has a compatible IP address by following the method shown in Example 1. Once you have a compatible IP address setup on your computer you can request the html from the device by simply typing the IP address of the device into your internet browser.

Troubleshooting Page 11 If you are having any problems getting up and running with any of the examples or any of the Flowcode components then the first port of call is to ensure you have your boards plugged together and wired correctly. As a rule of thumb any board with a screw terminal and a +V marking should be connected via a single core wire to the +V screw terminal on the corresponding Multiprogrammer. If you do run into any problems then there is help and advice available from our online user forums located here: http://www.matrixtsl.com/mmforums/ The Articles section contains quite a few examples, as well as hints and tips to aid in your applications There is also an online video demonstrating Flowcode, available from the videos section of our website: http://www.matrixtsl.com/lc_videos.php

Other Products Page 12 Matrix TSL is a leading global technology company. Over the years we have developed a portfolio of award-winning products which have applications in Education, Industry and in the home. Learning is at the heart of much of what our company does, and the philosophy of all Matrix learning products is based on learning by doing. Each year Matrix spends around 25% of turnover on research and development to ensure that our learning and development resources are world class. MIAC PLC MIAC (Matrix Industrial Automotive Controller) is an industrial grade control unit which can be used to control a wide range of different electronic systems including sensing, monitoring and automotive. It has a number of applications in industry and learning. Formula Flowcode Formula Flowcode is a robot vehicle which is used to teach robotics, and to provide a platform for competing in robotics events. ECIO ECIO devices are powerful USB programmable microcontrollers with either 28 or 40 pin standard DIL (0.6 ) footprints. They are perfect for student use at home, project work and building fully integrated embedded systems. FlowKit The FlowKit allows for in circuit debugging directly from within Flowcode. This is the same ICD debugging feature that is included with our version 7 EB006 Multiprogrammer boards. Flowcode + E-Block Technology bundles Matrix TSL technology bundles are based on a combination of two of our most popular products, E-Blocks and Flowcode. Other bundles in the range Easy Mobile Communications Pack Easy Zigbee Pack Easy RFID Easy Internet Easy CAN Bus Easy GPS Easy USB Build your own PC Interface Build your own PLC Build your own Data-logger