i have a PIC which i want to use in a car to run 2 relays. the relays are 24v, but switch at about 10v, and the pic switches the relays with 2 2n2222 transistors. the transistors are connected to the pins of the pic with 1kohm resistors. the pic will also run one LED.
i want to use a zener diode to get 5v to the PIC, i have made a simple regulator with a diode and a 220ohm resistor, and connected the 5v from the zener to one of the transistors (to simulate the pic pin) and it doesn't seem to have enough current to switch the transistor.
i want to use a zener diode to get 5v to the PIC, i have made a simple regulator with a diode and a 220ohm resistor, and connected the 5v from the zener to one of the transistors (to simulate the pic pin) and it doesn't seem to have enough current to switch the transistor.