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 MQQT
- Gateway
- create ID,Name, Description
- Access key and access token is the user id and password
- In Simulink - Settings - Hardware Implementation - Target hardware resources - MQQT 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 MQQT server for updated IR sensor data
인용 양식
R SRIRANJANI RAMAKRISHNAN (2024). Digital sensor data to MQQT server using ESP 32 (https://www.mathworks.com/matlabcentral/fileexchange/129399-digital-sensor-data-to-mqqt-server-using-esp-32), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
개발 환경:
R2023a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0 |