I am working on my senior design project in my last year of electrical engineering as an undergraduate student this year and my group has chosen an incredibly ambitious, somewhat foolish project of trying to run a pacemaker on energy generated in the body. While this is of course a perhaps foolish project to even attempt, before we even try to accomplish this we need to think of a proper testing mechanism. I said I would be responsible for this endeavor as I have previous experience (limited) with microcontrollers.
Since we can obviously not implant a device we are testing into a person (and it would probably kill them anyways) I figured the best would be to simulate the electrical impulse the heart uses to beat and and the pacemaker uses as a way to track if it needs to jolt the heart. In this way we could use this is a proof of concept before delving further into the project. Is this a possible to create with an arduino? I have ample free time and decent resources at my disposal but I have no idea where to start this. If this is a bad idea and alternatives could be given then feedback would be appreciated.