Hello everyone,
I have built a quadcopter and am trying to design a control algorithm to stabilise it in flight. I have done a simulink model of the quadcopter that uses PID control and stabilises fine. I would like to somehow convert this simulink model into arduino code so that i can fly it without it connected to my computer using an arduino board. Is this possible?
The aim is to design my own flight stabilisation algorithm for a quadcopter after simulating it on simulink and then testing it experimentally.

 채택된 답변

Tohru Kikawada
Tohru Kikawada 2017년 3월 15일

1 개 추천

Yes, you can generate C code for Arduino through Simulink Support Package for Arduino Hardware.

댓글 수: 1

Taimur Zaman
Taimur Zaman 2018년 5월 14일
Hi, Same problem with me. I have generated a Controlled Phase Shifted PWM in arduino through code, now i want to transform same code to simulink blocks. so, is it possible, i mean if yes; how can i access from simulink arduino timers and interupts. I am new to simulink arduino interface

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

vahid usefi
vahid usefi 2020년 6월 19일

0 개 추천

woooooooooooooow

카테고리

도움말 센터File Exchange에서 Arduino Hardware에 대해 자세히 알아보기

질문:

2017년 3월 15일

답변:

2020년 6월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by