Hello!
I have been working on a project where I'm making an Arduino based ECG signal generator and have encountered a problem that i can't seem to solve. So basically what i need to do is to be able to change the baseline (not sure if correct term) of the signal up and down (shown in the image).
The signal is generated from Arduino as a plain digital signal (from an array of numbers), then goes to the d/a converter and further on. My first idea was to just use two buttons that when pressed will either add or subtract a value from each number in the array and in that way increase or decrease the voltage of the analog signal. Is this possible? Are there any better solutions?
I have been working on a project where I'm making an Arduino based ECG signal generator and have encountered a problem that i can't seem to solve. So basically what i need to do is to be able to change the baseline (not sure if correct term) of the signal up and down (shown in the image).
The signal is generated from Arduino as a plain digital signal (from an array of numbers), then goes to the d/a converter and further on. My first idea was to just use two buttons that when pressed will either add or subtract a value from each number in the array and in that way increase or decrease the voltage of the analog signal. Is this possible? Are there any better solutions?