No video

How to Plot Real Time Serial Data from hardware in Matlab?

  Рет қаралды 36,021

Dr. Sachin Sharma

Dr. Sachin Sharma

Күн бұрын

Пікірлер: 85
@jockemustafa
@jockemustafa 3 жыл бұрын
This company will be huge in europe by using that logo! ;)
@sachinsharmajcbro
@sachinsharmajcbro 3 жыл бұрын
hahaha....but the trend of comments on my KZfaq videos it seems like it will be other way around in Europe. By the way, for other viewers, this symbol is Indian symbol swastika, which represents prosperity and well being for all. Have a nice day.
@jockemustafa
@jockemustafa 3 жыл бұрын
@@sachinsharmajcbro Me and all other guys know, we've all seen the comments but just love the facts that its a swastika
@ulisesriver4656
@ulisesriver4656 3 жыл бұрын
I guess I'm kinda off topic but do anybody know of a good website to stream newly released series online?
@emmittcairo7619
@emmittcairo7619 3 жыл бұрын
@Ulises River Lately I have been using Flixzone. Just search on google for it =)
@lancelandyn1974
@lancelandyn1974 3 жыл бұрын
@Emmitt Cairo yea, I've been using Flixzone for months myself :D
@ernestomalgesto4912
@ernestomalgesto4912 2 жыл бұрын
Great video! I will use it for a biomedical application in a project, thank you very much, greetings from Mexico.
@sachinsharmajcbro
@sachinsharmajcbro 2 жыл бұрын
Glad it was helpful!
@gabrielj.4758
@gabrielj.4758 Жыл бұрын
I LEARNED A LOT, DR. THANK YOU FOR SHARING YOUR KNOWLEDGE GREETINGS FROM PERU
@mahuafu-r4n
@mahuafu-r4n 12 күн бұрын
thank you😮
@lethalbomb1471
@lethalbomb1471 4 ай бұрын
thank you, saved my life
@lucasmarjona
@lucasmarjona Ай бұрын
Awesome command fclose(ans) jeje I always, close Matlab instead. Regards.🎉❤
@hareeshparasuram9710
@hareeshparasuram9710 2 жыл бұрын
If more than one data, say data1, data2, data3 etc.. comes from the same serial port (From Aurdino, say com4) how to Read it simultaneously & plot this in Real Time In MATLAB, Thanks In Advance.. Its Very Very Urgently Required For Research Work Plzzzz !!!! Plzzz Give the Code ????
@alexnoggle1874
@alexnoggle1874 Жыл бұрын
Very helpful video. Thank you!
@sachinsharmajcbro
@sachinsharmajcbro Жыл бұрын
Glad it was helpful!
@hamooda4974
@hamooda4974 Жыл бұрын
thnks for your video its helped me alot , can you please schow us how to bild a lowpass an serial port signal,
@SHONSL
@SHONSL 2 жыл бұрын
So simple! Thank you.
@sachinsharmajcbro
@sachinsharmajcbro 2 жыл бұрын
You're welcome!
@boomuruganr4222
@boomuruganr4222 3 жыл бұрын
Thank you so much for your helpful mind.
@sachinsharmajcbro
@sachinsharmajcbro 3 жыл бұрын
You are so welcome!
@NoorAhmad-gd7no
@NoorAhmad-gd7no 3 жыл бұрын
How to read real-time audio from the sound card, since the sound card is not recognized as a port, instead it's recognized as one of the audio inputs
@eagle9611
@eagle9611 4 жыл бұрын
I know you might associate the symbol in your channel logo with something absolutely different as i am, who is coming from Germany, but every time i see it i'm shocked and terrified the moment i see it. Nevertheless i really appreciate your content :) Please keep it up.
@sachinsharmajcbro
@sachinsharmajcbro 4 жыл бұрын
No one can imagine the suffering of people by Nazi regime, but be assured it doesn't represents Nazi. It is an Indian symbol 'Swastika' representing prosperity and well being for all. You can search for the same on Google for same meaning.
@EdwinFairchild
@EdwinFairchild 4 жыл бұрын
@@sachinsharmajcbro Great video, but sir are you gay?
@sachinsharmajcbro
@sachinsharmajcbro 4 жыл бұрын
@@EdwinFairchild hahahaha....why do you think so?
@EdwinFairchild
@EdwinFairchild 4 жыл бұрын
@@sachinsharmajcbro I only wanted to show you that time and history changes the meaning of things, The original definition of "gay" is happy and cheerful, but time, society and history have given it a new meaning in society. As is such with the symbol that may have meant one thing originally for you and your culture but for the rest of world it means something else. You would not walk around saying "im gay im gay" to mean you are happy if you know the rest of the world would misinterpret that. However great channel and thanks for the knowledge.
@sachinsharmajcbro
@sachinsharmajcbro 4 жыл бұрын
@@EdwinFairchild Thanks and You are right dear, but the only thing is that this symbol still used in many parts of the world for prosperity and well being for all.....So shouldn't we let the world know that this symbol represent something else too other than nazi regime only.....It is just about the availability of information....
@ajaynagarajan4294
@ajaynagarajan4294 2 жыл бұрын
Thank you very much for sharing this :)
@sachinsharmajcbro
@sachinsharmajcbro 2 жыл бұрын
Welcome 😊
@hayamaitmalk3459
@hayamaitmalk3459 3 жыл бұрын
tnk you sooooo much you help me.
@sachinsharmajcbro
@sachinsharmajcbro 3 жыл бұрын
You are most welcome
@MrROHITBOHRA
@MrROHITBOHRA 3 жыл бұрын
how to send data from computer to parallel port LPT using MATLAB please guide sir.
@sachinsharmajcbro
@sachinsharmajcbro 3 жыл бұрын
I have not used this.
@satawatkaeokrajang3412
@satawatkaeokrajang3412 2 жыл бұрын
Thank you, sir !
@sachinsharmajcbro
@sachinsharmajcbro 2 жыл бұрын
You are welcome!
@ayushkumarkushwaha3560
@ayushkumarkushwaha3560 Ай бұрын
Can i replace this device with my android senors to sense audio???? Sir
@johannanandar9916
@johannanandar9916 3 жыл бұрын
Hello, How can I stop the simulation or data collection in the .m
@thieno9119
@thieno9119 4 жыл бұрын
Nice video !
@sachinsharmajcbro
@sachinsharmajcbro 4 жыл бұрын
Thanks!
@rafaelbaldin4560
@rafaelbaldin4560 2 жыл бұрын
Unfortunately, I've got this message error: "Warning: Unsuccessful read: A timeout occurred before the Terminator was reached. 'serial' unable to read all requested data." I am using an Arduino Uno with a baudrate of 115200.
@rafaelbaldin4560
@rafaelbaldin4560 2 жыл бұрын
It is working now. I did not use the str2double function, and I had to change the parametres in the fscanf function. Using the instrreset function is also useful to avoid errors. The problem that I am facing now is that the plot does not restart when I run the code again, forcing me to restart Matlab.
@amir_eshaqy
@amir_eshaqy Жыл бұрын
Hello, I want to receive two different variables from the microcontroller and display them in a graph. Can you guide me?
@sachinsharmajcbro
@sachinsharmajcbro Жыл бұрын
Please send us an email at info@jcbrolabs.org
@amir_eshaqy
@amir_eshaqy Жыл бұрын
@@sachinsharmajcbro thank you . I sent an email
@blitzritter7867
@blitzritter7867 3 жыл бұрын
Thank you so much
@thamsanqalucky7618
@thamsanqalucky7618 3 жыл бұрын
Hi there, thank you for sharing your knowledge with us. However you have only showed us one end of the communication. May you please explain how is the data transmitted from your board to the MATLAB. What peripheral (UART etc.) did you use to transport the data?
@sachinsharmajcbro
@sachinsharmajcbro 3 жыл бұрын
Yes, serial data (UART) was being received transferred from microcontroller.
@thamsanqalucky7618
@thamsanqalucky7618 3 жыл бұрын
@@sachinsharmajcbro Hi there, thank you for your reply. I am trying to acquire a signal from a light-to-voltage sensor using the STM32 nucleo board. Then, I need to export the acquired data into Matlab/Simulink. I hope it won't be too much trouble if I ask you to please share your C code from the STM32 IDE. Thank you in advance.
@DonnyPUtama
@DonnyPUtama 3 жыл бұрын
What if i have more than 1 data? How to separate it and make a two plot instead ?
@sachinsharmajcbro
@sachinsharmajcbro 3 жыл бұрын
You have to find a way to separate them and store them in different variables. For more information you can contact us at: info@jcbrolabs.org
@v.m.d.harish9180
@v.m.d.harish9180 3 жыл бұрын
when Running graph, system performance will be same in GUI or degraded
@sachinsharmajcbro
@sachinsharmajcbro 3 жыл бұрын
It will be little degraded if incoming data is being received at higher rate.
@v.m.d.harish9180
@v.m.d.harish9180 3 жыл бұрын
what is your opinion on the slow response in running graph plot not as fast as the change in analog volage at the input of adc
@sachinsharmajcbro
@sachinsharmajcbro 3 жыл бұрын
@@v.m.d.harish9180 There could be several reasons: 1. Baud rate of data transfer 2. Computer processing load 3. Program code
@garimasharma6575
@garimasharma6575 2 жыл бұрын
While reading data via serial port, my observation is, I am losing many data points. since I know the sampling rate of microcontroller ADC is 10kHz but I can read 7000 samples per sec in matlab. how can I correct that issue?
@sachinsharmajcbro
@sachinsharmajcbro 2 жыл бұрын
Actually, If you try to read samples at high data rate from same application then that will not be possible. You will have to use thread to read the serial data and then separate thread to display the same.
@garimasharma6575
@garimasharma6575 2 жыл бұрын
@@sachinsharmajcbro could you please explain, what do you mean by a separate thread?
@garimasharma6575
@garimasharma6575 2 жыл бұрын
if you mean that only read data in a loop and separately plot the data in another loop? then I am only reading the data in a loop since I found reading and plotting data together in a loop is not possible.
@sachinsharmajcbro
@sachinsharmajcbro 2 жыл бұрын
@@garimasharma6575 loops block the execution. I would suggest you to go through the concept of threads (if you have not gone through it earlier) then search for implementing the same in MATLAB. To start, threads runs in the background of main application and data can be transferred via shared variables.
@garimasharma6575
@garimasharma6575 2 жыл бұрын
@@sachinsharmajcbro I haven't gone through threads earlier so I have read parallel processing but can you explain, how to access data from one function to another? by knowing that data is continuously coming in one function. Could you please upload a video lecture on real-time serial data reading and plotting the data using thread/parallel processing? Thank you!
@AliG.G
@AliG.G 3 жыл бұрын
Is there any way to plot multi-data?
@sachinsharmajcbro
@sachinsharmajcbro 3 жыл бұрын
Yes, there are several ways to plot multi data
@ZH-id7qg
@ZH-id7qg 3 жыл бұрын
How to make x-axis move with plot ( doesn’t stop at zero )
@sachinsharmajcbro
@sachinsharmajcbro 3 жыл бұрын
That can be done with little variation in the code.
@ZH-id7qg
@ZH-id7qg 3 жыл бұрын
@@sachinsharmajcbro Can you tell me pls , give me any example or text me by @zOsH_21 telegram
@yahyakhuram6722
@yahyakhuram6722 3 жыл бұрын
how can we connect IWR1443Boost with matlab? please make a video on it, thanks
@sachinsharmajcbro
@sachinsharmajcbro 3 жыл бұрын
Hi, I don't have this hardware.
@yahyakhuram6722
@yahyakhuram6722 3 жыл бұрын
@@sachinsharmajcbro Thanks for quick response.
@thermotutor3755
@thermotutor3755 3 жыл бұрын
As a German i'm getting flashbacks from this Symbol.
@sachinsharmajcbro
@sachinsharmajcbro 3 жыл бұрын
dear, don't worry, It is not nazi symbol. It is Indian symbol swastika, which represents prosperity and well being for all....
@thermotutor3755
@thermotutor3755 3 жыл бұрын
@@sachinsharmajcbro I know my friend. It was just to supposed as a joke. Many greetings from Germany and thank you for the Video!
@robin4970
@robin4970 3 жыл бұрын
Hab genau das Gleiche gedacht 🤣
@saeedmohebbiyan9485
@saeedmohebbiyan9485 4 жыл бұрын
Thank you So much
@sachinsharmajcbro
@sachinsharmajcbro 4 жыл бұрын
You're most welcome
@sorrefly
@sorrefly 3 жыл бұрын
Not an happy logo choice buddy
@sachinsharmajcbro
@sachinsharmajcbro 3 жыл бұрын
Dear, this is not nazi symbol swastika (which you might be thinking). It is an Indian Symbol, which represents prosperity and well being for all. Please learn more about it.
@m4nuz
@m4nuz 3 жыл бұрын
@@sachinsharmajcbro i very like that you use the symbol, not fair that you should not use it in his original meaning
@mayazhussain
@mayazhussain 2 жыл бұрын
just because NAZIs abused that symbol does not mean it is evil.
How to Plot Real Time Serial Data on Python GUI??
25:36
Dr. Sachin Sharma
Рет қаралды 47 М.
Acquiring Data from Sensors and Instruments Using MATLAB
55:22
Comfortable 🤣 #comedy #funny
00:34
Micky Makeover
Рет қаралды 17 МЛН
Smart Sigma Kid #funny #sigma #comedy
00:40
CRAZY GREAPA
Рет қаралды 39 МЛН
Tomar datos por puerto serial con Simulink de MATLAB
9:48
Geek Electrónica
Рет қаралды 37 М.
Easy Arduino Data Logging and Telemetry
34:31
upgrdman
Рет қаралды 171 М.
Comunicación Serial Arduino Simulink/Matlab 🚨
18:04
Sergio A. Castaño Giraldo
Рет қаралды 28 М.
Simulink STM32 Integration Tutorial
28:48
Michael Fuller
Рет қаралды 11 М.
Arduino data acquisition sensor with labview
15:25
Massaab el ydrissi
Рет қаралды 34 М.
Comfortable 🤣 #comedy #funny
00:34
Micky Makeover
Рет қаралды 17 МЛН