【问题标题】:arduino uno GSM/GPRS/GPS Shield (B) waveshare AT commands not workingarduino uno GSM/GPRS/GPS Shield (B) waveshare AT 命令不起作用
【发布时间】:2016-12-15 12:20:17
【问题描述】:

我正在使用带有 gsm/gprs/gps 屏蔽 (b) 的 arduino uno

使用此链接http://www.waveshare.com/wiki/GSM/GPRS/GPS_Shield_(B)

当我加电时,屏蔽电源指示灯亮,网络指示灯闪烁。

但是当我发送 AT 命令时什么都不显示。

我的代码是:

#include <SoftwareSerial.h>

SoftwareSerial miserie(2,3); // RX, TX

void setup() {
    Serial.begin(9600);  
    miserie.begin(9600); 
}

void loop() {
    if( Serial.available()>0 ){
        miserie.write(Serial.read());
    }
    if( miserie.available()>0 ){
        Serial.write(miserie.read());
    }
}

盾牌是这样设置的 http://www.waveshare.com/wiki/File:GSM-GPRS-GPS-Shield-B-UserManual-17.jpg

你知道为什么或确切的问题是什么吗?

【问题讨论】:

    标签: arduino gsm


    【解决方案1】:

    我正在通过串行监视器发送 AT 命令。

    当我通过“miserie.print("AT")”之类的代码发送它时,串行监视器会显示答案。

    所以,我会继续努力。

    【讨论】:

      猜你喜欢
      • 2016-08-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-12-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多