Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering

Sim Card Reader for 6 Pin GSM

By Irfan Khan Irfan

 

Aim: to design the gsm sim card reader and to interface it to the pc.

Components required:
       ·         Ic 74hc04(inverter).        (2 ic’s means 8 gates)
       ·         Crystal oscillator.            (just one of about 3.5Mhz)
       ·         10k ohm resistor.            (10 in number)
       ·         Transistor –bc293c.        (3 in number)
       ·         Diode.                                (3 in number)
       ·         1M ohm resistor
       ·         Led diode
       ·         Capictor each of 470uf(2 in number),100nf(2 in number),33pf(3‘s).
       ·         Rs 232 male or female whichever suitable for the connection.
       ·         Simcard reader port of six pins.
Theory:
The sim card interfaces consists of the series of the impedance matching circuits as we see there are six pins and there are eight pins some of the sim’s. The termination resistor has a value of 1- 10k ohm for data line & reset line and here we have 1-2k ohm for the clk line.we here build the circuits as per the pin requirements as we see i have connected the crystal oscillator for the clk pin and the requirement is calculated Vsim pin is connected to the DTR of rs232 terminal, then the clk is to the crystal oscillator,these data lines simdata and Vsim terminalthe the RTS of rs232 is connected to the simrst pin ,the circuit shows almost all the pins covered this is done without using any other ic. We can get this in market rarely but as we know the chip is all integrated to the single cable usb line which has max 232 which converts the TTL logic to the computer logic.
Circuit diagram:
The sim connector and the pin specifications of the sim.
Pin Diagram of Mobile SIM
Fig. 1: Pin Diagram of Mobile SIM
Explanation:
Pin Diagram of RS-232 Serial Port
Fig. 2: Pin Diagram of RS-232 Serial Port
Clock circuit :this circuit helps the device to put the data in and out the sim card memory as we have same i/o pin is connected to the tx and rx via the transistor.
DTR terminal: this terminal is used mainly to make the sim ready to the transmit and receive operations and clearly this helps to transmit the data and helps to convey it to the memory of the sim and clearly we get the data done in putting into the sim memory .
RTS:this terminal is used to give the signal to simrst pin of the sim and makes it reset and this is done in the active low state and which also helps the program to start from the beginning for the new process.
Data i/o is only one and this is brought together by the single transistor and there is a possibility more advanced circuit in the place of that and also we can use more than one transistor or any other network analysis.
Installing the software:
The software installing should have a proper sim card accessible driver this helps in the connecting the device to the host i.e your pc.
But first we have to connect the RS232 to the usb and for this i have shown you the writing attached with this article and also we need to search the software properly.
For example we have the software like Simmaster2.0 which is very rarely got in the web also we have Simprobackup,by these softwares we can have backup also we can use it more if the we are smart enough.
Install the proper softare and also see we have the sim connected and we can extract all kinds of the codes of the particular sim in order to do know.
To run the software on your computer system, you require the following minimum hardware and software configuration settings:
Memory Required:
Hard Disk Space: 5 MB of Free Hard Disk Space
RAM Recommended: 128 MB RAM
Processor Required
Pentium class or equivalent processor
Operating System Required
Any of the Microsoft Windows OS including:
Windows XP
Windows 7
Results:
We can read the data in the sim card of six pin and clearly we can find more usefull codes in it by using suitable software.

 

Then we need to connect to the rs232 female pin and then convert the signal to the pin of the usb.
Prototype of SIM Card Reader
Fig. 3: Prototype of SIM Card Reader
Conversion of RS232 to usb port serial
Need for conversion:
RS-232 works on the voltage different than that of the TTL logic. As we see in RS-232 it represents 1 as-3 to -23 and ‘0’ from the +3 to +23. The need is for the circuits of microcontrollers, chips , ic’s ,etc can be interfaced from this conversion. Then from the other end we can use this to connect to the laptop or pc. Then from this we can modify various memory ,rom, codes etc by using a suitable software in the laptop or pc.
Circuit Diagram of MAX232 based RS-232 to TTL Logic Converter
Fig. 4: Circuit Diagram of MAX232 based RS-232 to TTL Logic Converter

 

 Pin Configuration and Simulation

PIN CONFIGURATION OF RS-232 DB-9:

 Pin Diagram of RS-232 Connector

Fig. 5: Pin Diagram of RS-232 Connector

 As we see that the data communication can be classified as DTE(data terminal equipment) and DCE(data connection equipment). The simple connection requires a atleast 3 pins that is for the transmission, receiving and ground. As we see i used only 3 pins from the RS-232 port which is used to connect for the MAX 232 ic. The remaining pins are to be connected for the circuit of the required chip or the circuit components of the chip.
DCD (Data Carrier Detect)
       ·         The modem asserts signal DCD to inform the DTE that a vailed carrier has been detected and theat contact between it and the other modem is established.
RI (Ring Indicator)
       ·         An output from the modem and an inpur to a PC indicates taht the telephone is ringing.
       ·         It goes on and off in synchronous with the ringing sound.

 

