Author Topic: Remote SIM interface  (Read 2735 times)

0 Members and 1 Guest are viewing this topic.

Offline MadScientistTopic starter

  • Frequent Contributor
  • **
  • Posts: 439
  • Country: 00
Remote SIM interface
« on: March 24, 2022, 02:14:56 pm »
I’m looking for a system that allows me to place the SIM card remotely to the gsm router , I was thinking about designing an “ extender “

The required distance would be about 6 metres

I was wondering what the challenges would it entail , are there fast clocks used in SIM card interfaces , would it be possible to use a micro controller at each end to serialise the signals and then reconstruct etc.  The other idea is just to use differential drivers to feed each signal

Thanks for your thoughts
« Last Edit: March 24, 2022, 02:27:54 pm by MadScientist »
EE's: We use silicon to make things  smaller!
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 9941
  • Country: ca
  • Non-expert
Re: Remote SIM interface
« Reply #1 on: March 24, 2022, 11:01:38 pm »
It looks like 1-5MHz so may depend on the device (router).

https://6point6.co.uk/insights/telecoms-stack-sim-cards/
https://www.etsi.org/deliver/etsi_ts/102200_102299/102221/03.05.00_60/ts_102221v030500p.pdf

Why do you need to extend the SIM 6m? Why not move the router itself?
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Offline robzy

  • Regular Contributor
  • *
  • Posts: 172
  • Country: au
Re: Remote SIM interface
« Reply #2 on: March 25, 2022, 03:55:45 am »
1-5Mhz with a relatively simple electrical interface?

https://en.wikipedia.org/wiki/ISO/IEC_7816#7816-2:_Cards_with_contacts_%E2%80%94_Dimensions_and_location_of_the_contacts

I'd be looking into whether an i2c extender could be made to cooperate.
 

Offline MadScientistTopic starter

  • Frequent Contributor
  • **
  • Posts: 439
  • Country: 00
Re: Remote SIM interface
« Reply #3 on: March 25, 2022, 07:19:43 am »
It looks like 1-5MHz so may depend on the device (router).

https://6point6.co.uk/insights/telecoms-stack-sim-cards/
https://www.etsi.org/deliver/etsi_ts/102200_102299/102221/03.05.00_60/ts_102221v030500p.pdf

Why do you need to extend the SIM 6m? Why not move the router itself?

For various reasons of coverage the unit is 4m high on top of a pole
EE's: We use silicon to make things  smaller!
 

Offline MadScientistTopic starter

  • Frequent Contributor
  • **
  • Posts: 439
  • Country: 00
Re: Remote SIM interface
« Reply #4 on: March 25, 2022, 07:22:56 am »
1-5Mhz with a relatively simple electrical interface?

https://en.wikipedia.org/wiki/ISO/IEC_7816#7816-2:_Cards_with_contacts_%E2%80%94_Dimensions_and_location_of_the_contacts

I'd be looking into whether an i2c extender could be made to cooperate.

TI do some nice high speed differential line drivers. The main issue being the bidirectional IO line. Afaik it’s simply the two data lines CLK and IO that present any technical challenge , this would mostly arise from clock skew imho.
EE's: We use silicon to make things  smaller!
 

Offline MatjazB

  • Newbie
  • Posts: 4
  • Country: si
Re: Remote SIM interface
« Reply #5 on: March 25, 2022, 08:08:33 am »
I think that such distance would be hard to implement. Cheaply. It all depends what you want to do,.

There are companies providing a SIM over ethernet, where you can via API select what kind of SIM would you like (from your pool). But it is expensive.
If you would like to switch between few SIMs then you can design a SIM multiplex circuit (with e.g. TXS02326a).
 

Offline nali

  • Frequent Contributor
  • **
  • Posts: 901
  • Country: gb
Re: Remote SIM interface
« Reply #6 on: March 25, 2022, 08:50:07 am »
Wouldn't it be easier to use a router with facility for an external antenna and mount just the antenna at the top of the pole? OK, you will get a little bit of coax loss but would be MUCH less hassle!
 
