raspberry pi用の制御ブロックについて

12 visualizaciones (últimos 30 días)
Reo Takahashi
Reo Takahashi el 21 de Dic. de 2016
Editada: Akihiro Yasuda el 6 de En. de 2017
raspberry pi用の制御ブロックのPWM出力周波数を8kHz以上に上げることはできますか? よろしくお願いいたします。

Respuestas (1)

Akihiro Yasuda
Akihiro Yasuda el 22 de Dic. de 2016
Editada: Akihiro Yasuda el 6 de En. de 2017
ご指摘の通り、PWMブロックは8kHzまでとなっています。
代替案としては、wiringPiを呼び出すデバイスドライバを作成する方法があります。
wiringPiを使用したブロックは、File Exchangeから入手可能です。
wiringPiの使用例などは、下記が参考になると思います。
  2 comentarios
Reo Takahashi
Reo Takahashi el 4 de En. de 2017
ご回答ありがとうございます。
貼っていただいたFileExchangeのwiringPiリンクが期限切れとなってしまっており、閲覧できない状況です。 そこで自分なりに探してみたところ、以下のようなページがあったのですがこれでも代用できますでしょうか、、、
https://jp.mathworks.com/matlabcentral/fileexchange/41529-raspberry-pi-pwm-driver-block-sfunction
Akihiro Yasuda
Akihiro Yasuda el 6 de En. de 2017
ページ切れとなり、申し訳ありません。
>以下のようなページがあったのですがこれでも代用できますでしょうか、、、
はい、ご指摘のURLで問題ありません。
ちなみに、その元となるブロックは Device Drivers から 来ています。
ですので、独自のデバイスドライバを作成する場合、
それらが参考になるかと思います。

Iniciar sesión para comentar.

Categorías

Más información sobre Raspberry Pi Hardware en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by