13
SBC/NSD/EC21 Series 3G Module Application Note Copyright 2000 – 2013 IC Nexus Corporation. All rights reserved

SBC/NSD/EC21 Series203.67.100.141/files/iMX6/WCDMA-3G_application_Note_V1.4.pdf · This section describes how to setup and enable 3G connections in software . 3.1 Android At the command

  • Upload
    others

  • View
    9

  • Download
    0

Embed Size (px)

Citation preview

Page 1: SBC/NSD/EC21 Series203.67.100.141/files/iMX6/WCDMA-3G_application_Note_V1.4.pdf · This section describes how to setup and enable 3G connections in software . 3.1 Android At the command

SBC/NSD/EC21 Series 3G Module

Application Note

Copyright 2000 – 2013 IC Nexus Corporation. All rights reserved

Page 2: SBC/NSD/EC21 Series203.67.100.141/files/iMX6/WCDMA-3G_application_Note_V1.4.pdf · This section describes how to setup and enable 3G connections in software . 3.1 Android At the command

Release Notes

Version Release Date

Notes

1.3 August 23rd ,2013 Second release to customer 1.4 October 21st ,2013 Correct some typo errors

Page 3: SBC/NSD/EC21 Series203.67.100.141/files/iMX6/WCDMA-3G_application_Note_V1.4.pdf · This section describes how to setup and enable 3G connections in software . 3.1 Android At the command

3G Module SBC21/NSD21/EC 21 Series

Page 3

Table of Contents 1. 3G MODULE PACKAGE ............................................................................................................ 4 2. AFFIXING THE 3G MODULE .................................................................................................... 5 3. SETTING UP 3G CONNECTIONS ............................................................................................ 9

3.1 ANDROID ........................................................................................................................................ 9 3.2 UBUNTU ....................................................................................................................................... 10

Page 4: SBC/NSD/EC21 Series203.67.100.141/files/iMX6/WCDMA-3G_application_Note_V1.4.pdf · This section describes how to setup and enable 3G connections in software . 3.1 Android At the command

3G Module SBC21/NSD21/EC 21 Series

Page 4

1. 3G Module Package The 3G module package should contain: 3G Module x1 M2.5 Screws x2 M2.5 Nuts x2

Page 5: SBC/NSD/EC21 Series203.67.100.141/files/iMX6/WCDMA-3G_application_Note_V1.4.pdf · This section describes how to setup and enable 3G connections in software . 3.1 Android At the command

3G Module SBC21/NSD21/EC 21 Series

Page 5

2. Affixing the 3G Module This section describes how to fix 3G module and SIM card onto the PCB. Follow the steps below to plug in the 3G module.

Caution

When handling the 3G module, be careful of ESD (electrostatic discharge) that can possibly harm the module or other components on the board. Before installation be sure to first ground yourself and your instrument by touching a wire that is connected to earth.

Place the module flat on the board. If placed correctly the label will face up. Also, the long string of pins will match with the long female connector slot and the short string of pins with the short female connector slot. Push the card firmly into the slot.

Page 6: SBC/NSD/EC21 Series203.67.100.141/files/iMX6/WCDMA-3G_application_Note_V1.4.pdf · This section describes how to setup and enable 3G connections in software . 3.1 Android At the command

3G Module SBC21/NSD21/EC 21 Series

Page 6

Place the screws through the board on the top, and then on the bottom side apply the nuts. Twist with your finger and then use a small wrench to securely affix the 3G module.

Top View

Bottom View

Page 7: SBC/NSD/EC21 Series203.67.100.141/files/iMX6/WCDMA-3G_application_Note_V1.4.pdf · This section describes how to setup and enable 3G connections in software . 3.1 Android At the command

3G Module SBC21/NSD21/EC 21 Series

Page 7

Remove the label and open the SIM card slot.

Insert the SIM card into the slot.

