Tag Archive | "SIM card"

Kit Review – adafruit industries SIM reader (part two)

[Updated 18/03/2013]

Hello readers

Now for the second instalment of my kit review of the adafruit industries SIM card reader. In part one the kit was successfully assembled and the software installed. After some research and some very useful advice from the amazing people at adafruit, we can now move forward to the conclusion of this review.

First of all, a big thanks to adafruit support who pointed me in the direction of something very simple yet crucial: the kit FAQ. Once again I have exhibited the stereotypical behaviour of a male and not read all the instructions first! (Slow clapping from the females in the audience…)  The most crucial point being:

The reader and software looks in the default locations that cell phones use to store SMS and phonebook data – just like the professional forensics software. Some phones do not store any data on SIM cards, instead using their internal memory, and some do a good job of overwriting the data when it is erased. Thus it is not guaranteed that a particular message or phonebook entry will be accessable – it depends a lot on the phone used!

D’Oh.

To cut a long story short another SIM card was acquired that had not been near my handsets, and this worked perfectly. Again, that wonderful feeling of something working filled me with warmth and happiness.

Now for the moment of truth! Insert the SIM card, plug in the cable, connect the PP3 battery if you’re using RS232, and execute:

python pySimReader.py

which after starting up, and you clicking “connect reader” should result with this:

dump2

That’s more like it. Time to examine what the SIM holds… first – the phone book:

dump3

You can double-click on a listing (above left) and the edit entry box appears (above right) allowing you to … edit an entry!

Next we look at the SMS messages function. Unfortunately the SIM card I tested was deactivated and therefore couldn’t be used to receive SMSs. However an excellent demonstration is found in the video at Citizen Engineer (volume one). Finally, we can examine the details of the SIM card itself:

dump4

What are all those acronyms?

  • MSISDN – the phone number attached to that SIM card;
  • Serial number – the SIM serial number, usually printed on the SIM card;
  • IMSI number – a unique number sent by the phone to the network to identify the user;
  • SIM phase – SIM cards were originally ‘Phase 1’, and the phase number increased as the GSM standard was developed over time.

So there you have it. In conclusion, this is an easy to assemble kit which is fun and educational. This is the type of kit that would be good for those who are being introduced to the fascinating world of electronics (etc) as it is quick to build, and does something with the “real world” (i.e. mobile phones) that young people love so much. Or anyone else for that matter. High resolution photos are available on flickr.

In the meanwhile have fun and keep checking into tronixstuff.com. Why not follow things on twitterGoogle+, subscribe  for email updates or RSS using the links on the right-hand column? And join our friendly Google Group – dedicated to the projects and related items on this website. Sign up – it’s free, helpful to each other –  and we can all learn something.

[Note – this kit was purchased by myself personally and reviewed without notifying the manufacturer or retailer]

Posted in adafruit, cellphone hacking, kit review, learning electronics, tutorial

Kit Review – adafruit industries SIM reader (part one)

[Updated 18/03/2013]

In this review will cover the SIM reader from adafruit industries.

The result of this kit is a device that can read the data from a GSM SIM card, such as last-dialled numbers, SMS messages, the phone book, and so on. Although this may not sound like much, the concept of having this sort of technology at home really is amazing; that is – you can learn about the GSM SIM technology and hack into it.

The kit was shipped to me via USPS First Class International postage – taking five days to arrive in Australia from New York. Frankly that’s good enough and therefore no need for a courier.

kitbagsmall

adafruit also set the standard with customs paperwork, with a full and honest declaration inside and out. By doing this I feel it speeds the parcel through Customs… a lot quicker than those packages from Chinese eBay sellers who always put “Gift, US$2” on everything. Opening up reveals the kit itself, in an anti-static resealable bag. Groovy, packaging I can reuse and not throw away…

kitbagsmall

Another smart move is to not include paper instructions, instead having a very detailed web site and a busy support forum. You can always print the instructions out if you don’t have a PC in your work area. The next thing I love to do is have a look at the components, and get a feel for the kit itself.

partssmall

