SlideShare a Scribd company logo
3G module tutorial




                                                   Linux
       Plug in the device, and execute dmesg in console. With this we can see if we have
the drivers of the device installed or not.

     $:/etc$ dmesg
     generic-usb 0003:05C6:F006.0003: hiddev96,hidraw2: USB HID v1.10 Device
     [SimTech, Incorporated SimTech SIM5218] on usb-0000:00:1d.1-1/input0


         Not recognize the device, we install the necessary drivers.

         Execute lsusb, this command show a list of devices connected to USB port:

         $:/etc$ lsusb
               Bus 005   Device      001:   ID   1d6b:0001   Linux Foundation 1.1 root hub
               Bus 004   Device      001:   ID   1d6b:0001   Linux Foundation 1.1 root hub
               Bus 003   Device      008:   ID   05c6:f006   Qualcomm, Inc.
               Bus 003   Device      001:   ID   1d6b:0001   Linux Foundation 1.1 root hub
               Bus 002   Device      002:   ID   0e6a:6001   Megawin Technology Co., Ltd
               Bus 002   Device      001:   ID   1d6b:0001   Linux Foundation 1.1 root hub
               Bus 001   Device      001:   ID   1d6b:0002   Linux Foundation 2.0 root hub




         In this list, we can see:
                the vendor: 0x05c6
                the product: 0xf006

       With this parameters we will configure the file modules in path /etc/. For
configuring we have to execute:
         $:sudo gedit /etc/modules



     #   /etc/modules: kernel modules to load at boot time.
     #
     #   This file contains the names of kernel modules that should be loaded
     #   at boot time, one per line. Lines beginning with "#" are ignored.
     #   Parameters can be specified after the module name.

     lp

     usbserial vendor=0x05c6 product=0xf006




                                                     - 1-
3G module tutorial



       Execute dmesg:

[   2210.084352]   generic ttyUSB0: generic converter now disconnected from ttyUSB0
[   2210.084373]   usbserial_generic 1-3:1.0: device disconnected
[   2215.008545]   usb 1-3: new high speed USB device using ehci_hcd and address 5
[   2215.142637]   usb 1-3: configuration #1 chosen from 1 choice
[   2215.145180]   usbserial_generic 1-3:1.0: generic converter detected
[   2215.145280]   usb 1-3: generic converter now attached to ttyUSB0
[   2215.145361]   usbserial_generic 1-3:1.1: generic converter detected
[   2215.145436]   usb 1-3: generic converter now attached to ttyUSB1
[   2215.145515]   usbserial_generic 1-3:1.2: generic converter detected
[   2215.145591]   usb 1-3: generic converter now attached to ttyUSB2
[   2215.145678]   usbserial_generic 1-3:1.3: generic converter detected
[   2215.145758]   usb 1-3: generic converter now attached to ttyUSB3
[   2215.145853]   usbserial_generic 1-3:1.4: generic converter detected
[   2215.145933]   usb 1-3: generic converter now attached to ttyUSB4


       We can communicate with the device using AT commands, for this we use Cutecom
for example:




                                          - 2-
3G module tutorial



       Now the computer recognize the module SIM5218. We can use this module in
different ways.

       For use as a modem, we must follow these steps:

   •   Installing Wvdial in our Linux distribution, if not installed:
       sudo apt-get install wvdial

   •   Configuring WvDial:

       1. Once you have run wvdialconf, you need to edit the /etc/wvdial.conf file to
          reflect the phone number to dial, and your username and password.
       2. Open up /etc/wvdial.conf in your favorite text editor. It should look something like
          this:

                           [Dialer]
                           Modem = /dev/ttyUSB2
                           Modem Type = Analog Modem
                           Baud = 115200
                           ISDN = 0
                           Stupid mode = 1
                           Idle Seconds = 0
                           Init2 = ATZ
                           Init4 = AT+CGDCONT=1,"IP","my_APN"
                           Password = "my_password"
                           Phone = number of telephone
                           Username = "my_username"
                           Dial Command = ATD


       3. Save your changes and exit out of the text editor.




                                                - 3-
3G module tutorial



  •   Run wvdial


$:/etc$ wvdial /etc/wvdial.conf
--> WvDial: Internet dialer version 1.60
--> Warning: section [Dialer /etc/wvdial.conf] does not exist in wvdial.conf.
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: AT+CGDCONT=1,"IP","internet"
AT+CGDCONT=1,"IP","internet"
OK
--> Modem initialized.
--> Sending: ATD*99***1#
--> Waiting for carrier.
ATD*99***1#
CONNECT 115200




                                     - 4-
3G module tutorial




                                     Windows XP


      Plug in SIM5218 to the computer. First step is install the drivers to use the device.

