Hi,
For my hobby project, I am trying to design a connector interface where i should be able to plug-in 5V or a 3.3V device like MMC card, mobile LCD etc.
Connector pin-out.
---- Vcc
---- Gnd
---- MOSI
---- MISO
---- CLK
....
....
---- CS
I am confused on how can i switch my VCC from 3.3V to 5V at run-time (not through jumper) using a uC pin.
uC will be running on 5V through a adaptor.
I have done some uC programming but am newbie in electronics.
I am planning to use the attached circuit.
Would appreciate your comments on whether it would work or not and any suggestions for a better design.
cheers !!!
For my hobby project, I am trying to design a connector interface where i should be able to plug-in 5V or a 3.3V device like MMC card, mobile LCD etc.
Connector pin-out.
---- Vcc
---- Gnd
---- MOSI
---- MISO
---- CLK
....
....
---- CS
I am confused on how can i switch my VCC from 3.3V to 5V at run-time (not through jumper) using a uC pin.
uC will be running on 5V through a adaptor.
I have done some uC programming but am newbie in electronics.
I am planning to use the attached circuit.
Would appreciate your comments on whether it would work or not and any suggestions for a better design.
cheers !!!
Attachments
-
9.4 KB Views: 31