Here is what I want to do.
I have a an IC that runs on 5v in a separate circuit.
All I want to be able to do is turn the 5v going to the ic on and off.
I don’t want to directly drive the ic from the arduino just turn the power to it on and off.
So its like literally having a physical toggle switch between the ic and 5v from the target circuit.
I’ve been told I need to use a transistor.
I have got a transistor configuration working with an led as the load but can’t figure out how I would connect in an ic as the load.
Actually, the arduino shares 5v and ground with the target circuit, but its important that the arduino doesn’t directly power the ic.
I was thinking maybe using 5v relay is a better option than a transistor?
I’ve attached a diagram to help show what I want to do.