d3f4f310ad62d136820fa4fe2b698fcc45aed4e6
Board/NGS/NGS1128-DAT/27-07-17-14-03-2023.png
| ... | ... | Binary files /dev/null and b/Board/NGS/NGS1128-DAT/27-07-17-14-03-2023.png differ |
Board/NGS/NGS1128-DAT/NGS1128-DAT.md
| ... | ... | @@ -11,7 +11,20 @@ |
| 11 | 11 |  |
| 12 | 12 | |
| 13 | 13 | |
| 14 | +## Use as a Modem and COM PORT |
|
| 15 | + |
|
| 16 | + |
|
| 17 | + |
|
| 14 | 18 | |
| 15 | -- [[NGS1128]] |
|
| 16 | 19 | |
| 20 | +## Demos |
|
| 21 | +- Test with ESP32: https://twitter.com/electro_phoenix/status/1635565366595428352 |
|
| 22 | + |
|
| 23 | +## ref |
|
| 24 | + |
|
| 25 | +- Driver: [[git]] simcom_driver |
|
| 26 | +- chip documentation: [[git]] SIMCOM_SIM70X0 |
|
| 27 | +- [[MQTT]] |
|
| 28 | +- [[NGS1128]] |
|
| 29 | +- [[SIMCOM-AT]] |
|
| 17 | 30 |
SDK/Arduino-IDE-DAT/lib/mqtt.md
| ... | ... | @@ -1,56 +0,0 @@ |
| 1 | - |
|
| 2 | - |
|
| 3 | -## arduino library |
|
| 4 | - |
|
| 5 | -- async-mqtt-client-master |
|
| 6 | - |
|
| 7 | -- PubSubClient |
|
| 8 | - - https://github.com/knolleary/pubsubclient |
|
| 9 | - - examples/mqtt_esp8266.ino |
|
| 10 | - |
|
| 11 | -- radiolib |
|
| 12 | - |
|
| 13 | - |
|
| 14 | -## MQTT broker on ubuntu |
|
| 15 | - |
|
| 16 | -sudo apt install -y mosquitto |
|
| 17 | - |
|
| 18 | -sudo systemctl status mosquitto |
|
| 19 | - |
|
| 20 | - |
|
| 21 | -- Stop the mosquitto service: |
|
| 22 | - - $ sudo systemctl stop mosquitto |
|
| 23 | -- Start the mosquitto service: |
|
| 24 | - - $ sudo systemctl start mosquitto |
|
| 25 | -- Restart the mosquitto service: |
|
| 26 | - - $ sudo systemctl restart mosquitto |
|
| 27 | - |
|
| 28 | -### Log file |
|
| 29 | -* cat /var/log/mosquitto/mosquitto.log |
|
| 30 | - |
|
| 31 | -## Conf Setup list |
|
| 32 | -allow_anonymous false // not allow anonymous |
|
| 33 | -password_file /etc/mosquitto/passwd // set password |
|
| 34 | - |
|
| 35 | -listener 1883 // set port 1883 public, or listener 1883 localhost for localhost only |
|
| 36 | - |
|
| 37 | -listener 1884 // set 1884 for wss |
|
| 38 | -protocol websockets |
|
| 39 | - |
|
| 40 | - |
|
| 41 | - |
|
| 42 | - |
|
| 43 | -## MQTT client |
|
| 44 | - |
|
| 45 | -sudo apt install -y mosquitto-clients |
|
| 46 | - |
|
| 47 | -sub: |
|
| 48 | -mosquitto_sub -t "test" |
|
| 49 | - |
|
| 50 | -pub: |
|
| 51 | -mosquitto_pub -m "ON" -t "test" |
|
| 52 | - |
|
| 53 | -A number of my IoT students make use of (the FREE plan with) BeeBotte for their remote MQTT broker. |
|
| 54 | - |
|
| 55 | -https://beebotte.com/ |
|
| 56 | -It's very easy to set up and works really well with Nod-RED. |
|
| ... | ... | \ No newline at end of file |
Tech/mqtt.md
| ... | ... | @@ -0,0 +1,62 @@ |
| 1 | + |
|
| 2 | + |
|
| 3 | + |
|
| 4 | +## arduino library |
|
| 5 | + |
|
| 6 | +- async-mqtt-client-master |
|
| 7 | + |
|
| 8 | +- PubSubClient |
|
| 9 | + - https://github.com/knolleary/pubsubclient |
|
| 10 | + - examples/mqtt_esp8266.ino |
|
| 11 | + |
|
| 12 | +- radiolib |
|
| 13 | + |
|
| 14 | + |
|
| 15 | +## MQTT broker on ubuntu |
|
| 16 | + |
|
| 17 | +sudo apt install -y mosquitto |
|
| 18 | + |
|
| 19 | +sudo systemctl status mosquitto |
|
| 20 | + |
|
| 21 | + |
|
| 22 | +- Stop the mosquitto service: |
|
| 23 | + - $ sudo systemctl stop mosquitto |
|
| 24 | +- Start the mosquitto service: |
|
| 25 | + - $ sudo systemctl start mosquitto |
|
| 26 | +- Restart the mosquitto service: |
|
| 27 | + - $ sudo systemctl restart mosquitto |
|
| 28 | + |
|
| 29 | +### Log file |
|
| 30 | +* cat /var/log/mosquitto/mosquitto.log |
|
| 31 | + |
|
| 32 | +## Conf Setup list |
|
| 33 | +allow_anonymous false // not allow anonymous |
|
| 34 | +password_file /etc/mosquitto/passwd // set password |
|
| 35 | + |
|
| 36 | +listener 1883 // set port 1883 public, or listener 1883 localhost for localhost only |
|
| 37 | + |
|
| 38 | +listener 1884 // set 1884 for wss |
|
| 39 | +protocol websockets |
|
| 40 | + |
|
| 41 | + |
|
| 42 | + |
|
| 43 | + |
|
| 44 | +## MQTT client |
|
| 45 | + |
|
| 46 | +sudo apt install -y mosquitto-clients |
|
| 47 | + |
|
| 48 | +sub: |
|
| 49 | +mosquitto_sub -t "test" |
|
| 50 | + |
|
| 51 | +pub: |
|
| 52 | +mosquitto_pub -m "ON" -t "test" |
|
| 53 | + |
|
| 54 | +A number of my IoT students make use of (the FREE plan with) BeeBotte for their remote MQTT broker. |
|
| 55 | + |
|
| 56 | +https://beebotte.com/ |
|
| 57 | +It's very easy to set up and works really well with Nod-RED. |
|
| 58 | + |
|
| 59 | + |
|
| 60 | + |
|
| 61 | +## web test |
|
| 62 | +- https://www.emqx.io/mqtt/mqtt-websocket-toolkit |
|
| ... | ... | \ No newline at end of file |
chip-cn/SIMCOM/simcom_AT_GNSS.md
| ... | ... | @@ -0,0 +1,19 @@ |
| 1 | + |
|
| 2 | + |
|
| 3 | +# SIMCOM AT GNSS |
|
| 4 | + |
|
| 5 | + |
|
| 6 | +### AT+SGNSCMD=1,0 |
|
| 7 | + |
|
| 8 | +### AT+SGNSCFG |
|
| 9 | + |
|
| 10 | + AT+SGNSCFG="NMEAOUTPORT",1 //Configure GNSS out to USB NMEA port before |
|
| 11 | + GNSS power on |
|
| 12 | + |
|
| 13 | + AT+SGNSCFG="NMEAOUTPORT",2 |
|
| 14 | + |
|
| 15 | + |
|
| 16 | +### from Modem Side |
|
| 17 | + |
|
| 18 | + AT+CGNSPWR=1 |
|
| 19 | + AT+CGNSINF |
|
| ... | ... | \ No newline at end of file |
git.md
| ... | ... | @@ -0,0 +1,7 @@ |
| 1 | + |
|
| 2 | + |
|
| 3 | + |
|
| 4 | +SIMCOM: |
|
| 5 | + |
|
| 6 | +- SIMCOM_Driver: https://github.com/Edragon/SIMCOM_Driver |
|
| 7 | +- SIMCOM_SIM70X0: https://github.com/Edragon/SIMCOM_SIM70X0 |
|
| ... | ... | \ No newline at end of file |