Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Bad outputs while programming

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
    shift_reg_schematic.jpg
    249.8 KB · Views: 307

Latest threads

Back
Top