Design and Analysis of Arduino, Raspberry Pi, and Xbee Based Wireless Sensor Networks