Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not running #2

Open
Tom-AW opened this issue Mar 21, 2021 · 5 comments
Open

Not running #2

Tom-AW opened this issue Mar 21, 2021 · 5 comments

Comments

@Tom-AW
Copy link

Tom-AW commented Mar 21, 2021

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
Copy link

joicetm commented Mar 21, 2021

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
Copy link
Author

Tom-AW commented Mar 22, 2021

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
Copy link
Author

Tom-AW commented Mar 23, 2021

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
Copy link
Author

Tom-AW commented Mar 26, 2021

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants