Tell us about yourself!
Dear Hana,Thanks for the hint! I know the package Matlab is providing, and I think that it's great! I'll surely implement it in my next instructables!
Hi HaoxueB!sure thing! You can plot multiple signals on the same graph!Make sure you modify the reading function, asking Arduino for the reading for another sensor or for the humidity value, for example, if you are working with DHT-type sensors. I will try to clean a little bit the plotting section of the Matlab script (MainScript), in order to it to be clearer, but the simplest command to plot two lines on the same graph (having to different scaling) is:plot(x,temp,x,humidity);where temp and humidity are the variables in which readings from DHT sensor are stored! X, being in this case the time, is equal for both y datasets!Gianluca
That's it! great job!Using this approach, you can visualize any output from any sensor: Arduino will take care of the sensor query (using the proper protocol, I2C or SPI...), while the data can be easily visualized using the call function from Matlab. Data are then available and securely stored in a Matlab array for a future manipulation! Thanks for the message!Gianluca Soon more Instructubles on Arduino-Matlab world! Stay tuned!
Hi HaoxueB!You are very welcome! Happy to have been helpful!!Bye
Mood Lamp with Arduino
easy solar charger and PSU [UPDATED]
Altoids Solar/Dynamo Emergency Charger