[텍스트 입력] WIZ-Embedded WebServer User’s Manual (Ver. 1.0) ©2007 WIZnet Inc. All Rights Reserved. For more information, visit our website at www.wiznet.co.
WIZ-Embedded WebServer User’s Manual Document History Information Revision Ver. 1.0 Data 2008. 09. Description Release with WIZ-Embedded WebServerlaunching 2 © Copyright 2007 WIZnet Inc.
WIZ-Embedded WebServer User’s Manual WIZnet’s Online Technical Support If you have something to ask about WIZnet Products, Write down your question on Q&A Board in WIZnet website (www.wiznet.co.kr). WIZnet Engineer will give an answer as soon as possible. 3 © Copyright 2007 WIZnet Inc.
WIZ-Embedded WebServer User’s Manual Table of Contents 1. Introduction ......................................................................................................................................... 7 1.1. Main Function .........................................................................................................................................................7 1.2. Specification .......................................................................................................
WIZ-Embedded WebServer User’s Manual Tables Table 1. WIZ-Embedded WebServer Specification ..................................................................................8 Table 2. Contents of WIZ-Embedded WebServer ....................................................................................9 Table 3. WIZ-Embedded WebServer PIN MAP ...................................................................................... 12 Table 4. Expansion Connector ................................................
WIZ-Embedded WebServer User’s Manual Figures Figure 1. Block Diagram .................................................................................................................................. 10 Figure 2. WIZ-Embedded WebServer Base Board Layout ................................................................. 11 Figure 3. AVR JTAG Connector...................................................................................................................... 12 Figure 4. AVR ISP Connector ..........
WIZ-Embedded WebServer User’s Manual 1. Introduction WIZ-Embedded WebServer provides the tiny web server operating on low-speed MCU. It controls digital output or monitors digital and analogue input through web browser. The webpage is stored in the serial flash memory of the board, and can be updated through network. 1.1.
WIZ-Embedded WebServer User’s Manual 1.2. Specification ITEM Description ATmega128 MCU (having internal 128K Flash, 4K SRAM, 4K EEPROM, external 32K SRAM, 512K Serial Flash) TCP/IP - W5300 (Ethernet MAC & PHY Embedded) UDP – Configuration Protocols HTTP Server DHCP Network Interface Input Voltage DC 5V Power Consumption Temperature Humidity 10/100 Mbps Auto-sensing, RJ-45 Connector Under 180mA 0°C ~ 80°C (Operation), -40°C ~ 85°C (Storage) 10 ~ 90% Table 1.
WIZ-Embedded WebServer User’s Manual CD (Configuration Tool Program, Firmware, Manual are included) 9 LAN Cable 5V Power Adaptor Table 2. Contents of WIZ-Embedded WebServer ☞ If any missing item is found, contact to the shop you purchased. 2. Block Diagram © Copyright 2007 WIZnet Inc.
WIZ-Embedded WebServer User’s Manual 10 Figure 1. Block Diagram The main MCU of WIZ-Embedded WebServer is 8 bit AVR (ATmega128). The Ethernet is processed by W5300, the hardwired TCP/IP chip. When connected to the IP address of the board at the web browser, the webpage in the serial flash memory is transmitted and displayed. Each webpage enables control of digital input & output, analogue input and network configuration on the web. © Copyright 2007 WIZnet Inc.
WIZ-Embedded WebServer User’s Manual 3. WIZ-Embedded WebServer Base Board WIZ-Embedded WebServer module can be tested by using base board. 11 Figure 2. WIZ-Embedded WebServer Base Board Layout ① Power The power can be controlled by using power switch after connecting the DC 5V (500mA) adaptor. ② ATmega128 JTAG Connector © Copyright 2007 WIZnet Inc.
WIZ-Embedded WebServer User’s Manual Figure 3. AVR JTAG Connector 12 ③ ATmega128 ISP Connector Figure 4. AVR ISP Connector ④ WIZ-Embedded WebServer Module Connector The connector has below pin map. Figure 5. WIZ-Embedded WebServer PIN MAP J3 J2 3.3V 3.
WIZ-Embedded WebServer User’s Manual ⑤ Serial Connector(UART0) The debugging information is transmitted through Serial connector when proceeding development. ⑥ Serial Connector(UART1) The debugging information is transmitted through Serial connector when proceeding development. 13 ⑦ LED 4 LEDs are installed in the WebServer Base Board, and connected to PORTB.4~7. . Figure 6. WIZ-Embedded WebServer LED ⑧ System Reset Switch ⑨ Switch Switch is connected to PORTE.5~6. It is the slide switch. Figure 7.
WIZ-Embedded WebServer User’s Manual PORTE. 14 Figure 8. WIZ-Embedded WebServer 16x2 LCD ⑪ Variable Resistor In order to test the analog data easily, you can use variable resistor and get the input value of analog variable. Variable resistor is connected to ADC0 channel. Figure 9. WIZ-Embedded WebServer VR ⑫ Digital Temperature Sensor Microchip’s TC77 having 12bit resolutions is used for temperature sensor. Temperature sensor can be controlled by SPI and selected through PB0.
WIZ-Embedded WebServer User’s Manual Figure 10.
WIZ-Embed dded WebSe erver User’s Manual 4. Ge etting Sta arted 4.1. Config guration Tool T 4 4.1.1. Basicc Configura ation 16 Figure 11. Configura ation Tool ⓐ Versiion : It displa ays Firmware e version. ⓑ Boa ard List : If “Search” “ buttton is clicke ed, all MAC address of WIZ-Embed dded WebSe erver are displaye ed in the Boa ard List.
WIZ-Embedded WebServer User’s Manual ‘Enable DHCP mode’ at the ‘board list’. If you click “Setting” button, the board acquires IP and Subnet Mask by using DHCP. (By acquiring IP address from DHCP server, it can take some time) After acquiring network information from DHCP, re-booting is processed. If you click “Search” button again, you can check changed values. If you click MAC Address on the ‘Board list’, IP Address, Subnet Mask and Gateway information are displayed.
WIZ-Embed dded WebSe erver User’s Manual 18 Figure 12. Board Searrch Window ③ Se elect the boa ard at the ‘B Board list’ an nd click ‘Uplo oad’ button. efore upload ding throug gh Ethernett, the netwo ork informa ation should d be set forr correct ☞ Be netwo ork commu unication. By B using PING P test, it is possib ble to che eck if the value is appro opriate for network n com mmunicatio on. ④ Ass below dialog box is sh hown, select the Binary file f and click k ‘OPEN’ buttton.
WIZ-Embedded WebServer User’s Manual 19 Figure 13. Open dialog box for uploading ☞ Be sure to use the firmware only for WIZ-Embedded WebServer. ⑤ You can see below status window showing ‘Processing’. Figure 14. Firmware uploading window ⑥ If the file is uploaded, ‘Complete Uploading’ message is displayed. Figure 15. Complete Uploading 4.1.3. Webpage Upload ① Execute “WIZ-Embedded WebServer ConfigTool.exe” and click ‘Search’ button.
WIZ-Embedded WebServer User’s Manual ‘Board list’. ③ Select the board at the ‘Board list’ and click ‘web page Upload’ button. ☞ Before uploading through Ethernet, the network information should be set for correct network communication. By using PING test, it is possible to check if the value is appropriate for network communication. 20 ④ As below dialog box is shown, select the Flash Rom File System (*.rom) file and click ‘OPEN’ button. Figure 16.
WIZ-Embed dded WebSe erver User’s Manual 21 Figure 17. ROM File Maker Rom Image File’ option. If you click ‘Make Image’ button, ‘*.rom’ file can be created d. Select ‘R Figure 18.. ROM Image e File Make © Copyrright 2007 WIZZnet Inc.
WIZ-Embedded WebServer User’s Manual 4.2. Operation Test In this chapter, we will show how WIZ-Embedded WebServer operates through a sample testing. The hardware and software requirements for testing is as below. PC 1) LAN Port Hardware WIZ-Embedded WebServer 1) WIZ-Embedded WebServer Board 2) LAN Cable 22 3) DC5V Power Adaptor Software 1) Configuration Tool Program 2) Web Browser Table 5. WIZ-Embedded WebServer Testing Environment 4.2.1. Hardware Interface Serial Cable Power LAN Cable Figure 19.
WIZ-Embedded WebServer User’s Manual STEP 2: Connect 5V DC adaptor to WIZ-Embedded Webserver board. 4.2.2. Testing the Function of Web Server STEP1: Supply the power to WIZ-Embedded WebServer board. STEP2: Configure the board by using Configuration Tool. STEP3:Execute the web browser and input the IP address of the WIZ-Embedded board to access the webpage. STEP4: If connection is appropriately processed, ‘index.html’ page is displayed on the web browser. Figure 20.
WIZ-Embedded WebServer User’s Manual 24 Figure 21. WIZ-Embedded WebServer Digital Output Page STEP6: Click ‘Digital Input’ menu, and check the status of switch installed on the WIZ-Embedded WebServer Base Board. Switch status is updated every one second. Figure 22. WIZ-Embedded WebServer Digital Input Page © Copyright 2007 WIZnet Inc.
WIZ-Embedded WebServer User’s Manual STEP7: Click ‘Analog Input’ menu and check the voltage level according to Variable Resistor(VR) which is installed on the WIZ-Embedded WebServer Base Board. The VR is updated every one second. 25 Figure 23. WIZ-Embedded WebServer Analog Input Page STEP8: Click “ Temperature Read” menu and check current temperature by using the temperature sensor, TC77 installed on the WIZ-Embedded WebServer Base Board. © Copyright 2007 WIZnet Inc.
WIZ-Embed dded WebSe erver User’s Manual 5. Prrogramm mer’s Guide 5.1. Memorry Map The me emory map of WIZ-Emb bedded WebServer is composed c o 128Kbyte code mem of mory and 64Kbyte e data memo ory. The datta memory is i composed d of internal SRAM and W5300. In addition, 4Kbyte EEPROM is built b in AVR. Environmen nt variables of the board d are saved iin this EEPRO OM. 26 Below fiigure shows the system memory ma ap of the tesst board. 2 WIZ-Emb bedded Web bServer Mem mory Map Figure 24. 5.2.
WIZ-Embedded WebServer User’s Manual iinchip inet mcu util evb iinchip_conf.h System Dependant Definition of W5300 w5300.c w5300 I/O Function socket.c w5300 Socket API dhcp.c Processing DHCP Client Protocol httpd.c Processing HTTP Protocol delay.c Processing the delay of ATmega128 serial.c UART related Function timer.c Timer interrupt Process Function types.h AVR Data Type & Global Definition sockutil.c Socket related Utility Function util.c Utility Function config.
WIZ-Embedded WebServer User’s Manual 5.3. Compile The sources mentioned in the Chapter 5.2, are compiled by aligning in the SRC. The firmware compile can be performed by using WINAVR and AVRSTUDIO. Install the WINAVR and AVRSTUDIO in the PC. For the easy working, open the firmware project file "~/main/ex03_webserver/wiz-web.aps” through AVRSTUDIO project file. Check compile setting of Configuration option of ‘Project’ menu. For the setting method, refer to ‘AVR Studio User Guide’.
WIZ-Embedded WebServer User’s Manual 1) Connect the AVRISP cable to J9 of the Base Board. 2) Connect the power adaptor and turn on the switch. 3) Execute AVRStudio.exe 4) Select Atmega128 at the Device section 5) Select HEX file at the FLASH section 6) Click Program button. For more detail, refer to ‘AVR Tool Guide.pdf’. 29 Figure 26. ATmega128 ISP In order to update the firmware through network, the bootloader should be programmed first. Bootloader is written to be input at 0x1E000.
WIZ-Embedded WebServer User’s Manual 30 Figure 27. WIZ-Embedded WebServer Boot Loader Program © Copyright 2007 WIZnet Inc.
WIZ-Embedded WebServer User’s Manual 6. WIZ-Embedded WebServer Hardware Specification 6.1. Parameters Power 5V DC, 3.3V Dimension 60 x 42 x 14 (L x W x H) Temperature Operating : 0 ~ 80 ℃ Ethernet 10/100 Base-T Ethernet (Auto detection) 6.2. Specification 31 MCU ATmega128 FLASH 128KByte (MCU Internal) + 512Kbyte(External Serial Flash) SRAM 4KByte (MCU Internal) + 32Kbyte (External) EEPROM 4KByte (MCU Internal) 6.3. Board Dimensions and Pin Assignment 6.3.1.
WIZ-Embedded WebServer User’s Manual 6.3.2. Size 32 Figure 29. WIZ-Embedded WebServer Module Dimension © Copyright 2007 WIZnet Inc.
WIZ-Embedded WebServer User’s Manual 33 Figure 30. WIZ-Embedded WebServer Base Board Size 6.3.3. Connector Specification RJ45 : Ethernet Port Pinouts Figure 31. RJ-45 PIN Assignment © Copyright 2007 WIZnet Inc.
WIZ-Embedded WebServer User’s Manual Pin Signal 1 TX+ 2 TX- 3 RX+ 6 RX- Figure 32. RJ-45 PIN Assignment 34 RS-232 1 2 6 Pin Number 3 7 4 8 5 9 Signal Description 1 NC Not Connected 2 RxD Receive Data 3 TxD Transmit Data 4 NC Not Connected 5 GND Ground 6 NC Not Connected 7 NC Not Connected 8 NC Not Connected 9 NC Not Connected Figure 33. RS-232 PIN Assignment © Copyright 2007 WIZnet Inc.
WIZ-Embedded WebServer User’s Manual 7. Warranty WIZnet Co., Ltd offers the following limited warranties applicable only to the original purchaser. This offer is non-transferable. WIZnet warrants our products and its parts against defects in materials and workmanship under normal use for period of standard ONE(1) YEAR for the WIZ-Embedded WebServer board and labor warranty after the date of original retail purchase.
Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: WIZnet: WIZ200Web WIZ200Web-EVB