Skip to content

Integrate Simulink/Stateflow to Arduino or ESP32. Use any library (S-Functions).

Notifications You must be signed in to change notification settings

VinicioAM/Simulink-ArduinoESP32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Vinício Araújo
Dec 20, 2023
5e8227c · Dec 20, 2023

History

1 Commit
Dec 20, 2023
Dec 20, 2023
Dec 20, 2023
Dec 20, 2023
Dec 20, 2023
Dec 20, 2023
Dec 20, 2023
Dec 20, 2023
Dec 20, 2023

Repository files navigation

About

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.

Software Requirements

  • 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

How to Use

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.

Examples

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

About

Integrate Simulink/Stateflow to Arduino or ESP32. Use any library (S-Functions).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published