Implementing Sparkfun VL6180X Sensor in Simulink?
5 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Modeling 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!