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

Pinout configuration for Arduino Mega 2560 #5

Open SayzarRahman opened 2 years ago

SayzarRahman commented 2 years ago

This circuit perfectly works in all example code using Arduino nano every with this below connection: //////////////////////////////////////////////////////// // | VDD | +5V
// | PWDN/RESET | D4
// | START | D5
// | DRDY | D6
// | CS | D7
// | MOSI | D11
// | MISO | D12
// | SCK | D13
// | GND | Gnd

AND USING THIS BELOW CONFIG:

const int ADS1292_DRDY_PIN = 6; const int ADS1292_CS_PIN = 7; const int ADS1292_START_PIN = 5; const int ADS1292_PWDN_PIN = 4; ///////////////////////////////////////////////////////

But in example 2 computation only, pin gets change ( I use 6,7,5,4 instead for nano every) const int ADS1292_DRDY_PIN = 26; const int ADS1292_CS_PIN = 13; const int ADS1292_START_PIN = 14; const int ADS1292_PWDN_PIN = 27;

For which microcontroller, pin configurations are declared?

And I changed SPI for MEGA: MISO, MOSI, SCK with 50,51,52 but still doesn't work, only shows noise and leads error. Tried all pin configuration but no results. Kindly let me know the exact pin configuration for Arduino MEGA.