Building Wireless Sensor Networks: with ZigBee, XBee, Arduino, and Processing