Добрый День! Сейчас занимаюсь написанием дипломной работы. В планах сделать кардиограф на ардуино используя модуль AD8232 и Arduino nano. Столкнулась с таком проблемой, как помехи. В идеале вывести эту кардиограмму на дисплей TFT LCD 2.4" (с его подключением тоже проблемы, просто белый экран). Вы бы могли мне помочь или проконсультировать по этой теме?
Скетч использовала этот:
void setup() {
// initialize the serial communication:
Serial.begin(9600);
pinMode(10, INPUT); // Setup for leads off detection LO +
pinMode(11, INPUT); // Setup for leads off detection LO -
}
void loop() {
if((digitalRead(10) == 1)||(digitalRead(11) == 1)){
Serial.println('!');
}
else{
// send the value of analog input 0:
Serial.println(analogRead(A0));
}
//Wait for a bit to keep serial data from saturating
delay(1);
}
Схема подключения
Скетч использовала этот:
void setup() {
// initialize the serial communication:
Serial.begin(9600);
pinMode(10, INPUT); // Setup for leads off detection LO +
pinMode(11, INPUT); // Setup for leads off detection LO -
}
void loop() {
if((digitalRead(10) == 1)||(digitalRead(11) == 1)){
Serial.println('!');
}
else{
// send the value of analog input 0:
Serial.println(analogRead(A0));
}
//Wait for a bit to keep serial data from saturating
delay(1);
}
Схема подключения
Изменено: