Pico Web A 25 Web Server TM Embedded
Pico. Web : A $25 Web Server TM Embedded Internet Workshop October 1, 1999 San Jose, California Bruce D. Lightner Engineering La Jolla, California E-mail: lightner@lightner. net URL: www. picoweb. net Telephone: (858) 551 -4011 10/1/99 1
Pico. Web Server TM 10/1/99 11/5/2020 2
Pico. Web Server Features TM n n n n Complete full-function stand-alone Web server Based on Atmel 90 S 8515 8 -bit microcontroller Ethernet controller on-board (10 base. T) 100% Flash-based (code/data/HTML/images) 100% RFC-793 compliant TCP/IP stack CGI support (Pico. Web p-code/AVR assembly) Update p-code/Web pages via network Complete development environment (Windows) 10/1/99 11/5/2020 3
Pico. Web Block Diagram TM 9 -24 VDC +5 V DC Regulator Digital I/O Atmel 90 S 8515 8 -bit Controller 16 KB Serial I 2 C EEPROM SPI Port RS-232 Maxim RS-232 XCVR Ethernet 10 base. T Interface Realtek Ethernet Controller DB 25 LEDs Col Link User 10/1/99 11/5/2020 4
Pico. Web Server PCB TM 10/1/99 11/5/2020 5
Pico. Web Server Hardware TM n n n n n Atmel 90 S 8515 8 -bit microcontroller (8 MHz) Realtek NE-2000 Ethernet chip (10 base. T) 8 KB flash program memory (~2 KB free) 512 bytes on-chip SRAM (~256 free) 512 bytes on-chip data EEPROM (~500 free) 16 KB I 2 C serial EEPROM chip (~16 KB free) 16+ free I/O lines RS-232 serial port (with RTS/CTS) Onboard +5 V DC regulator (~30 m. A used) In-circuit programming port (PC parallel port) 10/1/99 11/5/2020 6
Pico. Web $25 Breadboard TM PC NE-2000 Ethernet Card ISA-Bus Connector LED Atmel P* +5 V DC Reset *Atmel AT 90 S 8515 10/1/99 11/5/2020 16 KB Serial EEPROM 7 Program Serial Port
Pico. Web Sample Web Page TM 10/1/99 11/5/2020 8
Pico. Web HTML/CGI Example TM Emit HTTP header `t <html> <body text=#000000 bgcolor=#c 0 c 0 c 0><center> <h 2>Frey 'n Hell Light Web. LED v 1. 29</h 2> Turn LED on (I/O bit 4) <form name=LED method=GET action="/"> <input type=radio NAME=4 VALUE=0 `004 CHECKED{}>on <input type=radio NAME=4 VALUE=1 `004{CHECKED}>off <input type=submit VALUE="Set LED"> </form> Conditional: Is I/O bit 4 on? © 1998 -1999 Freyder, Helland & Lightner <img src="steve. jpg">   <img src="davenew. jpg">  Read/emit <img src="bruce. jpg"> temp. (as ASCII text) The current temperature reading is `701ºF </center></body></html> 10/1/99 11/5/2020 9
Pico. Web Server Development TM n n n n Atmel AVR assembly/Pico. Web p-code Windows command-line based environment Mostly “open source” tools (Perl, gcc cpp, etc. ) User supplies HTML code, JPEG/GIF images CGI support (user-supplied routines) On-chip debug monitor (serial port/Web) Fast turn-around (edit/build/load/run) – Program changes: <60 sec. – Web page/external p-code changes: <5 sec. n Restrictions? Yes! (relating to host processor) 10/1/99 11/5/2020 10
Pico. Web Enabled Instrument TM Probe Ultra-Sonic Thickness Gauge RS-232 Pico. Web Server 10 base. T Internet 10/1/99 11/5/2020 11
Pico. Web Enabled Instrument TM 10/1/99 11/5/2020 12
Pico. Web Enabled Thermostat TM RCS TR-15 HVAC Thermostat Pico. Web PCB Ethernet 10/1/99 11/5/2020 HVAC Controller Wall Unit 13
Pico. Web Enabled Thermostat TM 10/1/99 11/5/2020 14
Pico. Web TM www. picoweb. net 10/1/99 11/5/2020 15
- Slides: 15