Arduino - Ethernet
About Arduino with Ethernet
Ethernet is the easiest way to connect Arduino to Internet. There are many ways to connect Arduino to the Internet via Ethernet. Among them, we introduce two ways for Arduino Uno:
Arduino Ethernet Shield 2 vs PHPoC WiFi/Ethernet Shield
PHPoC WiFi/Ethernet Shield is also called PHPoC Shield.
Both Arduino Ethernet Shield 2 and PHPoC WiFi/Ethernet Shield communicates with Arduino via the SPI interface. The followings are deferences between them:
|Arduino Ethernet Shield 2||PHPoC WiFi/Ethernet Shield|
|Library||built-in||need to Install|
|MAC Address||need to declare in code||built-in on Shield, no need to declare in code|
|IPv4 Address||set in Arduino code||set via web|
|Dedicated web server||no||yes|
|Built-in web app||no||yes|
Arduino - Webserver
We can make Arduino become a webserver with both shield. Howerver:
- PHPoC WiFi/Ethernet Shield:
- Moreover, This shield supports websocket, which allows to exchange data between web browser ann Arudino in real time and two direction.
One more great feature of PHPoC WiFi/Ethernet Shield is ability to switch from Ethernet to WiFi without changing Arduino code. The same Arduino code can works for both Enthernet and WiFi interface.
With more advanced features, Those are reason why PHPoC WiFi/Ethernet Shield is more expensive than Arduino Ethernet Shield 2.