use Dussolved_oxygen_sensor_on_wifi
Dependencies: watersenor_and_temp_code MQTT NetworkSocketAPI X_NUCLEO_IDW01M1v2 mbed
Fork of DS1820_IDW01M1 by
README.md@0:80c7778c82b8, 2017-10-31 (annotated)
- Committer:
- rozendhyan@gmail.com
- Date:
- Tue Oct 31 18:41:30 2017 +0800
- Revision:
- 0:80c7778c82b8
My commit message
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rozendhyan@gmail.com | 0:80c7778c82b8 | 1 | # MQTT-IDW01M1 |
rozendhyan@gmail.com | 0:80c7778c82b8 | 2 | This project is testing MQTT on mbed |
rozendhyan@gmail.com | 0:80c7778c82b8 | 3 | - device |
rozendhyan@gmail.com | 0:80c7778c82b8 | 4 | - NUCLEO_F401RE |
rozendhyan@gmail.com | 0:80c7778c82b8 | 5 | - IDW01M1(WiFi board) |
rozendhyan@gmail.com | 0:80c7778c82b8 | 6 | - MQTT cloud |
rozendhyan@gmail.com | 0:80c7778c82b8 | 7 | - Node-Red(local,in my RaspberryPi) |
rozendhyan@gmail.com | 0:80c7778c82b8 | 8 | - Toolchain |
rozendhyan@gmail.com | 0:80c7778c82b8 | 9 | - ARM_GCC |
rozendhyan@gmail.com | 0:80c7778c82b8 | 10 | - Tools |
rozendhyan@gmail.com | 0:80c7778c82b8 | 11 | - mbed cli |
rozendhyan@gmail.com | 0:80c7778c82b8 | 12 | - MQTTlens |
rozendhyan@gmail.com | 0:80c7778c82b8 | 13 | |
rozendhyan@gmail.com | 0:80c7778c82b8 | 14 | ## compile |
rozendhyan@gmail.com | 0:80c7778c82b8 | 15 | First you need dowload mbed lib |
rozendhyan@gmail.com | 0:80c7778c82b8 | 16 | ``` |
rozendhyan@gmail.com | 0:80c7778c82b8 | 17 | mbed deploy |
rozendhyan@gmail.com | 0:80c7778c82b8 | 18 | ``` |
rozendhyan@gmail.com | 0:80c7778c82b8 | 19 | Setting toolchain and target |
rozendhyan@gmail.com | 0:80c7778c82b8 | 20 | ``` |
rozendhyan@gmail.com | 0:80c7778c82b8 | 21 | mbed toolcahin $(yourtoolchain) |
rozendhyan@gmail.com | 0:80c7778c82b8 | 22 | mbed target $(your target) |
rozendhyan@gmail.com | 0:80c7778c82b8 | 23 | ``` |
rozendhyan@gmail.com | 0:80c7778c82b8 | 24 | compile |
rozendhyan@gmail.com | 0:80c7778c82b8 | 25 | ``` |
rozendhyan@gmail.com | 0:80c7778c82b8 | 26 | mbed compile |
rozendhyan@gmail.com | 0:80c7778c82b8 | 27 | ``` |
rozendhyan@gmail.com | 0:80c7778c82b8 | 28 | |
rozendhyan@gmail.com | 0:80c7778c82b8 | 29 | |
rozendhyan@gmail.com | 0:80c7778c82b8 | 30 | ## MQTT step |
rozendhyan@gmail.com | 0:80c7778c82b8 | 31 | ### connect to your AP |
rozendhyan@gmail.com | 0:80c7778c82b8 | 32 | ### connect to your host |
rozendhyan@gmail.com | 0:80c7778c82b8 | 33 | ### MQTT connect |
rozendhyan@gmail.com | 0:80c7778c82b8 | 34 | ### Subscribe |
rozendhyan@gmail.com | 0:80c7778c82b8 | 35 | ### Publish |
rozendhyan@gmail.com | 0:80c7778c82b8 | 36 | |
rozendhyan@gmail.com | 0:80c7778c82b8 | 37 | ## MQTT function |
rozendhyan@gmail.com | 0:80c7778c82b8 | 38 | - Subscribe |
rozendhyan@gmail.com | 0:80c7778c82b8 | 39 | - Publish |
rozendhyan@gmail.com | 0:80c7778c82b8 | 40 | |
rozendhyan@gmail.com | 0:80c7778c82b8 | 41 | ## MQTT variables |
rozendhyan@gmail.com | 0:80c7778c82b8 | 42 | - QOS |
rozendhyan@gmail.com | 0:80c7778c82b8 | 43 | |
rozendhyan@gmail.com | 0:80c7778c82b8 | 44 | |
rozendhyan@gmail.com | 0:80c7778c82b8 | 45 | ## Reference material |
rozendhyan@gmail.com | 0:80c7778c82b8 | 46 | - [X-NUCLEO-IDW01M1 Wi-Fi expansion board](https://os.mbed.com/components/X-NUCLEO-IDW01M1/) |
rozendhyan@gmail.com | 0:80c7778c82b8 | 47 | - [IDW01M1_Cloud_IBM](https://os.mbed.com/teams/ST/code/IDW01M1_Cloud_IBM/) |