hahaha....but the trend of comments on my UA-cam 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.
Free Free...Get the AVR Bare Metal course for free. Limited Time offer....use the following link: www.udemy.com/course/bare-metal-programming-of-avr-micro-controllers/?couponCode=9F5E62DD80CD1D54D816
Free Free...Get the MATLAB course for free. Limited Time offer....use the following link: www.udemy.com/course/matlabsimulink-made-easy/?couponCode=BC89ED4F2BECFBBD3259
Free Free...Get the MATLAB course for free. Limited Time offer....use the following link: www.udemy.com/course/matlabsimulink-made-easy/?couponCode=BC89ED4F2BECFBBD3259
Free Free...Get the MATLAB course for free. Limited Time offer....use the following link: www.udemy.com/course/matlabsimulink-made-easy/?couponCode=BC89ED4F2BECFBBD3259
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 ????
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 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.
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.
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.
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.
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.
@@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.
@@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....
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?
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.
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.
@@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.
@@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!
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.
It is working..... thank you sir.
This company will be huge in europe by using that logo! ;)
hahaha....but the trend of comments on my UA-cam 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.
@@sachinsharmajcbro Me and all other guys know, we've all seen the comments but just love the facts that its a swastika
I guess I'm kinda off topic but do anybody know of a good website to stream newly released series online?
@Ulises River Lately I have been using Flixzone. Just search on google for it =)
@Emmitt Cairo yea, I've been using Flixzone for months myself :D
Great video! I will use it for a biomedical application in a project, thank you very much, greetings from Mexico.
Glad it was helpful!
I LEARNED A LOT, DR. THANK YOU FOR SHARING YOUR KNOWLEDGE GREETINGS FROM PERU
Free Free...Get the AVR Bare Metal course for free. Limited Time offer....use the following link:
www.udemy.com/course/bare-metal-programming-of-avr-micro-controllers/?couponCode=9F5E62DD80CD1D54D816
Very helpful video. Thank you!
Glad it was helpful!
thnks for your video its helped me alot , can you please schow us how to bild a lowpass an serial port signal,
Can i replace this device with my android senors to sense audio???? Sir
Free Free...Get the MATLAB course for free. Limited Time offer....use the following link:
www.udemy.com/course/matlabsimulink-made-easy/?couponCode=BC89ED4F2BECFBBD3259
Hello, I want to receive two different variables from the microcontroller and display them in a graph. Can you guide me?
Please send us an email at info@jcbrolabs.org
@@sachinsharmajcbro
thank you . I sent an email
Awesome command fclose(ans) jeje I always, close Matlab instead. Regards.🎉❤
Free Free...Get the MATLAB course for free. Limited Time offer....use the following link:
www.udemy.com/course/matlabsimulink-made-easy/?couponCode=BC89ED4F2BECFBBD3259
So simple! Thank you.
You're welcome!
Thank you so much for your helpful mind.
You are so welcome!
thank you😮
You're welcome 😊
Free Free...Get the MATLAB course for free. Limited Time offer....use the following link:
www.udemy.com/course/matlabsimulink-made-easy/?couponCode=BC89ED4F2BECFBBD3259
Thank you very much for sharing this :)
Welcome 😊
tnk you sooooo much you help me.
You are most welcome
Hello,
How can I stop the simulation or data collection in the .m
Thank you, sir !
You are welcome!
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 ????
how to send data from computer to parallel port LPT using MATLAB please guide sir.
I have not used this.
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
Thank you so much
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?
Yes, serial data (UART) was being received transferred from microcontroller.
@@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.
Nice video !
Thanks!
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.
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.
when Running graph, system performance will be same in GUI or degraded
It will be little degraded if incoming data is being received at higher rate.
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
@@v.m.d.harish9180 There could be several reasons:
1. Baud rate of data transfer
2. Computer processing load
3. Program code
What if i have more than 1 data? How to separate it and make a two plot instead ?
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
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.
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.
@@sachinsharmajcbro Great video, but sir are you gay?
@@EdwinFairchild hahahaha....why do you think so?
@@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.
@@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....
Is there any way to plot multi-data?
Yes, there are several ways to plot multi data
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?
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.
@@sachinsharmajcbro could you please explain, what do you mean by a separate thread?
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.
@@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.
@@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!
how can we connect IWR1443Boost with matlab? please make a video on it, thanks
Hi, I don't have this hardware.
@@sachinsharmajcbro Thanks for quick response.
How to make x-axis move with plot ( doesn’t stop at zero )
That can be done with little variation in the code.
@@sachinsharmajcbro
Can you tell me pls , give me any example or text me by @zOsH_21 telegram
As a German i'm getting flashbacks from this Symbol.
dear, don't worry, It is not nazi symbol. It is Indian symbol swastika, which represents prosperity and well being for all....
@@sachinsharmajcbro I know my friend. It was just to supposed as a joke.
Many greetings from Germany and thank you for the Video!
Hab genau das Gleiche gedacht 🤣
Not an happy logo choice buddy
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.
@@sachinsharmajcbro i very like that you use the symbol, not fair that you should not use it in his original meaning
just because NAZIs abused that symbol does not mean it is evil.
Thank you So much
You're most welcome