简体   繁体   English

使用AT命令通过GSM模块中的UART传输音频和3G数据

[英]Audio and 3G data via UART in GSM module using AT commands

I have got a question. 我有一个问题。 I want to buy a GSM/GPS/3G module for minicomputer like Orange Pi Zero Plus 2, so it can't be something like Raspberry Pi GSM Hat . 我想为像Orange Pi Zero Plus 2这样的小型机购买GSM / GPS / 3G模块,所以它不能像Raspberry Pi GSM Hat那样 I have found really good module , but I am not sure about some things. 我发现了非常好的模块 ,但我不确定某些事情。 Maybe you can help me. 也许你可以帮助我。

First. 第一。 Internet connection. 网络连接。 SIM5320 is 3G module, so maximum speed of Internet connection will be 3.6Mb. SIM5320是3G模块,因此最大互联网连接速度为3.6Mb。 As you can see in the picture below this module has got only UART interface. 如下图所示,该模块只有UART接口。 Will I be able to use the maximum 3G speed via the UART interface? 我能通过UART接口使用最高3G速度吗?

Second. 第二。 Audio. 音频。 This module doesn't have audio input or output. 该模块没有音频输入或输出。 So can I send and receive audio using UART interface and AT commands? 那么我可以使用UART接口和AT命令发送和接收音频吗?

Thank you in advance for your help. 预先感谢您的帮助。

在此输入图像描述

If you look datasheet of the SIM5320 module it says the following about the UART interface: 如果您查看SIM5320模块的数据表,请说明以下有关UART接口的信息:

在此输入图像描述

So it is probably not the bottle neck, if terminal can use the highest bit rates. 所以它可能不是瓶颈,如果终端可以使用最高比特率。

Such modems usually have separate audio-output and mic-input pins. 这种调制解调器通常具有单独的音频输出和麦克风输入引脚。 That can be used for audio phone calls with ATD and ATA AT-command. 这可以用于ATD和ATA AT命令的音频电话。 SIM5320 seems to have such pins, but the board seems to not have such connector. SIM5320似乎有这样的引脚,但电路板似乎没有这样的连接器。

UART can be used for Internet access for uploading/downloading binary audio stream over IP. UART可用于Internet访问,以通过IP上载/下载二进制音频流。 But that would require quite much software for terminal. 但这需要相当多的终端软件。

I have some experience using 3g modules. 我有一些使用3g模块的经验。 I have always managed to recieve good speeds through the UART interface. 我一直设法通过UART接口获得良好的速度。

As for audio, you can definitely start calls through AT commands, but I don't think you can stream audio over UART. 至于音频,您绝对可以通过AT命令启动呼叫,但我认为您不能通过UART传输音频。

Maybe consider something like this ? 也许考虑像这样

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM