Hi all who read this! I have built a nice little robot, it uses a pic 18f4550, I love this 8 bit chip. Its powered by two 3.5v lipo batterys. The microcontroller is powered by one battery & the motors are driven the second battery to seperate supplies. I am using an adc port to read the battery for the micro using internal vref & reading the battery on another adc port using external vref. This is for a battery monitor I can control in sw.
I have used capacitors across the adc to smooth out current drop by the motors. I need to use a diode before the capacitor to stop the motors from discharging my capacitor. My question: I have used a signal diode & this worked fine but dropped current & voltage so I tried a 1n4001 rectifying diode & noticed although it blocked power at one end as diode's do, when I put it infront the capacitor it let the motors discharge the capacitor? As if when letting voltage through it acted like a normal piece of wire?
I put a simple drawing sorry about the C for the capicitor & the dots.
+------------|>---- + -------
<to motor circuit....C..........to adc>
- ------------------- - --------
I have used capacitors across the adc to smooth out current drop by the motors. I need to use a diode before the capacitor to stop the motors from discharging my capacitor. My question: I have used a signal diode & this worked fine but dropped current & voltage so I tried a 1n4001 rectifying diode & noticed although it blocked power at one end as diode's do, when I put it infront the capacitor it let the motors discharge the capacitor? As if when letting voltage through it acted like a normal piece of wire?
I put a simple drawing sorry about the C for the capicitor & the dots.
+------------|>---- + -------
<to motor circuit....C..........to adc>
- ------------------- - --------
Last edited: