The Qws Embedded Web Server

Quinapalus Home :: Things Technical :: The Qws Embedded Web Server

Features

  • stateful TCP/IP stack
  • up to six simultaneous connections
  • HTTP (hypertext transfer protocol)
  • both GET and HEAD methods supported
  • ARP (address resolution protocol)
  • responds to ICMP ‘ping’ messages
  • anti-spoofing sequence number scrambler
  • 10BaseT Ethernet interface
  • LCD status display
  • high speed: roughly as fast as a 500 MHz Linux PC-based server (as measured by ApacheBench)
  • low power: less than 200 mW, including Ethernet interface and LCD
  • low cost

The Qws embedded web server consists of a PIC16F877 microcontroller connected to a standard ISA Ethernet interface card. The total cost of the project was approximately six pounds (about ten US dollars), thanks largely to the kind donation of the Ethernet card.

The microcontroller offers 14 kbytes of FLASH program memory (organised as 8192 14-bit words) and 368 bytes of data RAM. The server code occupies about 1800 words of the program memory, the remainder being used as a filing system to store the web pages to be served. Approximately 270 bytes of data RAM are used.

The processor clock runs at 20 MHz, giving an instruction rate of 5 MHz.

The server supports the address resolution protocol (ARP) and ‘ping’, and, of course, the hypertext transfer protocol (HTTP). Unlike many embedded web servers, however, the implementation is ‘stateful’: it can service requests on up to six separate connections simultaneously.

The prototype server sometimes hosts the www.quinapalus.co.uk website. Note that this is for demonstration purposes only, and the site may be unavailable for extended periods while development work is being carried out.

If you’d like to know more about this project, please e-mail me.


This page most recently updated Fri 5 Jan 10:25:28 GMT 2024
Word Matcher

Options...
Type a pattern, e.g.
h???o
into the box and click ‘Go!’ to see a list of matching words. More...


Qxw screen
Qxw is a free (GPL) crossword construction program. New! Release 20200708 for both Linux and Windows. Non-Roman alphabets, batch mode, multiplex lights, answer treatments, circular and hex grids, jumbled entries, lots more besides. More...

You can order my book, ‘Practical Signal Processing’, directly from CUP or via Hive, Amazon UK or Amazon US.
Practical Signal Processing front cover
“Probably the best book on signal processing ever written” — review at Goodreads.
Wydanie polskie.

If you find this site useful or diverting, please consider a donation to NASS (a UK registered charity), to KickAS (in the US), or to a similar body in your own country.

Copyright ©2004–2024.
All trademarks used are hereby acknowledged.