PIR sensor consists of three pins descripting figure 3, red
wire in PIR sensor works as VCC, connected to input voltage
in Arduino in this case a 5v pin. And the black wire works as
ground, connected to gnd in Arduino pin. And yellow wire
works as output current produced by detecting motion in this
case it connected to Arduino input pin number 2. The Ethernet
shield module has eight pins provided. But it was only six pins
which important and mandatory in common usage. Using this
Ethernet shield needs external library, it is impossible to use
Arduino default Ethernet library package, because the default
only applicable to the WizNet chipset. There are many libraries
offered in internet especially github. Common three popular
libraries are Ether_28J60, the oldest library and already out of
date, next the Ethercard library which upgrading the old
ether_28j60 library but still has some problems and different
footage. The last one is UIPEthernet, this is the most popular
and most similar to the default Arduino Ethernet shield
library. We used this library for this research development
because of its ease and powerful. The description of those
difference mapped in table below.