Drivers can be download to: http://www.cooking-
hacks.com/skin/frontend/default/cooking/pdf/WindowsDrivers_SIM5218_2.4.00.rar




       As seen in “other devices” there are five that are not assigned any driver, and
therefore can not be detected by the operating system.




                                            - 5-
3G module tutorial




      To install drivers for each device, we must select it by double click. And press the
Update Driver button.




      Select install from a list or specific location.




                                               - 6-
3G module tutorial




      In pop-up window select the directory where the drivers previously downloaded,




                                          - 7-
3G module tutorial




      Now, drivers are installed. The device is recognize.




      Once the device is connected and recognized by the operating system. We can use
it.




                                           - 8-
3G module tutorial




      To communicate with the module has been decided to use the Hyperterminal
program to Windows XP. This program will allow us to communicate with the module
through AT commands or use it as modem.

      Run Hyper-terminal, and create new connection.

     For use the module with AT commands, First, we must find what is the port to
connect to send AT commands.




                                         - 9-
3G module tutorial




     The next step, is to configure the device. In the follow images can see how it is:




                                           - 10-
3G module tutorial




      In case you want to configure the module as a modem SIM5218E should create a
new connection and choose the port, SimTech HS-USB Modem 9000.




                                        - 11-
3G module tutorial




                                      Windows 7


     Plug in SIM5218 to the computer. Check drivers are installed, if they is not installed,
you must do it.

        Computer Management can find that devices are recognized and which need a
driver. In this case one can see that there are five devices that have no driver.




       Before installing the drivers for the SIM module, we must check what version of
operating system we have. Depending on the version of operating system we use the
device drivers 32 or 64 bits.




                                           - 12-
3G module tutorial




      Now, we install drivers, We select for this option in the sub menu the Update Driver
Software. We repeat this process for the five missing drivers.




We look for the drivers we downloaded, and select it.




                                           - 13-
3G module tutorial




      Pressed the button accept. Drivers are installed.




      To communicate with the module SIM5218 through AT commands, we will need the
Hyper-terminal program. This program can be found at the following address:



      Once installed Hyper-terminal, create a new connection.




                                           - 14-
3G module tutorial




      Configure the connection as it appears in the figure 7. The port you have to choose
to communicate with the module through AT commands, so get looking at the system
administrator. This time the port for communications with AT commands is port COM6.




                                          - 15-
3G module tutorial




                             TUTORIAL Mac OS X


    First, download a virtual machine, VirtualBox in this case




                                          - 16-
3G module tutorial




      Install the Virtual Machine




                                    - 17-
3G module tutorial




      Select the virtual machine application.




                                           - 18-
3G module tutorial




      Install windows in the virtual machine




                                           - 19-
3G module tutorial




      Run windows into the virtual machine




                                         - 20-
3G module tutorial




      Click on the usb icon into the virtual machine screen, and select SimTech...




                                           - 21-
3G module tutorial




      And then, follow windows tutorial




                                          - 22-

More Related Content

PDF
825s72 a
PDF
i.MX 6UL/6ULL Development FAQs
PDF
925s73
PDF
P21gv31
PDF
MANUAL-BIOS 1
TXT
Mod sa change_log
PDF
Precision 3630-workstation data-sheet_ntm_jsc
PDF
User manual for linux
825s72 a
i.MX 6UL/6ULL Development FAQs
925s73
P21gv31
MANUAL-BIOS 1
Mod sa change_log
Precision 3630-workstation data-sheet_ntm_jsc
User manual for linux

What's hot (18)

PDF
Computer Hardware & Software Lab Manual 2
PDF
Manual E
PDF
Bm 170-android-2.1 r2e
TXT
Readme[1]
PDF
Optiplex 380 service manual2-en-us
PDF
Hp envy 13 2021 Laptops Trần Phát
PDF
Expanding The Micro Blaze System
PDF
P4 m8p m7c-0227c_b
PDF
PDF
Programming atmega using boot loader
DOCX
Plan de sesion_integrado_18_febrero_2011 -eng-
PPT
Bios and cmos
PDF
P25 gv30
PDF
P55 g 10
PPT
1---ث1
PPTX
LAPTOP REPAIR TRAINING COURSE DETAIL
PDF
PDF
75959914 vcads-user-manual-volvo
Computer Hardware & Software Lab Manual 2
Manual E
Bm 170-android-2.1 r2e
Readme[1]
Optiplex 380 service manual2-en-us
Hp envy 13 2021 Laptops Trần Phát
Expanding The Micro Blaze System
P4 m8p m7c-0227c_b
Programming atmega using boot loader
Plan de sesion_integrado_18_febrero_2011 -eng-
Bios and cmos
P25 gv30
P55 g 10
1---ث1
LAPTOP REPAIR TRAINING COURSE DETAIL
75959914 vcads-user-manual-volvo
Ad

