Protocentral / protocentral-ads1292r-arduino

Arduino Library for the ADS1292R ECG/Respiration shield and breakout boards from ProtoCentral
https://protocentral.com/product/ads1292r-ecg-respiration-shield-for-arduino-v2/
Other
13 stars 6 forks source link

Not running #2

Open Tom-AW opened 3 years ago

Tom-AW commented 3 years ago

Hi, I'm using an arduino nano 33 ble and the online Arduino ide which Arduino IDE version 1.8.13. I've imported the libraries and can't get a single example to run, they compile (once the SPI initialisation is changed as per my previous issue). But they don't upload to my board successfully, it appears to mess up my COM port used by the arduino until I'm able to load another sketch onto the board. I've tried with both the shield and the breakout board. Do you have any ideas for things I could try?

joicetm commented 3 years ago

Is it only happening with Arduino nano 33 ? Have you tried it on Arduino Uno?

I have not tried to recreate it yet, I will get back to you once I try it out.

Tom-AW commented 3 years ago

I have an old Arduino Uno lying about that I forgot about and the examples work on that without changing the SPI initialisation as mentioned before

Tom-AW commented 3 years ago

Actually the example using the serial plotter example works on the very old uno I have image

But the computation only example states a globalHearRate of 0 when using the arduino client ide and serial monitor. image

But when uploading using the online IDE it says the leads aren't connected. image

Which they must be as the first screenshot shows

Thanks in advance for your help on helping sort this, ideally for the nano 33 ble if possible

Tom-AW commented 3 years ago

Hi I have fixed the problem of the plotter example not working on the nano 33 ble. The way Arduino deals with SPI has changed. Replacing the setup funciton with this image Enables the breakout board to work as intended.

The computation only example still only shows 0 bpm and respiration however, unsure why that code is not working.

Nourelhuda1991 commented 2 years ago

Hello, I bought the breakout board, and now I am connecting it with Arduino UNO, I downloaded the Arduino library and tried the Example of Arduino plotter, I used the UNO SPI connection as stated in the datasheet, but the circuit is not working and the plotter just display "Initialization is done", what should be the problem? Thank you.