Go Down

Topic: PulseSensor amped with arduino and xbee problem (Read 755 times) previous topic - next topic



I try to use PulseSensor amped with Arduino UNO R3 and XBee Pro S1 with ArduinoXBee shield and XBIB-U-DEV.
Without the pulse sensor the communication between the two XBee works correctly but when I use the PulseSensor Arduino code from here http://pulsesensor.myshopify.com/pages/code-and-guide then the communication between the two Xbee stops after 1-10 seconds.
Here are the parameters of the two XBee modules:
        Transmitter   Receiver
ID     3332             3332
CH    0X0C            0X0C
DH    0                 0
DL    10                0
MY    0                 10

Does anybody have any idea what could be the problem?




The problem is solved. The problem was that the original PulseSensor Arduino code used the baud rate 115200 but it was too fast for the XBee and caused failure. I changed the baud rate to 57600 both on the code and the Xbee settings and it is working fine.



I am also trying to use the the pulse sensor amped with an xbee and arduino. I used the same settings as the one's you posted except my sample rate is 0x10, my baud rate is 57600 for both xbees and the arduino and processing code.

Both my xbee's are communicating, but the pulse sensor data doesn't seem to be communicating properly. I am using AD0 on the transmitter  as the senor input and PWM0 on the receiver as the output that goes to the arduino.

Is this how you did it? any help or more detail on your process would be greatly appreciated.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131