I didn't think I would be back so soon but I am stumped again. I have a circuit that turns little Panasonic PCB 3v relays on and off. Their coils draw 16.8 ma so they are well under the PIC supply limit and they have internal diodes. When I have the 16F1827 attempt to turn the relay on, there is about 1.8v measured at the output pin and the relay doesn't quite have enough to click over. I have done the same circuit with 628As and 1320s with no problem. I am thinking it is something to do with a register setting I have yet to find but I have about 20 hours into finding it with no results. I have disabled the comparators, set the ports for digital, and played with just about every register I could find int the data sheet. I finally used the "All Digital.php" file from Mr. Taylor which has worked on everything for me in the past but not this. Any help with this would be much appreciated.
INCLUDE "ALLDIGITAL.pbp"
Include "modedefs.bas"
define OSC 16
OSCCON=%01111010 ' 1320
do
high porta.3
high portb.2
pause 500
low porta.3
low portb.2
pause 500
loop
Bookmarks