Good day all,
Sorry if this question is in the wrong place and has been asked before but I could not find a solution that fits my current predicament. So I have designed a built a electronic circuit, I am no professional with self taught experience, but from my knowledge it should work flawlessly however I keep blowing transistors. My original circuit, attached, did work when I was writing my code however after building it with multiple units I often blow transistors. I am using a 2N2222A transistor that is attached to the 24V line and the base is controlled from GPIO pins (in this case a I2C GPIO expander). So the main design of the board is too be able to turn on and off ten 24V powered devices using GPIO pins of the I2C GPIO expander. I also turn the units on multiple times for a reliable startup test and the units draw 30mA @ 24V. I originally had a diode in between the 3.3V GPIO and the transistor base however I kept blowing transistors so I swapped the diodes out for 10K resistors and still I keep blowing transistors. I do not understand why I keep blowing transistors as the max current I draw is 60mA @24V and the transistor is rated for 800mA. Is the a flaw in my schematic? Have I overlooked something obvious? A friend of mine suggests that I replace the transistors with MOSFET's however I know very little about them to spec the correct one for the 3.3V I have to drive the base. Please can someone assist me with this as I really need to get this working again and reliable as this board is used to test units that I build.
Details of attached circuit:
J1-J10 is the 24V power sockets for the units being tested that gets turned on and off by the GPIO pins via a transistor.
J11 is the 24V input line from a 24V power supply.
J12 is the header that connects to the GPIO header of the Raspberry Pi that is used to control the GPIO expanders
U1 & U2 is the GPIO expanders "Microchip MCP23017-E/SP"
Q1-Q10 is the 2N2222A transistors
D11-D20 is RED & GREEN LED's
D1-D10 is 1N4001 diodes that was swapped out for 10K resistors
*NB I know that the two grounds are not connected in my drawing however I did find the fault in my design while testing it out the first time I built it
Mod: Opened the PDF circuit.E
Sorry if this question is in the wrong place and has been asked before but I could not find a solution that fits my current predicament. So I have designed a built a electronic circuit, I am no professional with self taught experience, but from my knowledge it should work flawlessly however I keep blowing transistors. My original circuit, attached, did work when I was writing my code however after building it with multiple units I often blow transistors. I am using a 2N2222A transistor that is attached to the 24V line and the base is controlled from GPIO pins (in this case a I2C GPIO expander). So the main design of the board is too be able to turn on and off ten 24V powered devices using GPIO pins of the I2C GPIO expander. I also turn the units on multiple times for a reliable startup test and the units draw 30mA @ 24V. I originally had a diode in between the 3.3V GPIO and the transistor base however I kept blowing transistors so I swapped the diodes out for 10K resistors and still I keep blowing transistors. I do not understand why I keep blowing transistors as the max current I draw is 60mA @24V and the transistor is rated for 800mA. Is the a flaw in my schematic? Have I overlooked something obvious? A friend of mine suggests that I replace the transistors with MOSFET's however I know very little about them to spec the correct one for the 3.3V I have to drive the base. Please can someone assist me with this as I really need to get this working again and reliable as this board is used to test units that I build.
Details of attached circuit:
J1-J10 is the 24V power sockets for the units being tested that gets turned on and off by the GPIO pins via a transistor.
J11 is the 24V input line from a 24V power supply.
J12 is the header that connects to the GPIO header of the Raspberry Pi that is used to control the GPIO expanders
U1 & U2 is the GPIO expanders "Microchip MCP23017-E/SP"
Q1-Q10 is the 2N2222A transistors
D11-D20 is RED & GREEN LED's
D1-D10 is 1N4001 diodes that was swapped out for 10K resistors
*NB I know that the two grounds are not connected in my drawing however I did find the fault in my design while testing it out the first time I built it
Mod: Opened the PDF circuit.E
Attachments
-
30.8 KB Views: 13
-
44.9 KB Views: 48
Last edited by a moderator: