2019年5月11日 星期六

LoRa GL6509 Arduino + Arduino

講師:Marty Chao
marty@browan.com


講義:http://tinyurl.com/tongtui

Arduino Example Code
  • github
  • Download directly


AT command Set
  • AT&H   目前支援的指令集
  • AT+SGMR?  看韌體版號
  • ATZ 重開模組
  • AT+DTTX 發送測試
  • at+dtx=9,"hellolora" 發送資料
    • mqtt return HEX ASCII code
    • AT+DTX=22, 0123456789abcdef012345 發送16進位HEX
  • AT+CSID? Query System ID
  • AT+CPIN? Query PIN code
  • AT+CSQ? Signal strength indication
  • AT+SGMD? MAC and serial number of LMU
  • AT+ECHO=1 enable or disable UART echo respond

Server Side

LAB2

  • Install mqtt client

$pip install paho-mqtt
  • Test dummy py is ok or not
$python Lab00_MQTT_dummy_test.py




LAB3
https://github.com/giot-tw/ServerPython/blob/master/Lab03_VariableResistor_sub.py
https://github.com/giot-tw/Arduino/tree/master/Lab03_giot_VariableResistor







沒有留言:

張貼留言