Page 8: SBC/NSD/EC21 Series203.67.100.141/files/iMX6/WCDMA-3G_application_Note_V1.4.pdf · This section describes how to setup and enable 3G connections in software . 3.1 Android At the command

3G Module SBC21/NSD21/EC 21 Series

Page 8

Close and lock the slot.

Page 9: SBC/NSD/EC21 Series203.67.100.141/files/iMX6/WCDMA-3G_application_Note_V1.4.pdf · This section describes how to setup and enable 3G connections in software . 3.1 Android At the command

3G Module SBC21/NSD21/EC 21 Series

Page 9

3. Setting Up 3G Connections This section describes how to setup and enable 3G connections in software

3.1 Android At the command prompt, type pppd call huawei & to enable the 3G

module

# pppd call huawei & [1] 3350 timeout set to 5 seconds abort on (NO CARRIER) abort on (ERROR) abort on (NO DIALTONE) abort on (BUSY) abort on (NO ANSWER) send (^MAT^M) expect (OK) AT^M^M OK -- got it send (^MATZ^M) expect (OK) ^M ATZ^M^M OK -- got it send (^MAT+CGDCONT=1,"IP","internet",,0,0^M) expect (OK) ^M AT+CGDCONT=1,"IP","internet",,0,0^M^M OK -- got it send (ATDT*99#^M) expect (CONNECT) ^M ATDT*99#^M^M CONNECT -- got it send (\d)

Use ifconfig to check networks status. (busybox ifconfig) “ppp0” is the 3G network connection.

Page 10: SBC/NSD/EC21 Series203.67.100.141/files/iMX6/WCDMA-3G_application_Note_V1.4.pdf · This section describes how to setup and enable 3G connections in software . 3.1 Android At the command

3G Module SBC21/NSD21/EC 21 Series

Page 10

# busybox ifconfig eth0 Link encap:Ethernet HWaddr 1E:ED:19:27:1A:B3 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) ppp0 Link encap:Point-to-Point Protocol inet addr:100.72.234.99 P-t-P:100.72.234.99 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:7 errors:0 dropped:0 overruns:0 frame:0 TX packets:7 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:260 (260.0 B) TX bytes:224 (224.0 B)

Test the 3G connection. Ping the Google DNS server 3 times ping -c 3 8.8.8.8

# ping -c 3 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=47 time=887 ms 64 bytes from 8.8.8.8: icmp_seq=2 ttl=47 time=698 ms 64 bytes from 8.8.8.8: icmp_seq=3 ttl=47 time=778 ms --- 8.8.8.8 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1999ms rtt min/avg/max/mdev = 698.546/788.241/887.827/77.596 ms

3.2 Ubuntu Once the system is setup and you are logged in, click the connection symbol and then select New Mobile Broadband (GSM) connection

Page 11: SBC/NSD/EC21 Series203.67.100.141/files/iMX6/WCDMA-3G_application_Note_V1.4.pdf · This section describes how to setup and enable 3G connections in software . 3.1 Android At the command

3G Module SBC21/NSD21/EC 21 Series

Page 11

Click “Continue” to set up a mobile broadband connection.

Select your provider’s country or region

Page 12: SBC/NSD/EC21 Series203.67.100.141/files/iMX6/WCDMA-3G_application_Note_V1.4.pdf · This section describes how to setup and enable 3G connections in software . 3.1 Android At the command

3G Module SBC21/NSD21/EC 21 Series

Page 12

Choose your 3G provider

Select your billing plan and APN (access point name)

Click “Apply” after confirming your mobile broadband settings

Page 13: SBC/NSD/EC21 Series203.67.100.141/files/iMX6/WCDMA-3G_application_Note_V1.4.pdf · This section describes how to setup and enable 3G connections in software . 3.1 Android At the command

3G Module SBC21/NSD21/EC 21 Series

Page 13

The card will now connect to the 3G provider’s APN and show the signal strength in the upper right hand corner.