My goal is to light two 12v 21w light bulbs with a relay, but the relay is just clicking.
The thought is that when RB0 is HIGH, the NPN BD139 turns on and energize the relay. This doesn't happen. It's just clicking, like it's not getting enough current. The relay is a Finder, type 40.52, 12v 8A. When I measure the coil, the DMM reads 216 Ohms. I've also tried to alter the software so I can use the PNP BD238, but same thing happens. Thinking that it would be better to sink the transistor that to source it.
It works great on the breadboard with LEDs, but when I switch the LEDs with a relay - clicking...
I'm using a 12v car battery as a power supply.
I've also tried with a IRL 2703, but nothing.
The input block is push buttons. Different button, different HIGH time on RB0, but not less than 1 sec.
I guess there is an obvious reason for this, but I'm stuck.
Partlist:
Thanks for reading.
The thought is that when RB0 is HIGH, the NPN BD139 turns on and energize the relay. This doesn't happen. It's just clicking, like it's not getting enough current. The relay is a Finder, type 40.52, 12v 8A. When I measure the coil, the DMM reads 216 Ohms. I've also tried to alter the software so I can use the PNP BD238, but same thing happens. Thinking that it would be better to sink the transistor that to source it.
It works great on the breadboard with LEDs, but when I switch the LEDs with a relay - clicking...
I'm using a 12v car battery as a power supply.
I've also tried with a IRL 2703, but nothing.
The input block is push buttons. Different button, different HIGH time on RB0, but not less than 1 sec.
I guess there is an obvious reason for this, but I'm stuck.
Partlist:
Rich (BB code):
Part Value Device Package Library Sheet
C1 0.1uF C-EU050-024X044 C050-024X044 rcl 1
C2 100uF CPOL-EUE2.5-5 E2,5-5 rcl 1
C3 100uF CPOL-EUE2.5-5 E2,5-5 rcl 1
C4 0.1uF C-EU050-024X044 C050-024X044 rcl 1
C5 0.1uF C-EU050-024X044 C050-024X044 rcl 1
D1 1N4148DO35-7 1N4148DO35-7 DO35-7 diode 1
IC1 78L05Z 78L05Z TO92 linear 1
IC2 PIC 16F628 DIL18 DIL18 ic-package 1
JP1 12vDC PINHD-1X2 1X02 pinhead 1
JP2 ICSP PINHD-1X5 1X05 pinhead 1
JP3 BTN 1 PINHD-1X2 1X02 pinhead 1
JP4 BTN 2 PINHD-1X2 1X02 pinhead 1
JP5 BTN 3 PINHD-1X2 1X02 pinhead 1
JP6 BTN 4 PINHD-1X2 1X02 pinhead 1
JP7 PINHD-1X2 1X02 pinhead 1
K1 4052 4052 F4052 relay 1
QF1 12M10AHC49HT 12M10AHC49HT HC49U crystal 1
R1 12K R-EU_0207/7 0207/7 rcl 1
R2 10K R-EU_0207/7 0207/7 rcl 1
R3 10K R-EU_0207/7 0207/7 rcl 1
R4 10K R-EU_0207/7 0207/7 rcl 1
R5 10K R-EU_0207/7 0207/7 rcl 1
R6 100R R-EU_0207/7 0207/7 rcl 1
T1 BD139 BD139 TO126 transistor 1
TP1 TPPAD1-20Y TPPAD1-20Y P1-20Y testpad 1
Attachments
-
19.2 KB Views: 59