3G/UMTS USB modem

26 Oct 2010

Hi, for the usb programming experts it would be realy nice for mbed to comunicate with a 3g usb dongle.

For example a popular usb 3g is huawei e220 that can be used in routers with usb port to give 3G/UMTS acess. (I have a fonera 2 n).

Is the configuration for the usb communication easy? So that mbed could send AT commands to the dongle

 

Best regards

 

26 Oct 2010

What a great idea, anyone done this before?

26 Oct 2010

You would need to implement a CDC/ACM USB device class driver. Doable but not trivial.

26 Oct 2010

Well, I have seen those modems before, and some of them actually has a USB to UART IC in there..
So the easy way would be to cut it open, look for the chip, and solder some connections on there, so you don't have to use a lot of time to create the software.

I'm not sure about the Huawei modem, but most GPRS/GSM modems use USB/UART converters.

 

Lerche

28 Oct 2010

I'm using a RS232 modem to do SMS communications from my mBed.

Unfortunately USB is now taking over so its imperative that a proper USB stack is implemented to be able to control things like this. I look forward to the arrival of this functionality but I somehow think we will see it commercially before anyone release it for free.

28 Oct 2010

Well, I've seen loads of commercial USB stacks. But the costs are great. Very great!

Lerche

28 Oct 2010

You might want to do  search

nxp, usb, cdc and you will find a lot of information on USB CDC stacks

for NXP processors eg: http://knowledgebase.nxp.com/showthread.php?t=286

 

08 Nov 2010

What about this library?

http://mbed.org/users/donatien/programs/UMTSStickNetIf/

http://mbed.org/cookbook/Networking-Stack-Releases

 

09 Nov 2010 . Edited: 09 Nov 2010

I was just looking at doing the same thing using my verizon pantech usb modem...  I started here.. http://finch.am/projects/arduinogsm/

 

In windows, I see the device has three comm ports..

PANTECH UMW190 Connection Port(COM8)

PANTECH UMW190 Diagnostic Port(COM6)

PANTECH UMW190 NMEA Port(COM7)

 

I've connected to the Connection Port using a terminal program at 57600baud and get an OK response with an AT command... But I cannot seem to actually get it to respond to anything but ERROR with any AT commands I issue (such as AT+CSQ)...  Still looking into that..

 

 

EDIT:

Ok, so I didn't notice windows stuck a modem device on com5...  So I was able to issue AT commands via that com port... Not sure how that translates to the MBED yet, but I am guessing there's going to be some interesting problems... I used portmon for windows to do some sniffing on how the verizon access manager talks to the modem but was unable to pull any intelligible information from it...  =/