# Raspberry pi3 12v led circuit - broke down pi

I wanted to use 12v led, so I tried to switching 5v(gpio pin) to 12v.

This is my 12v switching circuit.

And this circuit broke down my raspberry pi. When I wired this circuit, they worked well. But I switched on and off several times, the transistor and raspberry pi broke down.

Why my raspberry pi and transistor died??

• What pins on the RPi were you using? – Oskar Skog Nov 2 '17 at 4:48
• PS. The RPI uses 3.3V not 5V. It doesn't explain why it died in this case though. – Oskar Skog Nov 2 '17 at 4:49
• You need 330 ohm resistors (or more), the max limit of output current is 16mA, safe limit is 8mA. That would only explain dead GPIO pins however. – user2497 Nov 2 '17 at 6:03
• @OskarSkog I used 22 pin. – juae Nov 2 '17 at 6:15
• @user2497 Max limit that you said is gpio pin's or transistor's? If gpio pin, I used gpio pin only output.. So I cannot understand why gpio pin died. – juae Nov 2 '17 at 6:37

• ohm's law ... google it – jsotola Nov 2 '17 at 3:29