Anda di halaman 1dari 12

ELEC2630 EMBEDDED

SYSTEM THEORY

Lecture 9: Alternative
Embedded System
Approaches
NETIOM CARD
A Useful Component of a
distributed Embedded System

 16 Digital Inputs
 16 Digital Outputs
 4 Analogue Inputs
 1 Serial Port
 1 Ethernet Port
Two Modes of Operation
 LOCAL – Initialisation of network
parameters and upload of web pages from
PC (Link via Serial Port)

 NETWORK – A range of Network Facilities,


including serving standard web pages,
sending automatic emails and reading and
writing I/O values over the Web ( via RJ45
10 Mb Ethernet port)
PC Application for Local
initialisation (Ethernet setup)
PC Application for Local
Initialisation (Other Features)
Action as a small Web
Server
 Can act as an HTTP server on the
Web
 Contains 32K of web space
 Can generate e-mails in response to
hardware events
 Can act as a client to a remote server
 Runs on local networks like the
University Intranet and on wide area
networks like the WWW.
A Simple web page example
<html>
<head>
<title>2860 entry page</title>
</head>

<body>
<center>
<h1>ENTRY PAGE FOR 2860 PRACTICAL EMBEDDED SYSTEMS SUPPORT AREA</h1>
</center>
<hr>
<p>
This page is the access control point for the support area of all students
working on PRACTICAL EMBEDDED SYSTEMS. Relevant members of staff also have access via this page.<br>
<br>
<form method = "post" action = "https://secure3.easyspace.com/www.edutronic.co.uk/cgi-bin/stpr001w.cgi">
<center>
<table>
<tr>
<td>NAME:</td>
<td><input type = "test" name = "stu_ID" size = "20"></td>
<td></td>
</tr>

<tr>
<td>PASSWORD:</td>
<td><input type = "password" name = "stu_pass" size = "20"></td>
<td></td>
</tr>

<tr>
<td><input type = "submit" value = "SEND"></td>
<td></td>
<td><input type = "reset" value = "CLEAR"></td>
</tr>
</table>
</center>
<input type = "hidden" name = "org" value = "2860">
</form>
</p>
</body>
</html>
Look of web page example
Control of I/O over the web
rm method = "post"
on = "https://secure3.easyspace.com/www.edutronic.co.uk/cgi-bin/stpr001w.cgi"

A Line of code from the web page example


Using FORMS. Note the action which is a filename ending in
the extension .cgi

CGI is a type of file that provides a COMMON GATEWAY


INTERFACE to forms and runs on the server

The Netiom uses cgi files where some of the variables are
replaced by actual values from the hardware and then sent
back to the web users screen. Input values from a user
form can update values in the hardware
Email Feature
 The card can be set up so that a input to
the hardware, or a value from counters
and timers within the hardware reacting to
external events, can be set to generate a
pre written message to specific locations
as an automatic alarm of system
problems.
 This could be used to contact support staff
in the case of a malfunction or more
usefully an impending malfunction
Another Embedded
Approach

http://www.directinsight.co.uk/downloads/ebk/101/tritontx27.pdf

Anda mungkin juga menyukai