This repository is dedicated to providing comprehensive guidance for integrating Arduino/ESP32 boards with MATLAB/Simulink.
What is possible:
- Develop your logic in Simulink and upload to arduino.
- Use build-in Support Package for Arduino Blocks.
- Use custom blocks with S-Functions Blocks.
- Use any Arduino's library (with S-Function).
- Use all Simulink Blocks/Simulate/Stateflow.
- Use any Arduino Board / ESP32.
Note:
This is not a Library, is just a Repository with some advices regarding Simulink and Arduino/ESP32 integration.
- MATLAB Version 9.13 (R2022b) - MathWorks
- Simulink R2022b 10.6 (R2022b) - MathWorks
- MATLAB Support Package for Arduino Hardware (version 22.2.2) - MathWorks
- Simulink Support Package for Arduino Hardware (version 22.2.4) - MathWorks
For detailed instructions on setting up your environment and configuring your hardware, please refer to the How to Use section. This section provides step-by-step guides on software requirements, installation processes, board configuration, and deployment tips.
- Blink Example: A basic example using build-in Arduino blocks.
- RGB LED Control: An example using S-Functions and Stateflow.
- HTTP Request: Use of ESP32 to make HTTP Requests.
- MQTT: An example to connect to a MQTT broker.
- DHT11: An example to connect to DHT11 sensor.
- Alexa: An example to connect to Amazon Alexa.
Please, if you can make some contribution, let me know or make a PR.