Implementing Sparkfun VL6180X Sensor in Simulink?

1 回表示 (過去 30 日間)
Lennart Neuhaus
Lennart Neuhaus 2016 年 8 月 11 日
Hello, I'm trying to use the Sparkfun Sensor VL6180 in my Simulink Code to run it with the Arduino Uno Hardware. So far I tried the DriversGuide to build a S-Function Block based on the working Arduino-Code which is published by SparkFun on GitHub, but it doesn't work with Simulink. I also tried the Arduino I2C-read Block of the Hardware-Support-Package in Simulink, but didn't work either. Is there anybody who uses the Sensor or something simular in Simulink and could help me out?

回答 (1 件)

Swathik Kurella Janardhan
Swathik Kurella Janardhan 2016 年 8 月 15 日
It is my understanding that you are trying to communicate with a Sparkfun Sensor connected to an Arduino Uno via Simulink.
Refer to the MATLAB File Exchange package that guides with steps to build a device driver block to perform target-specific functions using the Arduino as the hardware platform.

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by