Digital sensor data to MQTT server using ESP 32
Version 1.0.1 (28,7 KB) von
R SRIRANJANI RAMAKRISHNAN
IR sensor data is monitored in MQTT server
IR sensor is connected to GPIO pin 5 and send the data to MQQT server
https://mqttshared.crystalmq.com/login/
- Sign up
- verify email
- login
- add new device
- select MQTT
- Gateway
- create ID,Name, Description
- Access key and access token is the user id and password
- In Simulink - Settings - Hardware Implementation - Target hardware resources - MQTT properties - enter access key and token
- In Simulink - Settings - Hardware Implementation - Target hardware resources - wifi properties - Hotspot username as ssid - WPA encryption - password
- run the simulation
- check the MQTT server for updated IR sensor data
Zitieren als
R SRIRANJANI RAMAKRISHNAN (2024). Digital sensor data to MQTT server using ESP 32 (https://www.mathworks.com/matlabcentral/fileexchange/129399-digital-sensor-data-to-mqtt-server-using-esp-32), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2023a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.1 | New |
||
1.0.0 |