Тёмный
No video :(

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

Dr. Sachin Sharma
Подписаться 11 тыс.
Просмотров 36 тыс.
50% 1

Опубликовано:

 

21 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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 RU-vid 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!
@mahuafu-r4n
@mahuafu-r4n 11 дней назад
thank you😮
@gabrielj.4758
@gabrielj.4758 Год назад
I LEARNED A LOT, DR. THANK YOU FOR SHARING YOUR KNOWLEDGE GREETINGS FROM PERU
@lethalbomb1471
@lethalbomb1471 4 месяца назад
thank you, saved my life
@lucasmarjona
@lucasmarjona 29 дней назад
Awesome command fclose(ans) jeje I always, close Matlab instead. Regards.🎉❤
@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!
@satawatkaeokrajang3412
@satawatkaeokrajang3412 2 года назад
Thank you, sir !
@sachinsharmajcbro
@sachinsharmajcbro 2 года назад
You are welcome!
@blitzritter7867
@blitzritter7867 3 года назад
Thank you so much
@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 ????
@hayamaitmalk3459
@hayamaitmalk3459 3 года назад
tnk you sooooo much you help me.
@sachinsharmajcbro
@sachinsharmajcbro 3 года назад
You are most welcome
@ajaynagarajan4294
@ajaynagarajan4294 2 года назад
Thank you very much for sharing this :)
@sachinsharmajcbro
@sachinsharmajcbro 2 года назад
Welcome 😊
@thieno9119
@thieno9119 4 года назад
Nice video !
@sachinsharmajcbro
@sachinsharmajcbro 4 года назад
Thanks!
@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
@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.
@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.
@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
@johannanandar9916
@johannanandar9916 3 года назад
Hello, How can I stop the simulation or data collection in the .m
@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....
@ayushkumarkushwaha3560
@ayushkumarkushwaha3560 Месяц назад
Can i replace this device with my android senors to sense audio???? Sir
@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.
@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!
@saeedmohebbiyan9485
@saeedmohebbiyan9485 4 года назад
Thank you So much
@sachinsharmajcbro
@sachinsharmajcbro 4 года назад
You're most welcome
@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
@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
@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.
@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
@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 🤣
@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.
Далее
Putin Əliyevdən nə istəyib? | Rəhim Qazıyev
05:32
How to Plot Real Time Serial Data on Python GUI??
25:36
How To Use Arduino's Serial Plotter
8:08
Просмотров 46 тыс.
The Clever Way to Count Tanks - Numberphile
16:45
Просмотров 997 тыс.
The Greenwich Meridian is in the wrong place
25:07
Просмотров 794 тыс.
Signal Processing with MATLAB
21:11
Просмотров 106 тыс.