The following users thanked this post: thm_w

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 14857
  • Country: gb
    • Mike's Electric Stuff
Re: Remote SIM interface
« Reply #7 on: March 25, 2022, 09:17:51 am »
I think the problem is that any buffering will need to know the data direction - AFAIK all comms is on a single bidirectional pin.
Using a  router with an external antenna would seem to be the simplest solution - you lose a little signal on the cable but if that's make-or-break the whole setup is likely to be marginal even with the router at the top
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline Berni

  • Super Contributor
  • ***
  • Posts: 5443
  • Country: si
Re: Remote SIM interface
« Reply #8 on: March 25, 2022, 11:59:21 am »
Due to the bidirectional nature you will likely have to emulate a SIM card in a MCU or something. Quite a bit of work for just putting a sim card in a more accessible spot.

If you are going to be hacking this router anyway it is easier to rip out the internal antenna and replace it with a SMA connector. That way you only need a passive antenna up there exposed to the weather. Making it easy to not only replace the sim card but even the entire modem if needed. But what if you have a fancy modem with a big MIMO phased array any everything? Just tap off one of those and it will use it. A directional antenna aimed at the cell tower of choice is going to have a much better signal than whatever phased array crap they can do in there.
 

Offline MadScientistTopic starter

  • Frequent Contributor
  • **
  • Posts: 439
  • Country: 00
Re: Remote SIM interface
« Reply #9 on: March 25, 2022, 12:12:49 pm »
True about external antennas. But a secondary issue is the ability to switch sims easily. The idea was a panel mounted SIM “ drawer “ where a sim could be easily swapped. The router sim access is awkward at the best times

Looking at the interface the main issue is the bidirectional nature of the IO signal line. Since I don’t have a line turnaround signal I have to look how this might be done. Wired OR could be used

No modicfication to the router is expected. The sim just being replaced with a sim ribbon cable to the line driver board mounted outside the router
« Last Edit: March 25, 2022, 12:14:30 pm by MadScientist »
EE's: We use silicon to make things  smaller!
 

Offline Bicurico

  • Super Contributor
  • ***
  • Posts: 1945
  • Country: pt
  • Broadcast Systems & Transport Stream Analysis
    • VMA-Broadcast
Re: Remote SIM interface
« Reply #10 on: March 25, 2022, 05:37:13 pm »
Would a Season Interface as used in the past to hack PayTV work?

https://www.pulsat.com/products/Season-2-Interface-Logger.html
« Last Edit: March 25, 2022, 05:39:23 pm by Bicurico »
 

Offline TheMG

  • Frequent Contributor
  • **
  • Posts: 868
  • Country: ca
Re: Remote SIM interface
« Reply #11 on: March 25, 2022, 06:28:32 pm »
Just out of curiosity, why do you need to replace the SIM so frequently? Normally you stick the SIM in the device and unless you switch service providers you never have to touch it again...
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 9941
  • Country: ca
  • Non-expert
Re: Remote SIM interface
« Reply #12 on: March 25, 2022, 10:10:20 pm »
True about external antennas. But a secondary issue is the ability to switch sims easily. The idea was a panel mounted SIM “ drawer “ where a sim could be easily swapped. The router sim access is awkward at the best times

Looking at the interface the main issue is the bidirectional nature of the IO signal line. Since I don’t have a line turnaround signal I have to look how this might be done. Wired OR could be used

No modicfication to the router is expected. The sim just being replaced with a sim ribbon cable to the line driver board mounted outside the router

Then make a short adapter and stick it on top of the router in addition to extending the antenna. No need for line drivers.

https://www.datapro.net/products/panel-mount-dual-sim-card-extension.html
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Offline MadScientistTopic starter

  • Frequent Contributor
  • **
  • Posts: 439
  • Country: 00
Re: Remote SIM interface
« Reply #13 on: March 26, 2022, 10:47:34 am »
Because as I sail from country to country I typically change the sim.
EE's: We use silicon to make things  smaller!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->