ArduinoMega2560 not communicating

Goodmorning, I was using an Arduino Mega2560 (keyestudio version) to perform an ECG alongside the AD8232 device. Yesterday it was working properly, probably I wasn't getting the right amplitudes for the signal but overall it was ok but then at some point it completely stopped working. I first used the serial plotter to show the ECG results and then switched to Programming because I found online a code that was better showing the results. It worked with Processing but at some point it didn't show anything; it happened after I changed some parameters like baud rate and derivations from the electrodes in my body (while doing that the board was not plugged). I tried the loopback test and it seems it's working even tho when I try to work with the setup I was working up to yesterday it doesn't show anything on the serial plotter nor in Processing. It seems like that the the Arduino is not really communicating with AD8232 anymore since I don't get any amplitude values. The TX led is not blinking anymore when I run the code except when it starts running where it just blink 2 or 3 times (here it is showing the value measured). Tried unintalling IDE and installing it back uploading drivers but doesn't seem to work. Has anyone an idea on what could have happened? Just to understand if I can manage to repair it like if I'm missing something important. Thanks for your help I hope I was clear

If you upload a simple sketch like "Blink", does that work?

Yes, I just tried with the blink sketch in the examples and it's working

That means your Mega2560 is working correctly. So it's either the additional hardware, the wiring or the programming, all of which we have no clue yet. So post a wiring diagram of your setup and your complete code.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.