10-27-2015 11:55 AM - edited 10-27-2015 12:10 PM
10-27-2015 01:02 PM
How is the signal wired in on both sides? I'm assuming you've got a sensor going into an analog-input on the "remote" XBee?
How are you reading that data on the arduino? Is the arduino being used as a serial port?
There's no analog-out on those XBees (only non-digital output is a PWM signal), so you'll need to read/parse the data packet coming back from the remote XBee.
10-28-2015 12:57 AM
Hi we appreciate your prompt reply!
We connected the output of our ecg signal directly from the circuit to the Analog input of the Arduino via Analog IN A0 port, no sensor is used before that. We only have connection on one side there is no analog out connection, because we are using the arduino shield to connect to the arduino board.I have attached the photo of the ECG circuit connected with arduino.
Both Xbees are configured in AT mode to make them transparent at baud rate of 9600 and the other xbee with USB serial connector is plugged into the PC. Looking at the LED indicator on the arduino shield, the DIN and DOUT lights up and it indicates information transmitted. But when we check the signal received by the Xbee in the USB explorer we get random numbers displayed in the serial monitor. We connected the arduino-xbee to PC to verify the type of analog signal we get from the circuit and we realized that we get random numbers from both transmitter side(arduino) and receiver side(xbee-usb).I have also attached the output data we get from both the XBee -arduino(transmitter) and Xbee-(receiver) USB explorer. Now we are not sure if we are transmitting and receiving correctly.
We are not sure if we are doing it correctly and we desperately need help! We would appreciate your help in guiding us!