Implementing Sparkfun VL6180X Sensor in Simulink?

2 visualizaciones (últimos 30 días)
Lennart Neuhaus
Lennart Neuhaus el 11 de Ag. de 2016
Respondida: Swathik Kurella Janardhan el 15 de Ag. de 2016
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?

Respuestas (1)

Swathik Kurella Janardhan
Swathik Kurella Janardhan el 15 de Ag. de 2016
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.

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by