Introduction: Sim900 for PC
Hi,
Here is my first instructable's post. Hope you like it :)
In this project i want to show you how to connect Sim900 or other series of simcom's to the PC via TTL module. A simple but useful project!
Here are some pice of important you need to build the project:
1.Sim900/900A module,
which I've purchased it form : http://eshop.eca.ir/%D9%85%D8%A7%DA%98%D9%88%D9%84-gps-gsm-gprs/1413-%D8%A8%D8%B1%D8%AF-%D8%B1%D8%A7%D9%87-%D8%A7%D9%86%D8%AF%D8%A7%D8%B2-sim900.html
2.DC-DC LM2590 - Adjustable
InputVoltage : 1.23v ~ 30v 3A
http://eshop.eca.ir/%D9%85%D8%A7%DA%98%D9%88%D9%84-%D9%87%D8%A7%DB%8C-%D8%AA%D8%BA%D8%B0%DB%8C%D9%87-%D9%88%D9%84%D8%AA%D8%A7%DA%98/2154-%D9%85%D8%A7%DA%98%D9%88%D9%84-%D9%85%D8%A8%D8%AF%D9%84-dc-dc-lm2596-%D8%AE%D8%B1%D9%88%D8%AC%DB%8C-123v-30v-3a.html
3.Power Jack
4.TTL to USB module
5.Plastic Box
6.Adaptor 5V 1.5 ~ 2A
7. MA - Antenna
8.Some LEDs
9.A push button
10.USB-F socket
11.USB to USB Cable
12. Some pieces of wire
Step 1:
Desolder pin headers from sim900's module.
Step 2: Cut Out the Antenna Socket
Since we're not going to plug in the antenna directly, you can cut out the Antenna socket. And flatten it pins.
Or also you can desolder it, and solder the SMA to its pads. (not a good idea :/ )
There are 5 pads for this component on the board. The centered one is the antenna pin and all the others are just grounded.
Step 3: TTL Module
You need to desolder the USB-M socket and replace it with USB-F.
Step 4: Connect TTL to Sim900
4 wires are connected to the TTL module. According to its labels we have:
Red: 5V
White: RXD
Green: TXD
Black: GND
Since we must use 3.2~4.4v for sim900, DO NOT solder the Red Wire to it.
Connect the white wire to sim900s TXD by a 200ohm resister to sim900's RXD (which in my module its pin number 10, its also the chip's 10th pin, check your own modules datasheet) and the green one directly to TXD (pin number 9).
Also you need to connect the black wire to the modules GND.
Step 5: Power Source
Connect input voltage of power module to the adaptor's power jack. And also it's output to the modules.
VBAT or VCC -> +
GND -> -
Adjust the output voltage by spinning the potentiometer to 4.2v.
Make sure you have at least on high-capacity capacitor in your power circuit. Use one 1000uF for your modules out put. I had one on the board.
Do not connect TTL's Vcc or the red wire to any point of your circuit. Just leave that pin open.
You can use any adapter to power on the circuit.(5v-12v-20v) Just make sure it gives at last 1.5A .
Step 6: Put All in Box!
Put all the boards and modules in the box.
Step 7: Drills
Drill 3 holes for LEDs and 1 for the Push Button. And connect LEDs to the module.
Step 8: Finalize!
Use a simcard and put all in the box and connect the adaptor to the jack.
Use the usb cable, for connecting it to the Computer.
Be sure you're TTL module's driver is installed on the computer. Connecting it, computer will recognize it as a Com Port (like COM11).
Download the EASY900 software from:
http://blog.eca.ir/?p=675#comment-1195
From settings, chose a comport, set the boudrate on 9600, and click on connect.
Push the button on the box and hold it for a while (1s). Wait for the yellow LED to blink slower. If every things goes right, you'll get some texts on the terminal. You can use all other futures of the application, calling a number, sending sms, saving contacts, receiving sms and so on.
Help us improve the application by letting us know the bugs and your useful ideas :)
Sorry for grammatical and dictation mistakes :P
Hope it helps ;)
7 Comments
6 years ago
خيلي هم عالي
7 years ago
A paragraph at the top telling what a sim900 is and what a simcom and why I'd want one connected to my PC would be great! The link goes to a page in arabic so it did not help me.
Searching around it I see it's a quad band GSM card.
The "TTL to USB" module is a TTL UART to USB, right? Because the SIM900 only talks on a serial port and you want to connect to your PC. So I am guessing the sim900 does text messages no audio.
Thanks for doing an Instructable, your English seems fine to me.
Reply 7 years ago
Thanks a lot :)
For having audio calls the program i gave you by link wont help you, but you can connect microphone and speaker directly to the module it has a simple circuit, just a few compactors. You can also purchase a module that has microphone and speaker socket. It would work individualy from the program.
And also about the program, I tried to fully explain AT command youll need to know to communicate.
Here is the direct link to download the program:
http://blog.eca.ir/?download=702
Hope it helps :)
Reply 7 years ago
I'm not the author of this instructable but I have some experience with these type of cellular modules, so I think I can give you some pointers.
SIM900 is a 2G cellular module manufactured by a company named SIMCom. This particular module is capable of making voice calls over GSM, sending SMS, MMS and also accessing the Internet via GPRS and it even comes with its own TCP/IP stack.
The module can be interfaced via UART, SPI or I2C and can be controlled using simple AT commands, the documentation for the AT commands can be found here. As for the speaker and the microphone they are directly interfaced by the module itself, so you will have to connect them to the module. All the resources you will need to start working with the module can be found on this link.
By the way, Adafruit carries a SIM800H based board which comes with a headphone jack. So, if you get one of those you can simply connect a standard pair of phone headphones and use that to talk. They even have a step by step guide explaining how to hook it up to an Arduino and make phone calls, they have also developed a library.
Reply 7 years ago
Thank you sooo much my friend :)
7 years ago
Thanks for sharing.
Reply 7 years ago
Your welcome :)