MATLAB Arduino Tutorial 10 - TI TMP 102 Temperature Sensor data - Real-time visualization

preview_player
Показать описание

Configuration:
- Matlab R2012a
- Matlab hgtransform()
- Arduino 1.0.1
- USB 2.0
- Texas Instruments TI TMP 102 - I2C

Рекомендации по теме
Комментарии
Автор

If you wanted to add a text box that displayed the temperature (not graphically, eg. a box that says "75.4 degrees", how would you go about doing it?

maggio
Автор

stop_call_tempGraph.m is not explained in the video and is called in tempGraph.m 
so an error is occuring...kindly look into it asap..

NaralaNeelima
Автор

This video is useful, but it would be perfect if it explained the stop_call_tempGraph function, I don't even know where to start from to develop this and its one of the most generic things that could have been explained in this tutorial!

carmoldu
Автор

I tried to implement a similar code and I got confused with the setting up of the surface plot. I always get the error :
Warning: size(CData) must equal size(ZData) or size(ZData)-1 for flat shading 

I was wondering if you had any insight. When I inspect in the command line [tcdata; zeroIndex] and [tcdata; tcdata] are both 2x500 matricies so I think that they should be the same size.

Any insight would be appreciated

neeb
Автор

It looked like it was working. Then I tried to restart and it started giving me this error:
Error using vertcat
Dimensions of matrices being concatenated are not consistent.

I think that the error is here:
tcdata =[tcdata(2:end), tc];

% update plot data and corresponding color
set (s, 'Zdata', [tcdata; zeroIndex], 'Cdata', [tcdata; tcdata])

But I don't understand why it was working at the beginning...

gianlucafinotti
Автор

Can you please share the code of the TempGraph? Thank you!

BadreddineZebbiche
Автор

est ce que vous pouvez me montrer le code.

afafelfanidi
Автор

Would it be possible to contact you to send me  tutorial code 10? Thank you

danizxz