It works (I think) by sending commands to the ADS1292R via SPI and then fills up a buffer in response. However there is no SPI read type of function anywhere in the code but yet the DataPacketHeader is supposed to sent to serial port.
Serial.print(DataPacketHeader*); etc..* When viewed on the serial monitor it is clearly junk. Can anybody advise on how to read from the device??? Thanks, Mark.
MarkG123:
Well I'm deffinately getting actual numbers now. Thank you for your help. Now to just make sense of it all.
There is another github link here that seems to be for the same shield/chip that will interface with a free-ware program called BrainBay and further searching yields this link that may help.
I am working on the AD1292R ECG/Respiration kit with Arduino Uno and had same problem of SPI communication. I did everything posted in it. But the output from my arduino uno is till the same. The serial monitor shows dummy values as shown in the image below. I have also uploaded the code i have loaded in my arduino uno. Hope to get reply soon.
The output you are seeing in the terminal is not junk, it is the ASCII value (sending as character) sending to the gui.
if you want to see the values in terminal, print those as integer from the code and disable all ASCII data.