How to interface NODEMCU ESP8266 interface with Protocentral ADS1293 3-channel, 24-bit ECG Breakout Board?
It is spi based protocol. You could send and receive commands over SPI. Check the datasheet for commands.
In reply to It is spi based protocol. You by Sourav Gupta
Dear Sir,
Thank for the response. I have used SPI protocol and connected the NODEMCU and Protocentral board accordingly. However, I am not receveing any signal in the serial monitor. Would you please suggest how to make it to work?
Dear Sir,
Below are the pin connections and code I have used. The protocentral library files are available at this link (https://github.com/Protocentral/protocentral-ads1293-arduino)
Pin Protocentral board(ads1293) ESP8266
1 MISO D6 (HMSIO) (GPIO12)
2 MOSI D7 (HMOSI) (GPIO13)
3 SCK D5 (HSCLK) (GPIO14)
4 CS D8 (HCS) (GPIO15)
5 DRDY D4 (GPIO2)
6 VDD VIN
7 GND GND
#include "protocentral_ads1293.h"
#include <SPI.h>
#define DRDY_PIN 02
#define CS_PIN 15
ads1293 ADS1293(DRDY_PIN, CS_PIN);
bool drdyIntFlag = false;
void setup() {
Serial.begin(9600);
SPI.begin();
ADS1293.ads1293Begin3LeadECG();
delay(10);
}
void loop() {
if (digitalRead(ADS1293.drdyPin) == false){
drdyIntFlag = false;
int32_t ecg = ADS1293.getECGdata(1);
Serial.println(ecg);
}
}
Where is moderator??
It is about advertisement on your website.
Thank.
I’m not sure where you’re getting your information, but good topic. I needs to spend some time learning more or understanding more.
Thanks for excellent info I was looking for this information for my mission.
surendra gupta
Joined June 26, 2021 3Saturday at 03:20 PM
How to interface NODEMCU ESP8266 interface with Protocentral ADS1293 3-channel, 24-bit ECG Breakout Board