SOLUTION: RELAY WIRING ISSUE
Good morning,
I have this circuit shown in the attached picture.
The Raspberry Pi is model b+ v1.2. The pinout can be found here.
The Relay is this CPC1708J.
The fan is a small brushless DC fan that takes 5v and 0.25 amps.
The Raspberry Pi pins can only output 0.16 amps at 3.3v so I need a relay to control when the fan actually turns on and supply the full 0.25 amps at 5v.
My problem is I turn on the Raspberry Pi pin 40 and the fan does not turn on. I test the voltage before and after the resistor and I am getting 3.3v on either side when pin 40 is turned on. I thought I could drop the voltage by using a resistor of approximately 210 R.
V = I * R
I need a 2.1 voltage drop for this particular relay which takes 10 mA.
2.1 / 0.01 A = 210 R
I put in a 217 R resistor which should drop the voltage slightly lower but I thought it would still be able to work at the reduced voltage.
Does anyone have ideas of what I am doing wrong?
Good morning,
I have this circuit shown in the attached picture.
The Raspberry Pi is model b+ v1.2. The pinout can be found here.
The Relay is this CPC1708J.
The fan is a small brushless DC fan that takes 5v and 0.25 amps.
The Raspberry Pi pins can only output 0.16 amps at 3.3v so I need a relay to control when the fan actually turns on and supply the full 0.25 amps at 5v.
My problem is I turn on the Raspberry Pi pin 40 and the fan does not turn on. I test the voltage before and after the resistor and I am getting 3.3v on either side when pin 40 is turned on. I thought I could drop the voltage by using a resistor of approximately 210 R.
V = I * R
I need a 2.1 voltage drop for this particular relay which takes 10 mA.
2.1 / 0.01 A = 210 R
I put in a 217 R resistor which should drop the voltage slightly lower but I thought it would still be able to work at the reduced voltage.
Does anyone have ideas of what I am doing wrong?
Last edited: