I built a ECG as a lab project in college.
A 1mv sign or square wave is fine. If your signal generator doesn't
do anything that low, pass it through a voltage divider (two resistors
in series) to get the range you want.
I would build the filter first, though. When you can see the signal
well on an oscilloscope, then start working on the software display.
This is because your filter may change the range of the signal in some
way in addition to cleaning things up.
Finally, please do not connect anything connected to mains power to
your body, especially to leads placed so that they cross your heart,
like an ECG leads should be. The ECG should be able to be powered by
a small battery (9v rectangular batteries are good), and either save
the data to a SD card or something to transfer it, or communicate it
via radio or optical isolators. Regardless of your confidence in your
circuit and components, it's easy enough not to. Ask for advice here
if if you are not sure.
--Rob
--
http://rgr.freeshell.org/