I got a problem with my Raspberry Pi setup.
I'm currently using an arduino to control an IRL520N to switch GND on and off on the rasperry and that works great, or it did...
My setup also includes an LCD screen with VGA input. The screen is powered with 12v. The PSU is an laptop brick, 20v and from there I've used two buck converters to bring it down to 5v and 12v.
The 5v goes to the arduino and Raspberry and the 12v to the screen.
I was using an powered hdmi to vga adapter for the screen and it worked for a couple of weeks until it started to get really hot and broke. So I replaced it with another one and thats when the problem started.
So now when I'm trying to turn the raspberry off (switching the GND of with the mosfet) it's still on. The red light is glowing.
I've traced it all down to the vga adapter and it seems like the ground from the adapter is making a full circuit so the raspberry stays on.
And now I dont really know what the best aproach would be to fix this problem. I would rather not have to reprogram the arduino but maybe I could fit another mosfet so switch off the +5 aswell? Or if I can isolate the 12v gnd somehow.
Any suggestions would be appriciated!
Thanks in advance