User Tools

Site Tools


wio:wiopico-io16eth-en

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wio:wiopico-io16eth-en [2025/06/07 08:38] – [Links] rjversluiswio:wiopico-io16eth-en [2025/06/24 08:05] (current) – [Links] rjversluis
Line 16: Line 16:
  
  
-|  Work In Progress: Do not translate.  | \\ 
  
- +| {{:wio:pico.png?0x200}} | {{:wio:w5500.jpg?0x200}} | {{:wio:w5500-2.jpg?0x200}}  |  {{wio:w5500-evb-pico.jpg?0x200}} | 
-| {{:wio:pico.png?0x200}} | {{:wio:w5500.jpg?0x200}} | {{:wio:w5500-2.jpg?0x200}} | +|  Raspberry Pi Pico 1  |  W5500  |  W5500   W5500-EVB-Pico  | \\
-|  Raspberry Pi Pico 1  |  W5500  |  W5500  | \\+
  
 =====Description===== =====Description=====
Line 42: Line 40:
 A reboot is needed.\\ A reboot is needed.\\
 {{:wio:wiomaintenanceoptions.png?400}}\\ {{:wio:wiomaintenanceoptions.png?400}}\\
 +
  
  
Line 50: Line 49:
  
  \\  \\
-=====Ethernet Library===== 
-To be able to set the hostname the Ethernet Library must be modified.\\ 
-In ''Arduino/libraries/Ethernet/src/Dhcp.cpp'' the following code must be added/extended:\\ 
-<code cpp> 
-const char* g_DhcpHostName = ""; // ***** NEW code line 
-void DhcpClass::send_DHCP_MESSAGE(uint8_t messageType, uint16_t secondsElapsed) 
-</code> 
  
 +=====W5500-EVB-Pico=====
 +====Restrictions====
 +This board connects the W5500 Reset and Interrupt to GP20 and GP21 which reduces the number of servos to two.\\
 +If NeoPixel has been activated the second servo pin GP26 is used for this and is no longer available for servos.\\
 +====PCB====
 +{{wio:w5500-evb-pico.jpg?0x100}}\\
 +For the __[[https://docs.wiznet.io/Product/iEthernet/W5500/w5500-evb-pico|W5500-EVB-Pico]]__ the same PCB can be used as for the **[[:wio:wiopico-io16can-en|WIOpicoCAN]]** without mounting U2 and U3. (MCP2515/MCP2562)\\
 +
 +
 +====POE====
 +The W5500-EVB-Pico is also available with a POE option: [[https://docs.wiznet.io/Product/iEthernet/W5500/W5500-EVB-Pico-PoE|{{:wio:w5500-evb-pico-poe.jpg?0x200}}]]\\
  
-<code cpp> 
- // OPT - host name 
- buffer[16] = hostName; 
- // ***** start NEW code lines 
- if( strlen( g_DhcpHostName ) > 0 ) {  
- buffer[17] = strlen(g_DhcpHostName); 
- strcpy((char*)&(buffer[18]), g_DhcpHostName); 
- } 
- else { 
- // ***** end NEW code lines 
- buffer[17] = strlen(HOST_NAME) + 6; // length of hostname + last 3 bytes of mac address 
- strcpy((char*)&(buffer[18]), HOST_NAME); 
  
- printByte((char*)&(buffer[24]), _dhcpMacAddr[3]); 
- printByte((char*)&(buffer[26]), _dhcpMacAddr[4]); 
- printByte((char*)&(buffer[28]), _dhcpMacAddr[5]); 
- } // ***** NEW code line 
-</code> 
  
  \\  \\
 =====Links===== =====Links=====
-  * [[https://docs.arduino.cc/libraries/ethernet|Arduino Ethernet Library]] -> //Ethernet// 
   * [[https://github.com/arduino-libraries/ArduinoMDNS/tree/master|Arduino mDNS Library]] -> //ArduinoMDNS//   * [[https://github.com/arduino-libraries/ArduinoMDNS/tree/master|Arduino mDNS Library]] -> //ArduinoMDNS//
-  * [[https://arduino-pico.readthedocs.io/en/latest/ethernet.html|Pico Ethernet Library]]+  * [[https://arduino-pico.readthedocs.io/en/latest/ethernet.html|Pico Ethernet Library]] -> //Ethernet// 
 +  * https://docs.wiznet.io/Product/iEthernet/W5500/w5500-evb-pico#pin-out
  
  
wio/wiopico-io16eth-en.1749278296.txt.gz · Last modified: 2025/06/07 08:38 by rjversluis