0
What do you guys think of SciLab to Ardunio?

What i am wanting to do is simple but I just can't get it to work. Basically I am reading values from a ToF (time of flight (basically distance measuring)) sensor on the arduino and I want to use these values in code I already have in matlab.

I have two solutions, either create the code for reading the sensor in matlab (I have looked everywhere online an cant find a matlab version, however, could find python and arduino code). The issue with this is I genuinely have no idea how to do this so it would be very difficult to do so.

The other solution is to try to read the values from the arduino software in matlab and then use these figures to do what I want. This is the solution I have attempted however, the code which I have been using seems to not display the expected values.

I need values from the serial monitor in arduino to be read and then displayed as an input in matlab. I was wondering if anyone had needed to do this before and maybe had code for this.

More details

The sensor is a VL53L0L ToF sensor from adafruit.

The code I am using is from adafruit in their manuals for this sensor.

Comment if you need anymore details or further explanation

Thank you


Scilab-Arduino 14-10-19, 1:18 p.m. Redington
0
04-12-19, 8:17 p.m. sweetz1


Log-in to answer to this question.