What stands out with adafruit kits compared to most others (I’m looking at you, Jaycar) is the quality of components. A decent PP3 battery snap that won’t break when you are tired and cranky, branded semiconductors, and a beautiful solder-masked, silk screened PCB. However, no IC socket. Grr. However, one can tell this has been designed by an enthusiast and not some bean-counter.

pcbfrontsmall

 

pcbrearsmall

But that’s enough looking and talking – let’s build it…

My advice at this point is to check you have all the components on hand, and then line them up in order to make it easier while you are soldering. There was also a couple of parts that missed their photo shoot call…

parts2small

If possible, the best way to make adafruit kits is to have your computer in front of you, as you can follow the detailed instructions as you go along. With the instructions up on the screen, the helping hands ready, the fume extractor on, and the tools at my side – it’s time to get cracking.

magnifysmall

First the resistors, protection diode, LED and PP3 snap  …

resistorssmall

Time for a quick test (excellent for confidence-building and troubleshooting) …

testingsmall

Excellent, the LED is working. The rest of the components are easily soldered… as there was no IC socket I soldered opposing pins in order to spread the heat load. The second-last part to fit was the SIM card reader. This had me worried, as if it was damaged, it would take a few days to replace. However, the instructions made it look simple – and it was. Taking a decent photo of it was more difficult…

simreadersmall

And finally, the last part – DB9 fitting for the serial cable to the PC. The kit is supplied with a female connector… but silly me ordered the wrong serial cable, so I am using a male connector. Again, this was easy to fit – the PCB slid between the two rows of pins on the plug, and had large solder pads to make a good strong connection.

db9topsmall

 

db9bottomsmall

OK – we’re done. Now for a SIM card… Ms. Tronixstuff wouldn’t volunteer hers, so mine will be the first victim…

firstvictimsmall

Now time to install the psySIMReader software. It is freely available here with instructions.  Originally my first attempt was with Ubuntu 9.1 and 10.04, but there were too many python errors, and I wasn’t in the mood for learning another language. Eventually I learned how to force the python software to look at COM1 – a good start. But no go – the zero error. Off to a windows xp machine. Seemed ok, but when I attempt to open the COM1 port an error says something about returning zero. This could possibly mean my SIM card is non-standard. *sigh* Went to the supermarket and bought a Vodafone SIM for $2, maybe they are different to my Virgin mobile SIM in some way. On the way back I stopped in again and tried the whole process on the windows xp machine, same error. Vodafone SIM card didn’t work either. Zero for both.

So home again. After reading the support forums, I resoldered all the joints, checked for continuity around the board, reinstalled python and the software, zero error again. Maybe SIM cards have changed a little since the kit was introduced? Then I looked at my serial cable – 3 metres. Perhaps it was too long? So I chopped off one end leaving about 150mm and soldered up another DB9 plug.

newcable-small

Tested the cable, tried again – still the zero error.

Another trawl through the forums and google revealed people having the same zero error, but it being fixed with a resolder job and/or plugging the PCB straight into the serial port on the computer. I cannot do this having originally soldered on a DB9 male to the PCB. Argh. Either it is my soldering or my dodgy serial cable hackup. Soon I will order up an FTDI cable, have someone else check my soldering with better eyes, and then try connecting again.

So at this stage, the verdict is still out. However, I must commend adafruit industries as a great organisation with respect to ordering, speed of delivery, quality and amount of detail on the website, and the support and enthusiasm offered throughout. Their other products have all received rave reviews and are supported much more than adequately.

At this point I will finish part one of the review, and return when the FTDI cable arrives.

[edit] – Click here to visit part two of this review.  High resolution photos are available on flickr.

In the meanwhile have fun and keep checking into tronixstuff.com. Why not follow things on twitterGoogle+, subscribe  for email updates or RSS using the links on the right-hand column? And join our friendly Google Group – dedicated to the projects and related items on this website. Sign up – it’s free, helpful to each other –  and we can all learn something.

Posted in adafruit, cellphone hacking, GSM, kit review, learning electronics, SIM reader


Subscribe via email

Receive notifications of new posts by email.

The Arduino Book

Arduino Workshop

Für unsere deutschen Freunde

Dla naszych polskich przyjaciół ...

Australian Electronics!

Buy and support Silicon Chip - Australia's only Electronics Magazine.

Use of our content…

%d bloggers like this: