Pages: [1]   Go Down
Author Topic: PulseSensor amped with arduino and xbee problem  (Read 538 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

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?

bgbotond
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

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.

bgbotond
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Pages: [1]   Go Up
Jump to: