使用Arduino GSM库打开IComSat GSM板

时间:2012-05-17 12:54:20

标签: arduino gsm gprs

我对连接到Arduino Uno的IComSat板进行编程。它有效,但Icomsat模块需要手动打开,我想用软件来做。

我使用GSM_GPRS_IDE100_v309.zip

我用:

digitalWrite(GSM_ON, HIGH);
delay(300); /* spec says 200 should suffice */
digitalWrite(GSM_ON, LOW);

应该有用。

1 个答案:

答案 0 :(得分:2)

您想要查看GSM.h文件。默认情况下,GSM_ON定义为引脚8,GSM_RESET定义在引脚9,但对于不同的IComSat:

#define GSM_ON       9 
#define GSM_RESET    8

您可以在原理图(http://www.komputer.de/wordpress/wp-content/uploads/2012/02/sch-icomsat-v1.1.pdf)页面2上看到:PERKEY和D9已连接,RESET和D8

相关问题