SIMULINK Arduino Nano Every Support

9 次查看(过去 30 天)
Hugo Mack
Hugo Mack 2021-2-24
评论: Hugo Mack 2021-3-22
Hello,
I’m working on a project that will explore the use of HIL (Hardware In the Loop) simulation for a rocket flight control system. I want to make use of Simulink’s hardware support for Arduinos by developing the flight control model in Simulink and uploading it to an Arduino. I then want to have a model of the simulated environment running in Simulink that communicates with the Arduino and spoofs the sensor data that the flight controller would have access to when in a real flight.
I was planning on using the Arduino Nano Every for my project but discovered that Simulink doesn’t seem to support it. It does however support the Nano 3. I believe the Nano Every uses the ATMega4809 processor while the Nano 3 uses the ATMega328. I’ve tried searching for a community made hardware support package within Simulink but to no avail.
I’m willing to downgrade from the Every to the Nano 3 if necessary, but I’m really keen to hear anyone’s suggestions as to how I can get Simulink to communicate with the Every. Alternatively, if someone has information relating to if/when Simulink will have support for the Every I would really appreciate it.
Thanks very much,
Hugo

回答(1 个)

Arun Kumar
Arun Kumar 2021-3-22
Hi Hugo,
Nano Every is not supported by Simulink support package for Arduino Hardware and there is no simple way to add support as well.
My suggestion would be to use Arduino Nano 3.0.
Is there any reason for preferring Nano Every over Nano 3.0?
Thanks,
Arun
  1 个评论
Hugo Mack
Hugo Mack 2021-3-22
Hi Arun,
Thanks for your reply.
I have been in discussion with Mathworks and they have indicated that they may be adding support for the Every over the next few months, but for the time being it isn't possible.
I intended to use the Every due to it's larger program memory, higher processing power and multiple hardware serial ports. I have already purchased some custom circuit boards designed around the Every but luckily the Nano 3 has a very similar pinout and is compatible for the most part. For the time being I am resigned to the fact that the Nano 3 is the only option.
All the best,
Hugo

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by