Analog and Digital Sampling Using XBee Radios