I plan to design a relay board, so that i can figure out the issues when assembling the actual hardware, also learn PCB schematic design and related things. There are already lot of threads in this forum on relay interfacing after studying them I was able to reach the current level. But there are few clarifications
The requirements i choose are when 3.3V is received from micro controller port the relay to be ON / OFF.
The specifications are
Relay - SRD-05VDC-SL-C-Datasheet
I simulated the circuit in LTspice and functionally it seems to be ok.
The following are the design calculations
The coil current is 37.5mA which is the collector current i have chosen 40mA on the safer side,
Calculation of the Base Resistor
Ic = 40mA ,
Beta in saturation is 20
Hence Ib = 40mA/ 20 = 2mA
Rb = (Vcc - VBE)/ Ib
Rb = (3.3V - 0.8V)/ 2mA = 1.25kOhm
Calculation of the Collector Resistor
Vcc = Ic*Rc
Rc = Vcc / Ic = 12V / 40mA = 0.3kOhm
LED resistor
I have considered 5mA as the forward current
Rled = (12V - 0.6V)/5mA = 2.26kOhm


Schematic
I use EasyEda for schematic design i attached the schematic pdf. The input connector shall contain 3.3V, Gnd, 12V and the output connector shall contain NC, NO, Gnd for connecting the load (as per my understanding)
Few concerns are should 12V be connected externally by the user and this system works only for 12V? Is the design correct? I have seen recommendation for Mosfet, i will go without in the next step once i am confident with transistor.
Thank you in advance for your time and request to please guide for corrections.
The requirements i choose are when 3.3V is received from micro controller port the relay to be ON / OFF.
The specifications are
Relay - SRD-05VDC-SL-C-Datasheet
| Coil Voltage | 3.3V |
| Nominal Current | 37.5mA |
| Contactor Voltage | 12V |
| Contactor Current | 10A |
I simulated the circuit in LTspice and functionally it seems to be ok.
The following are the design calculations
The coil current is 37.5mA which is the collector current i have chosen 40mA on the safer side,
Calculation of the Base Resistor
Ic = 40mA ,
Beta in saturation is 20
Hence Ib = 40mA/ 20 = 2mA
Rb = (Vcc - VBE)/ Ib
Rb = (3.3V - 0.8V)/ 2mA = 1.25kOhm
Calculation of the Collector Resistor
Vcc = Ic*Rc
Rc = Vcc / Ic = 12V / 40mA = 0.3kOhm
LED resistor
I have considered 5mA as the forward current
Rled = (12V - 0.6V)/5mA = 2.26kOhm


Schematic
I use EasyEda for schematic design i attached the schematic pdf. The input connector shall contain 3.3V, Gnd, 12V and the output connector shall contain NC, NO, Gnd for connecting the load (as per my understanding)
Few concerns are should 12V be connected externally by the user and this system works only for 12V? Is the design correct? I have seen recommendation for Mosfet, i will go without in the next step once i am confident with transistor.
Thank you in advance for your time and request to please guide for corrections.
Attachments
-
1.3 KB Views: 3
-
99.7 KB Views: 6
-
36.2 KB Views: 5