Similar to 3 g modem_tutorial (20)

PPTX
Asterisk: dongled !
PPTX
Asterisk: dongled !
PDF
Cellular technology with Embedded Linux - COSCUP 2016
PDF
Esp8266 wi fi_module_quick_start_guide_v_1.0.4
PDF
Most usefull at commands
PDF
New zig bee datasheet
PDF
Dfm 562e manual
PDF
Bluetooth quick start_guide / Controlanything India
PDF
PN985-MG3500-SDK-Guide
DOC
Interface gsm module with pic
PDF
CommSEC - InterLINK products line (EN)
PDF
Pilot Raspeberry pi 3g user manual
PDF
Eb051 30-1
PDF
Porting Android
PDF
Pc mgr ugd(eng)
PDF
User manual adu 555 c
PDF
Android Bluetooth Introduction
PDF
SBC6020 SAM9G20 based Single Board Computer
PDF
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
Asterisk: dongled !
Asterisk: dongled !
Cellular technology with Embedded Linux - COSCUP 2016
Esp8266 wi fi_module_quick_start_guide_v_1.0.4
Most usefull at commands
New zig bee datasheet
Dfm 562e manual
Bluetooth quick start_guide / Controlanything India
PN985-MG3500-SDK-Guide
Interface gsm module with pic
CommSEC - InterLINK products line (EN)
Pilot Raspeberry pi 3g user manual
Eb051 30-1
Porting Android
Pc mgr ugd(eng)
User manual adu 555 c
Android Bluetooth Introduction
SBC6020 SAM9G20 based Single Board Computer
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
Ad

Recently uploaded (20)

PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPT
Teaching material agriculture food technology
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Spectroscopy.pptx food analysis technology
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Encapsulation theory and applications.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Digital-Transformation-Roadmap-for-Companies.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Teaching material agriculture food technology
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
20250228 LYD VKU AI Blended-Learning.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Spectroscopy.pptx food analysis technology
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
MYSQL Presentation for SQL database connectivity
Encapsulation theory and applications.pdf
MIND Revenue Release Quarter 2 2025 Press Release
Mobile App Security Testing_ A Comprehensive Guide.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
The AUB Centre for AI in Media Proposal.docx
Network Security Unit 5.pdf for BCA BBA.
Programs and apps: productivity, graphics, security and other tools
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
NewMind AI Weekly Chronicles - August'25 Week I
Reach Out and Touch Someone: Haptics and Empathic Computing
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows

