Hi, This is a bit of a weird problem. Ive made a circuit using a PIC18F2420. 16 of the pins connect to transistors and LEDs through seperate resistors. 2 pins connect to a tri-color LED and 4 pins are used to connect to an RS485 chip. When i turn the circuit on all of the LEDs light up feintly. When the PIC turns an output on then the LED glows as normal. Its definately the PIC thats causing it because when i remove the PIC all the LEDs go off completely.
Ive tried eliminating possible causes. There is a huge transformer next to the chip so i tried removing it and running from another power source. Ive tried removing the RS485 chip, swapping the PIC and ive been over and over the PCB layout and i cant see anything wrong.
Are there any special configuration registers i might have missed? Ive disabled the analog stuff already. I dont have a schematic at the moment but ill make one up tomorrow just incase it is a design fault.
Bookmarks