Circuit Layout Design Series: How To Design | Sim Card Reader 1,2,3 | College Automation | Wireless Glove Commander | Obstacle Avoiding ROBOT

Ad 468 X 60

Friday, September 24, 2010

SIM Card Reader Part-2

In First Tutorial We Create a Hardware For Sim Card Reader,Now We Learn How To Use It.

Inserting SIM cards:

Inserting the SIM card is fairly straight-forward.First verify that any cables and/or batteries are disconnected.This is the safest way to insert and remove cards.
SIM Card Reader Part-2
Slide the holder away from the power LED (look for the OPEN-> indication on the card holder), the holder will pop open.
SIM Card Reader Part-2
Slide the SIM card in so that the contacts face up and the notched corner is on the bottom. The holder is designed so that cards can't be placed backwards.
SIM Card Reader Part-2
To remove a SIM card, disconnect all power and cables, then reverse the steps.

Connecting to a serial port:

If you're using a serial port or a USB-to-serial converter with a DB9 connector, the board needs to be powered with a 9V battery.
SIM Card Reader Part-2
The green LED should be lit indicating power good.
SIM Card Reader Part-2
Then connect the DB9 cable to the side. That's it!

Connecting with an FTDI cable:

An FTDI cable (5V or 3.3V version) can also be used.What's nice about these is that they provide a regulated 5V supply so a 9V battery is not needed!
SIM Card Reader Part-2
Simply connect the cable to the header.Make sure the black (ground wire) is on the left as shown.The green LED should light up.

Running the pySim software:

In order to send and receive data from the SIM card,we will use the free and open source software pySIM.This software does pretty much everything the expensive, proprietary,'forensics' software out there does!It can back up and recover deleted SMS messages & phone book entries,determine the last numbers dialed,and extract serial number information.
Download From Here:pySim Win32v2
To run the software,double-click on pySimReader.exe (Windows).
py Sim Reader

Connect:

First thing is to connect to the reader.Plug a serial cable from the reader to the computer's serial port.
COM PORT
If your computer doesn't come with a serial port (say, newer PCs and laptops),a USB-serial converter will work just fine. Now its time to figure out what COM/serial port you are using.By default almost all Windows computers have only COM1 but if you are using a USB adaptor or have a different configuration,you will have a different COM port.Open up the Device Manager (under the System control panel) and look under Ports.
COM PORT Setting
Click on Connect Reader and select the serial port.
COM PORT Setting
Click OK to connect to the reader.The debug window should pop up and display information send and received from the SIM card.
COM PORT Setting
As long as some data was exchanged, the communication is working fine.
PySim Working

Reading and writing data to the SIM:

Now its easy to get the SMS and phonebook data.Use the menu commands to read,write,import and export data.
PySim Working
PySim Working
PySim Working
When you're done.Click on Disconnect,remove the serial cable,disconnect the 9V battery and then remove the SIM.
First Part Of This Tutorial:Sim Card Reader Part-1
Third Part Of This Tutorial:How To Hack Sim Card
All Credit Goes To Ladyada
Share This Post →



If you enjoyed this post and wish to be informed whenever a new post is published, then make sure you Subscribe to our regular Email Updates!

0 comments:

TechElex.Com © 2012-2013 | Designed by My Blogger Tricks | Powered by Blogger