3 g modem_tutorial

  • 1. 3G module tutorial Linux Plug in the device, and execute dmesg in console. With this we can see if we have the drivers of the device installed or not. $:/etc$ dmesg generic-usb 0003:05C6:F006.0003: hiddev96,hidraw2: USB HID v1.10 Device [SimTech, Incorporated SimTech SIM5218] on usb-0000:00:1d.1-1/input0 Not recognize the device, we install the necessary drivers. Execute lsusb, this command show a list of devices connected to USB port: $:/etc$ lsusb Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 008: ID 05c6:f006 Qualcomm, Inc. Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 002: ID 0e6a:6001 Megawin Technology Co., Ltd Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub In this list, we can see: the vendor: 0x05c6 the product: 0xf006 With this parameters we will configure the file modules in path /etc/. For configuring we have to execute: $:sudo gedit /etc/modules # /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored. # Parameters can be specified after the module name. lp usbserial vendor=0x05c6 product=0xf006 - 1-
  • 2. 3G module tutorial Execute dmesg: [ 2210.084352] generic ttyUSB0: generic converter now disconnected from ttyUSB0 [ 2210.084373] usbserial_generic 1-3:1.0: device disconnected [ 2215.008545] usb 1-3: new high speed USB device using ehci_hcd and address 5 [ 2215.142637] usb 1-3: configuration #1 chosen from 1 choice [ 2215.145180] usbserial_generic 1-3:1.0: generic converter detected [ 2215.145280] usb 1-3: generic converter now attached to ttyUSB0 [ 2215.145361] usbserial_generic 1-3:1.1: generic converter detected [ 2215.145436] usb 1-3: generic converter now attached to ttyUSB1 [ 2215.145515] usbserial_generic 1-3:1.2: generic converter detected [ 2215.145591] usb 1-3: generic converter now attached to ttyUSB2 [ 2215.145678] usbserial_generic 1-3:1.3: generic converter detected [ 2215.145758] usb 1-3: generic converter now attached to ttyUSB3 [ 2215.145853] usbserial_generic 1-3:1.4: generic converter detected [ 2215.145933] usb 1-3: generic converter now attached to ttyUSB4 We can communicate with the device using AT commands, for this we use Cutecom for example: - 2-
  • 3. 3G module tutorial Now the computer recognize the module SIM5218. We can use this module in different ways. For use as a modem, we must follow these steps: • Installing Wvdial in our Linux distribution, if not installed: sudo apt-get install wvdial • Configuring WvDial: 1. Once you have run wvdialconf, you need to edit the /etc/wvdial.conf file to reflect the phone number to dial, and your username and password. 2. Open up /etc/wvdial.conf in your favorite text editor. It should look something like this: [Dialer] Modem = /dev/ttyUSB2 Modem Type = Analog Modem Baud = 115200 ISDN = 0 Stupid mode = 1 Idle Seconds = 0 Init2 = ATZ Init4 = AT+CGDCONT=1,"IP","my_APN" Password = "my_password" Phone = number of telephone Username = "my_username" Dial Command = ATD 3. Save your changes and exit out of the text editor. - 3-
  • 4. 3G module tutorial • Run wvdial $:/etc$ wvdial /etc/wvdial.conf --> WvDial: Internet dialer version 1.60 --> Warning: section [Dialer /etc/wvdial.conf] does not exist in wvdial.conf. --> Cannot get information for serial port. --> Initializing modem. --> Sending: ATZ ATZ OK --> Sending: ATZ ATZ OK --> Sending: AT+CGDCONT=1,"IP","internet" AT+CGDCONT=1,"IP","internet" OK --> Modem initialized. --> Sending: ATD*99***1# --> Waiting for carrier. ATD*99***1# CONNECT 115200 - 4-
  • 5. 3G module tutorial Windows XP Plug in SIM5218 to the computer. First step is install the drivers to use the device. Drivers can be download to: http://www.cooking- hacks.com/skin/frontend/default/cooking/pdf/WindowsDrivers_SIM5218_2.4.00.rar As seen in “other devices” there are five that are not assigned any driver, and therefore can not be detected by the operating system. - 5-
  • 6. 3G module tutorial To install drivers for each device, we must select it by double click. And press the Update Driver button. Select install from a list or specific location. - 6-
  • 7. 3G module tutorial In pop-up window select the directory where the drivers previously downloaded, - 7-
  • 8. 3G module tutorial Now, drivers are installed. The device is recognize. Once the device is connected and recognized by the operating system. We can use it. - 8-
  • 9. 3G module tutorial To communicate with the module has been decided to use the Hyperterminal program to Windows XP. This program will allow us to communicate with the module through AT commands or use it as modem. Run Hyper-terminal, and create new connection. For use the module with AT commands, First, we must find what is the port to connect to send AT commands. - 9-
  • 10. 3G module tutorial The next step, is to configure the device. In the follow images can see how it is: - 10-
  • 11. 3G module tutorial In case you want to configure the module as a modem SIM5218E should create a new connection and choose the port, SimTech HS-USB Modem 9000. - 11-
  • 12. 3G module tutorial Windows 7 Plug in SIM5218 to the computer. Check drivers are installed, if they is not installed, you must do it. Computer Management can find that devices are recognized and which need a driver. In this case one can see that there are five devices that have no driver. Before installing the drivers for the SIM module, we must check what version of operating system we have. Depending on the version of operating system we use the device drivers 32 or 64 bits. - 12-
  • 13. 3G module tutorial Now, we install drivers, We select for this option in the sub menu the Update Driver Software. We repeat this process for the five missing drivers. We look for the drivers we downloaded, and select it. - 13-
  • 14. 3G module tutorial Pressed the button accept. Drivers are installed. To communicate with the module SIM5218 through AT commands, we will need the Hyper-terminal program. This program can be found at the following address: Once installed Hyper-terminal, create a new connection. - 14-
  • 15. 3G module tutorial Configure the connection as it appears in the figure 7. The port you have to choose to communicate with the module through AT commands, so get looking at the system administrator. This time the port for communications with AT commands is port COM6. - 15-
  • 16. 3G module tutorial TUTORIAL Mac OS X First, download a virtual machine, VirtualBox in this case - 16-
  • 17. 3G module tutorial Install the Virtual Machine - 17-
  • 18. 3G module tutorial Select the virtual machine application. - 18-
  • 19. 3G module tutorial Install windows in the virtual machine - 19-
  • 20. 3G module tutorial Run windows into the virtual machine - 20-
  • 21. 3G module tutorial Click on the usb icon into the virtual machine screen, and select SimTech... - 21-
  • 22. 3G module tutorial And then, follow windows tutorial - 22-