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

Pinout configuration for Arduino Mega 2560 #5

Open
SayzarRahman opened this issue Jan 1, 2022 · 0 comments
Open

Pinout configuration for Arduino Mega 2560 #5

SayzarRahman opened this issue Jan 1, 2022 · 0 comments

Comments

@SayzarRahman
Copy link

SayzarRahman commented Jan 1, 2022

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.

@SayzarRahman SayzarRahman changed the title Pinout for Arduino Mega 2560 Pinout configuration for Arduino Mega 2560 Jan 1, 2022
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

1 participant