Hi
Im using the adc of pic16f877a and my ckt was all doing fine until i noticed that the signal from the oscilloscope where some kind of distorted when a LED lights up (i used LED to see if my program works). to give you background of what i am doing, my group is making an Automated External Defibrillator. the signal is a heart rhythm coming from a heart simulator. well back to my problem, like what i said earlier the signal is become distorted. it's like becoming a wave with an area. I used an ECG ckt and clamping ckt and looking from the output, it was really desirable but when i interfaced it to the PIC and then a LED lights on any port, the signal becomes distorted. i thought there was a feedback current coming from the LED. i already used optocoupler/optoisolator and also try increasing the resistor in series with the LEDS but it didn't work as well. can anyone suggest on how to solve my problem
regards,
scud
Im using the adc of pic16f877a and my ckt was all doing fine until i noticed that the signal from the oscilloscope where some kind of distorted when a LED lights up (i used LED to see if my program works). to give you background of what i am doing, my group is making an Automated External Defibrillator. the signal is a heart rhythm coming from a heart simulator. well back to my problem, like what i said earlier the signal is become distorted. it's like becoming a wave with an area. I used an ECG ckt and clamping ckt and looking from the output, it was really desirable but when i interfaced it to the PIC and then a LED lights on any port, the signal becomes distorted. i thought there was a feedback current coming from the LED. i already used optocoupler/optoisolator and also try increasing the resistor in series with the LEDS but it didn't work as well. can anyone suggest on how to solve my problem
regards,
scud