Digital sensor data to MQTT server using ESP 32

IR sensor data is monitored in MQTT server
38 Descargas
Actualizado 9 nov 2024

Ver licencia

IR sensor is connected to GPIO pin 5 and send the data to MQQT server
https://mqttshared.crystalmq.com/login/
  1. Sign up
  2. verify email
  3. login
  4. add new device
  5. select MQTT
  6. Gateway
  7. create ID,Name, Description
  8. Access key and access token is the user id and password
  9. In Simulink - Settings - Hardware Implementation - Target hardware resources - MQTT properties - enter access key and token
  10. In Simulink - Settings - Hardware Implementation - Target hardware resources - wifi properties - Hotspot username as ssid - WPA encryption - password
  11. run the simulation
  12. check the MQTT server for updated IR sensor data

Citar como

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. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2023a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.0.1

New

1.0.0