Running a Simulink model on Arduino and inputting parameters through bluetooth with HC-05
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I am attempting to run a simulink model on my Arduino Due. I would like to input parameters to this model via bluetooth. I have an HC-05 device for the arduino but cannot figure out how to input different input paremeters into the simulink model. Is there any way to successfully do this? I would also like to be able to read output values as well via bluetooth if possible.
0 Kommentare
Antworten (1)
Atharva
am 29 Mär. 2023
Yes, it is possible to input and output parameters from a Simulink model running on an Arduino Due via Bluetooth using the HC-05 module. To input parameters, you can use the "Serial Receive" block in Simulink to receive data from the HC-05 module connected to the Arduino Due. You can then use this data as input parameters to your Simulink model and to output parameters, you can use the "Serial Transmit" block in Simulink to send data back to the HC-05 module.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Modeling finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!