Bad outputs while programming

Status
Not open for further replies.

jrz126

Active Member
I'm working on a product tester for work. I need to control 20 relays plus a bunch of other I/O. I'm using an 18f4520. To save IO pins, I have my relays controlled using 3 74hc299 shift regs which control some uln2803 transistor arrays.

When I program the chip, I get some bad data on the shift reg. control pins, causing my relays to turn on/off somewhat randomly.

I've attached the schematic of the relay portion. I'm using a pickit 2 to program it.
 

Attachments

  • shift_reg_schematic.jpg
    249.8 KB · Views: 243
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…