1.OneNET之简单露脸上电
时间:10-02
整理:3721RD
点击:
感谢论坛大大的慷慨厚爱!这次申请到了中移动的物联网开发板,由于本人从事这方面工作,虽然是做硬件的,但是软件咋也得学习学习哈。
这个板子初始看颜值还一般,但拿到手之后仔细一看,布局挺好的,整齐漂亮,可见设计者功底厚重!
尤其是板子带有GSM和wifi模块,这是我的最爱。
其次是STM32F103RET6 的mcu。
最重要的是可以使用中移动的OneNET云平台。
好了上照片看看板子吧:
上电后,各种色彩的LED闪开了,开始一脸懵逼的不知道哪个LED是干啥的,后来一看原理图就一目了然了。
连接电脑,串口自动识别:
串口助手消息如下:
切换到GPRS联网模式看看:
板子自动识别接入联网模块,这里SIM卡位MICRO-sim,而我的卡却是nano-SIM还得找个卡套啊
好了,上电结束,后面我将采用HAL库进行板载外设的编程,以及后面联如云平台代码的植入。
这个板子初始看颜值还一般,但拿到手之后仔细一看,布局挺好的,整齐漂亮,可见设计者功底厚重!
尤其是板子带有GSM和wifi模块,这是我的最爱。
其次是STM32F103RET6 的mcu。
最重要的是可以使用中移动的OneNET云平台。
好了上照片看看板子吧:
上电后,各种色彩的LED闪开了,开始一脸懵逼的不知道哪个LED是干啥的,后来一看原理图就一目了然了。
连接电脑,串口自动识别:
串口助手消息如下:
- [18:30:52.582] SHT20 :Ok
- [18:30:52.582] ADXL345 :Ok
- [18:30:52.582] EEPROM :Ok
- [18:30:52.582] WaitAck TimeOut
- [18:30:52.586] OLED :Error
- [18:30:52.586] 2.SSID: ONENET, PSWD: IOT@Chinamobile
- [18:30:52.624] DEVID: ******, APIKEY: ****************************
- [18:30:52.624] 3.Hardware init OK
- [18:30:52.624] 4.OSStart
- [18:30:52.635] Tips: NET_Device_Reset
- [18:30:54.518] Wifi Mode
- [18:30:55.810] STA Tips: AT+CWMODE=1
- [18:30:58.167] STA Tips: AT+CIPMODE=0
- [18:30:58.221] STA Tips: AT+CWJAP="ONENET","IOT@Chinamobile"
- [18:30:58.271] WARN: AT+CWJAP Err
- [18:31:13.873] Wifi info Error,Use USART1 -> 8266
- [18:31:13.876] STA Tips: AT+CWJAP="ONENET","IOT@Chinamobile"
- [18:31:13.906] WARN: AT+CWJAP Err
- [18:31:29.470] Wifi info Error,Use USART1 -> 8266
- [18:31:29.470] STA Tips: AT+CWJAP="ONENET","IOT@Chinamobile"
- [18:31:29.500] WARN: AT+CWJAP Err
- [18:31:45.061] Wifi info Error,Use USART1 -> 8266
- [18:31:45.064] STA Tips: AT+CWJAP="ONENET","IOT@Chinamobile"
- [18:31:45.094] Tips: Timer Check Err
- [18:31:52.807]
- [18:31:53.832] *******************HardFault_Handler*******************
- [18:31:53.832] SHT20 :Ok
- [18:31:56.030] ADXL345 :Ok
- [18:31:56.030] EEPROM :Ok
- [18:31:56.030] WaitAck TimeOut
- [18:31:56.033] OLED :Error
- [18:31:56.033] WARN: IWDG Reboot
- [18:31:56.067] 3.Hardware init OK
- [18:31:56.067] 4.OSStart
- [18:31:56.080] WARN: Fault Process
- [18:31:56.080] WARN: FAULT_REBOOT
- [18:31:56.080] Tips: NET_Device_Reset
- [18:31:56.095] Wifi Mode
- [18:31:57.388] STA Tips: AT+CWMODE=1
- [18:31:59.735] STA Tips: AT+CIPMODE=0
- [18:31:59.781] STA Tips: AT+CWJAP="ONENET","IOT@Chinamobile"
- [18:31:59.829] WARN: AT+CWJAP Err
- [18:32:15.383] Wifi info Error,Use USART1 -> 8266
- [18:32:15.383] STA Tips: AT+CWJAP="ONENET","IOT@Chinamobile"
- [18:32:15.413]
切换到GPRS联网模式看看:
- [18:40:36.713] SHT20 :Ok
- [18:40:36.713] ADXL345 :Ok
- [18:40:36.713] EEPROM :Ok
- [18:40:36.713] WaitAck TimeOut
- [18:40:36.718] OLED :Error
- [18:40:36.718] 2.SSID: ONENET, PSWD: IOT@Chinamobile
- [18:40:36.752] DEVID: ******, APIKEY: ******************************
- [18:40:36.755] 3.Hardware init OK
- [18:40:36.755] 4.OSStart
- [18:40:36.767] Tips: NET_Device_Reset
- [18:40:38.668] Gprs Mode
- [18:40:42.063]
- [18:40:42.472] **************************
- [18:40:42.472] 2016 10:16:34
- [18:40:42.481]
- [18:40:42.481] OK
- [18:40:42.481] 161130_EXTERNALSIM_HS8292U_V33
- [18:40:42.481]
- [18:40:42.481] Platform Version: MOCOR_12C.W13.36_Release
- [18:40:42.493] Project Version: SC6500_modem
- [18:40:42.493] BASE Version: BASE_SVN
- [18:40:42.493] HW Version: SC6500_modem
- [18:40:42.493] 12-07-
- [18:40:42.493] **************************
- [18:40:42.496] STA Tips: AT+SSYS?
- [18:40:42.518] STA Tips: AT+SIM1
- [18:40:42.553] STA Tips: AT+CPIN?
- [18:40:42.599] STA Tips: AT+CPIN?
- [18:40:44.710] STA Tips: AT+CPIN?
- [18:40:46.832] STA Tips: AT+CPIN?
- [18:40:48.943] STA Tips: AT+CPIN?
- [18:40:51.054] STA Tips: AT+CPIN?
- [18:40:53.175] STA Tips: AT+CPIN?
- [18:40:55.286] STA Tips: AT+CPIN?
- [18:40:57.397] STA Tips: AT+CPIN?
- [18:40:59.519] STA Tips: AT+CPIN?
- [18:41:01.630] STA Tips: AT+CPIN?
- [18:41:03.741] STA Tips: AT+CPIN?
- [18:41:05.862] STA Tips: AT+CPIN?
- [18:41:07.974] STA Tips: AT+CPIN?
- [18:41:10.085] STA Tips: AT+CPIN?
- [18:41:12.206] STA Tips: AT+CPIN?
- [18:41:14.317] STA Tips: AT+CPIN?
- [18:41:16.428] STA Tips: AT+CPIN?
- [18:41:18.550] STA Tips: AT+CPIN?
- [18:41:20.661] STA Tips: AT+CPIN?
- [18:41:22.772] STA Tips: AT+CPIN?
- [18:41:24.893] STA Tips: AT+CPIN?
- [18:41:27.004] STA Tips: AT+CPIN?
- [18:41:29.116] STA Tips: AT+CPIN?
- [18:41:31.237] STA Tips: AT+CPIN?
- [18:41:33.348] STA Tips: AT+CPIN?
- [18:41:35.459]
板子自动识别接入联网模块,这里SIM卡位MICRO-sim,而我的卡却是nano-SIM还得找个卡套啊
好了,上电结束,后面我将采用HAL库进行板载外设的编程,以及后面联如云平台代码的植入。