Data Terminal Ready
When terminal is turned on, it sends out signal DTR to indicate that it is ready for communication.
Data Set Ready
When DCE is turned ON and has gone through self assert test, it assert DSR to indicate that it is ON for communication.
RTS (Request to Send): When the DTE device has byte to transmit, it asserts RTS to signal to modem that it has a byte of data to transmit.
CTS (Clear to Send)
When the modem has room for storing the data it is to receive, it sends out signal CTS to DTE to indicate that it can receive the data now.

 

Usb pin configuration:
Pin Diagrams of different types of USB Connectors
Fig. 6: Pin Diagrams of different types of USB Connectors
 
Pin
Color of wire
Type
Job
1

red

vcc

+5 volt
2

white

D-

Data-
3

green

D+

Data+
4

black

gnd

ground
 

 

 

 

 

Universal serial bus is a specification used for the connection between the devices and the pc’s.nowadays usb’s are replaced from various interfaces .usb can be used for the connection of the computer peripheral gps, mice keyboard etc.
Then we have pin config of usb as shown above. Now there are 7 types of the usb connectors. Half duplex differential signalling helps to combat the electromagnetic noise . the D- and D+ opertate together ,they are not separate simplex.usb 2.0 uses the 1.5Mbps signalling rate, but for the full bandwidth the signalling rate is12Mbps.
Note: connect this very specific and neatly.
Result: as we see the connections are to be specific and clear.
Prototype of SIM Card Reader
Fig. 7: Prototype of SIM Card Reader
(“do not use this for the illegal purposes we can read the card without barrier unlike in cable connection of the phone to a pc where we can’t hit the sim ,we are not responsible for the activities done by using this reader. THIS IS ONLY FOR THE EDUCATIONAL PURPOSE”)
Example of the software: sim pro

 Screenshot of instructions for detecting SIM Card

Fig. 8: Screenshot of instructions for detecting SIM Card

 

Screenshot of Messages for Successful and Failed Detection of SIM Card

Fig. 9: Screenshot of Messages for successful and failed detection of SIM card

 


Filed Under: Electronic Projects
Tagged With: gsm, sim card
 

Questions related to this article?
👉Ask and discuss on EDAboard.com and Electro-Tech-Online.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


Featured Tutorials

  • PS2 Keyboard To Store Text In SD Card Using Arduino Circuit Setup On Breadboard
    How To Use PS2 Keyboard To Store Text In SD Card Using Arduino- (Part 42/49)
  • Wireless Path Tracking System Using Mouse, XBee And Arduino Circuit Setup On Breadboard
    How To Make A Wireless Path Tracking System Using Mouse, XBee And Arduino- (Part 43/49)
  • How to Make a Wireless Keyboard Using Xbee with Arduino- (Part 44/49)
  • Making Phone Call From GSM Module Using Arduino Circuit Setup On Breadboard
    How to Make Phonecall From GSM Module Using Arduino- (Part 45/49)
  • How to Make a Call using Keyboard, GSM Module and Arduino
    How To Make A Call Using Keyboard, GSM Module And Arduino- (Part 46/49)
  • Receiving SMS Using GSM Module With Arduino Prototype
    How to Receive SMS Using GSM Module with Arduino- (Part 47/49)

Stay Up To Date

Newsletter Signup

Sign up and receive our weekly newsletter for latest Tech articles, Electronics Projects, Tutorial series and other insightful tech content.

EE Training Center Classrooms

EE Classrooms

Recent Articles

  • How to interface a DS18B20 temperature sensor with MicroPython’s Onewire driver
  • What is a low power design?
  • Renesas partners with Tata to accelerate progress in advanced electronics
  • STMicroelectronics’ new touchscreen controller for smartphones enables longer runtime
  • Samsung unveils ISOCELL image sensor with industry’s smallest 0.56μm pixel

Most Popular

5G 555 timer circuit 8051 ai Arduino atmega16 automotive avr bluetooth dc motor display Electronic Part Electronic Parts Fujitsu ic infineontechnologies integratedcircuit Intel IoT ir lcd led maximintegratedproducts microchip microchiptechnology Microchip Technology microcontroller microcontrollers mosfet motor powermanagement Raspberry Pi remote renesaselectronics renesaselectronicscorporation Research samsung semiconductor sensor software STMicroelectronics switch Technology vishayintertechnology wireless

RSS EDABOARD.com Discussions

  • MWO - EM Structure missing
  • Effect of variable gain amplifier and LNA on the input RF signal's phase
  • HF preamplifier with threshold?
  • Does Monostable pulse stay HIGH whilst input pulse is HIGH?
  • Inverted TTL

RSS Electro-Tech-Online.com Discussions

  • NOR gate oscillator in LTspice not working
  • HELP NEEDED
  • intro to PI
  • Lighting a .010 green fiber optic with led
  • led doorbell switch
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • About Us
  • Contact Us
  • Advertise

Copyright © 2022 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering