試完塊Arduino Ethernet,跟住再搵埋另一塊Ethernet Shield,.....
Ethernet Shield
又係網上搵到E條link
http://blog.arduino.cn/2008/09/0 ... %E5%B1%95%E6%9D%BF/
同塊板都好相似既,...
原來E塊板用既chip係ENC28J60,所以佢地係網頁提供左另外一套軟件包,可以係E度搵到,..
ENC28J60既Ethernet library http://flamingoarduino.googlecode.com/files/Ethernet-20080904.zip
同埋個測試用既webserverpde http://blog.arduino.cn/wp-conten ... 09/webserverpde.txt
網頁中有兩個重點須要留意:
1. 新既軟件包整個目錄要解壓到安裝Arduino-0017\下既hardware\libraries\入面。
2. 另外MAC地址和IP地址有需要的話,就要作出相應既修改。
因為E個軟件庫都係用"Ethernet",由於原本果個都有用,唔想覆蓋佢,所以用了"Ethernet2860"做Folder名。
Ethernet 2860 Directory
至於個webserverpde就照樣放係arduino-0017\examples\WebServer\入面方便日後使用,
不過個檔名要由.TXT尾改做.PDE尾。同時要留意個Folder名要同個File名一樣。
webserverpde Directory
跟住再重打開個IDE Arduino 0017睇下,....
係Sketch.Import Library可以揾到個新增既Ethernet 2860 library
Ethernet 2860 Location
係File.Example可以揾到個新增既WebServerpde
WebServerpde Location
跟住打開佢,
WebServer2860
由於MAC地址和IP地址都唔需要改,可以直接Compile佢,...
WebServer2860 Done Compiling
冇問題就跟Upload佢,不過要記住用最好使用外部電源供電...
WebServer2860 Done Uploading,
冇問題就跟住可以試下佢work唔work,
就係個Browser輸入個ip地址,......
WebServer2860 Testing
Ethernet Shield Success
Ethernet Shield試機成功....... |