[텍스트 입력] WIZZ-Em mbed dded Web bServ ver User’s Ma anua al (Verr. 1.1.0)) ©2007 WIZnet Inc c. All Rights Reserved.. For mo ore informa ation, visit our o website e at www.w wiznet.co.
WIZ-Embed dded WebSe erver User’s Manual D Docum ment H History y Informatio n R Revision Ver. 1.0.0 Data 2008. 09. De escription R Release with WIZ-Embed dded WebSe rverlaunchin ng he software CD is not provide anym more. Th Fo or more softtware conten nts, please vvisit our website. Ver. 1.1.0 2013. 06. (w www.wiznet.cco.kr) M Modified the table of con ntents in CH H 1.3. Softwa are CD is reemoved in th he table of contents. c © Copyrright 2007 WIZZnet Inc.
WIZ-Embed dded WebSe erver User’s Manual WIZ Znet’s Onlin ne Technicall Supp port If yyou have something s to t ask abou ut WIZnet Products, P Write W down yyour question on n Q&A Boarrd in WIZne et website (w www.wiznet.co.kr). WIZn net Engineeer will give an an nswer as so oon as possible. 3 © Copyrright 2007 WIZZnet Inc.
WIZ-Embed dded WebSe erver User’s Manual Table e of Contents 1. Intrroduction ............................................................................................................................................. 7 1.1. Main Functtion ......................................... ..................................................................................................................7 1.2. Specificatio on ............................................ .........................................
WIZ-Embed dded WebSe erver User’s Manual Tables Table 1. WIIZ-Embedded WebServeer Specification ....................................................................................8 Table 2. Co ontents of WIZ-Embedde W ed WebServe er ......................................................................................9 Table 3. WIIZ-Embedded WebServeer PIN MAP ........................................................................................ 12 Table 4. Exp pansion Con nnector .......... ...........
WIZ-Embed dded WebSe erver User’s Manual Figures Figure 1. Block Diagram m ..................... ..................................................................................................................9 Figure 2. WIZ-Embedde W ed WebServver Base Board Layout ................................................................... 10 Figure 3. AV VR JTAG Connector......... ............................................................................................................... 11 Figure 4.
WIZ-Embed dded WebSe erver User’s Manual 1. Inttroductio on WIZ-Embedded WebServer provides the tin ny web serve er operating g on low-speeed MCU. It controls digital o output or monitors m dig gital and an nalogue input through web browsser. The web bpage is stored in n the serial flash f memory of the bo oard, and can n be updated d through n network. 1.1.
WIZ-Embed dded WebSe erver User’s Manual 1.2.
WIZ-Embed dded WebSe erver User’s Manual LAN Cable 9 5V Pow wer Adaptorr Table 2. Contentss of WIZ-Emb bedded Web bServer ☞ If a any missing item is foun nd, contact to the shop you purcha ased. ☞ The e software is available on o the WIZn net website. Please visit our websitee. (www.wiznet.co.kr) 2. Block Diag gram Figure e 1. Block Diiagram W ded WebServver is 8 bit AVR A (ATmega a128). The EEthernet is processed The maiin MCU of WIZ-Embedd by W5300, the hard dwired TCP/IP chip.
WIZ-Embed dded WebSe erver User’s Manual enables control of digital d input & output, aanalogue inp put and netw work configu uration on th he web. 10 3. WIIZ-Embedded We ebServerr Base Board B WIZ-Embedded WebServer mod dule can be tested by using base bo oard. Figure 2. WIZ-Embedd W ded WebServer Base Board Layout © Copyrright 2007 WIZZnet Inc.
WIZ-Embed dded WebSe erver User’s Manual ower ① Po Th he power ca an be contro olled by usiing power switch s after connecting the DC 5V (500mA) ad daptor. Tmega128 JT TAG Connecctor ② AT 11 Figure 3.. AVR JTAG Connector C Tmega128 IS SP Connecto or ③ AT 4. AVR ISP Co onnector Figure 4 WIZ-Embedde ed WebServ ver Module C Connector ④ W The co onnector has below pin map. Figurre 5. WIZ-Em mbedded We ebServer PIN N MAP J3 J2 3.3V 3.
WIZ-Embed dded WebSe erver User’s Manual SCL/INT0//PD0 SDA A/INT0/PD1 ADC4/PF4 ADC5//PF5 RXD1/INT T2/PD2 TXD D1/INT3/PD3 ADC6/PF6 ADC7//PF7 ICP1/PD4 4 XCK K1/PD5 AREF PB4 T1/PD6 T2/PD7 PB5 PB6 SS/PB0 SCK K/PB1 PB7 PE7 MOSI/PB2 2 MIS SO/PB3 PE5 PE6 RXD0/PE0 0 TXD D0/PE1 PE3 PE4 GND GND /RESET PE2 ⑤ Se erial Connecctor(UART0) Th he debuggiing informa ation is tran nsmitted through Seria al connecto or when pro oceeding de evelopment.. Tab ble 3.
WIZ-Embed dded WebSe erver User’s Manual 13 Figu ure 7. WIZ-Em mbedded WebServer W Sw witch ⑩ 16 6X2 characte er LCD 16 6x2 LCD is controlled with w the meethod of 4 bit control It is conneccted to PORTD and PO ORTE. Figure e 8. WIZ-Em mbedded WebServer 16x x2 LCD ariable Resisstor ⑪ Va In n order to te est the analo og data easi ly, you can use u variable resistor and d get the inp put value off analog variable. Variab ble resistor iss connected to ADC0 channel. © Copyrright 2007 WIZZnet Inc.
WIZ-Embed dded WebSe erver User’s Manual 14 Fig gure 9. WIZ--Embedded WebServer VR Digital Tempe erature Sensor ⑫ D M Microchip’s TC77 T having g 12bit reso olutions is used u for temperature ssensor. Tem mperature se ensor can be e controlled by SPI and selected thrrough PB0. Figure 10.
WIZ-Embed dded WebSe erver User’s Manual 23 SCK/PB B1 24 PE7 25 MOSI/PB2 26 PB6 27 MISO/PB3 28 PE5 29 PB4 30 PE4 31 PB5 32 PE3 33 PB6 34 PE2 35 PB7 36 /RESET 37 PE1/TX XD0 38 NC 39 PE0/RX XD0 40 NC Table 4. Expansion Connector C © Copyrright 2007 WIZZnet Inc.
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 1 1. Configura ation Tool ⓐ Versiion : It displa ays Firmware e version. ⓑ Boa ard List : If “Search” “ buttton is clickeed, all MAC address of WIZ-Embed dded WebSe erver are displaye ed in the Boa ard List.
WIZ-Embed dded WebSe erver User’s Manual ‘Enable DHCP mode’ at the ‘board list’. If you click “Setting” buttton, the bo oard acquires IP and Subnet Mask by ussing DHCP. (By acquiring g IP addresss from DHCP P server, it ccan take som me time) After accquiring nettwork inform mation from DHCP, re-b booting is processed. p Iff you click “Search” button again, you can check changed c va lues.
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 information should d be set forr correct ☞ Be netwo ork commu unication. By B using P PING test, it is possib ble to cheeck 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-Embed dded WebSe erver User’s Manual 19 Fig gure 13. Ope en dialog bo ox for upload ding ☞ Be sure to use e the firmwarre only for W WIZ-Embedd ded WebServ ver. ⑤ Yo ou can see below b status window sho owing ‘Proce essing’. oading window Figure 14. Firrmware uplo ⑥ If the file is up ploaded, ‘Co omplete Uplo oading’ messsage is displayed. Figure 15 5. Complete Uploading 4 4.1.3. Webpage Uploa ad W Co onfigTool.exe e” and click ‘Search’ buttton.
WIZ-Embed dded WebSe erver User’s Manual ‘Boa ard list’. ③ Sele ect the board at the ‘Board list’ and click ‘web page p Upload d’ button. ☞ Be efore upload ding throug gh Ethernet,, the netwo ork informattion should be set forr correct netwo ork commun nication. By using PING test, it is possible p to check if the value is app propriate for ne etwork comm munication. 20 ④ As below dialog g box is sho own, select tthe Flash Ro om File System (*.rom) ffile 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 d. n be created Select ‘R Figure 18.. ROM Image e File Make © Copyrright 2007 WIZZnet Inc.
WIZ-Embed dded WebSe erver User’s Manual 4.2. Operattion Testt In this cchapter, we will show ho ow WIZ-Emb bedded WebServer ope erates throug gh a sample e testing. The hard dware and software s requirements fo or testing is as below. PC AN Port 1) LA WIZ-E Embedded W WebServer 1) WIZ-Embedded Web bServer Board 2) LAN Cab ble Hard dware 22 3) DC5V Po ower Adapto or Softw ware 1) Co onfiguration Tool Prograam 2) Web W Browser Table 5. WIZ-Embedde W ed WebServe er Testing En nvironment 4 4.2.1.
WIZ-Embed dded WebSe erver User’s Manual STEP 2: Connect 5V V DC adaptor to WIZ-Em mbedded We ebserver boa ard. 4 4.2.2. Testiing the Function of W Web Server STEP1: S Supply the power p to WIIZ-Embedded d WebServe er board. STEP2: C Configure th he board by using Confi guration Too ol. STEP3:E Execute the web w browse er and input the IP addrress of the WIZ-Embedd W ded board to t access the web bpage. STEP4: IIf connection n is approprriately proce ssed, ‘index..
WIZ-Embed dded WebSe erver User’s Manual 24 Figure 21. WIZ-Embedd ded WebSerrver Digital Output O Page e STEP6: Click ‘Digital Input’ men nu, and checck the status of switch installed on the WIZ-Em mbedded WebServver Base Boa ard. Switch status s is upd dated every one second. Figure 22. WIZ-Embed dded WebSe erver Digital Input Page © Copyrright 2007 WIZZnet Inc.
WIZ-Embed dded WebSe erver User’s Manual STEP7: Click ‘Analog g Input’ me enu and cheeck the volta age level according to V Variable Ressistor(VR) which iss installed on o the WIZ--Embedded WebServer Base Board. The VR is updated ev very one second. 25 Figure 23. WIZ-Embed dded WebServer Analog Input Page STEP8: Click “ Temp perature Rea ad” menu an nd check currrent temperature by ussing the temperature sensor, T TC77 installe ed on the WIZ-Embedded d WebServer Base Board. © Copyrright 2007 WIZZnet 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 We bServer is composed c of o 128Kbyte code mem mory and 64Kbyte e data memo ory. The datta memory iis 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 maap of the tesst board. 2 WIZ-Emb bedded Web bServer Mem mory Map Figure 24. 5.2.
WIZ-Embed dded WebSe erver User’s Manual iinchip inet mcu util evb iinchip_conf.h S System Dependant Definition of W55300 w5300.c w w5300 I/O Function F socket.c w w5300 Sock ket API dhcp.c Processing DHCP D Client Protocol httpd.c Processing HTTP H Protocol delay.c Processing the t delay of ATmega1288 serial.c UART related Function timer.c TTimer interru upt Process Function types.h A AVR Data Ty ype & Globa al Definition sockutil.cc S Socket related Utility Function util.
WIZ-Embed dded WebSe erver User’s Manual 5.3. Compile The sources mentioned in the Chapter C 5.2, are compile ed by aligning in the SRC C. mware compiile can be pe erformed byy using WINA AVR and AVRSTUDIO. The firm Install th he WINAVR and AVRST TUDIO in thee PC. For th he easy work king, open tthe firmware e project file "~/m main/ex03_w webserver/wiz-web.aps” tthrough AVR RSTUDIO pro oject file. Check ccompile settiing of Configuration op ption of ‘Projject’ menu.
WIZ-Embed dded WebSe erver User’s Manual 1) Connect the e AVRISP cable to J9 of the Base Bo oard. 2) Connect the e power ada aptor and tu rn on the sw witch. 3) Execute AVR RStudio.exe 4) Select Atme ega128 at th he Device seection 5) Select HEX file at the FLASH sectio n 6) Click Progra am button. For morre detail, refe er to ‘AVR To ool Guide.pd df’. 29 Figure 26. ATmega a128 ISP In orderr to update the t firmware e through neetwork, the bootloader b should s be prrogrammed first.
WIZ-Embed dded WebSe erver User’s Manual 30 F Figure 27. WIZ-Embedd W ded WebServ ver Boot Loa ader Program m © Copyrright 2007 WIZZnet Inc.
WIZ-Embed dded WebSe erver User’s Manual 6. WIIZ-Embedded We ebServerr Hardwa are Spec cification n 6.1. Parameters Power 5V DC, 3.3V Dimension 60 x 42 4 x 14 (L x W x H) Temperaturre Operating : 0 ~ 8 80 ℃ Ethernet 10/10 00 Base-T Etthernet (Auto o detection) 6.2. Specifiication 31 MCU ATme ega128 FLASH 128KByte (MCU IInternal) + 512Kbyte(Ext 5 ernal Serial Flash) SRAM 4KBytte (MCU Inteernal) + 32K Kbyte (Extern nal) EEPROM 4KBytte (MCU Inteernal) 6.3.
WIZ-Embed dded WebSe erver User’s Manual 6 6.3.2. Size 32 Figure 29. WIZ-Embed dded WebSerrver Module e Dimension © Copyrright 2007 WIZZnet Inc.
WIZ-Embed dded WebSe erver User’s Manual 33 Figure 30 0. WIZ-Embe edded WebSe erver Base Board B Size 6 6.3.3. Conn nector Specification R RJ45 : Ethe ernet Portt Pinouts Figure 31 1. RJ-45 PIN N Assignmentt © Copyrright 2007 WIZZnet Inc.
WIZ-Embed dded WebSe erver User’s Manual Pin Signal 1 TX+ 2 TX- 3 RX+ 6 RX- Figure 32.. RJ-45 PIN Assignment A 34 R RS-232 1 2 6 Pin Number 3 7 4 8 5 9 S Signal Description 1 NC No ot Connected d 2 RxxD Re eceive Data 3 TxxD Tra ansmit Data 4 NC No ot Connected d 5 G ND Grround 6 NC No ot Connected d 7 NC No ot Connected d 8 NC No ot Connected d 9 NC No ot Connected d Figure 33. RS-232 PIN Assignment © Copyrright 2007 WIZZnet Inc.
WIZ-Embed dded WebSe erver User’s Manual 7. Wa arranty owing limiteed warranties applicable e only to thee original purchaser. WIZnet Co., Ltd offfers the follo er is non-tra ansferable. This offe ur products and its partts against defects in ma aterials and workmanship under WIZnet warrants ou 1) YEAR for the WIZ-Em mbedded We WebServer bo oard and normal use for perriod of standard ONE(1 arranty afterr the date of o original reetail purchasse.