Electronic – how can i switch sim card clock signal line betweem two sim cards

clocksimswitches

2 simcard clk switch

My setup is as on png above, I am using sim800L gsm module, by trial and error i discovered that i can connect sim pins: (rst,gnd,io and clk) and the module detects and connect to GSM without connecting power to sim vcc pin, i also read that sim vcc is optional.

what i want to do is somehow switch clk signal so that one sim card is detected by module at a time, i can do it with manual switch but how can i do it with electrical switch?. pls help.

Best Answer

Using analog multiplexer is simple and easy solution.
In the example diagram attached, the two audio source can be two sim cards. SIM-CLK and SIM-DATA can be now shared between two ICs, with the help of one spare GPIO line used to select between two cards.

enter image description here

Remember that it's a bidirectional switch, hence the applications are simply vivid.

Related Topic