However, when the frequency is stable at 20 Hz or 10 Hz the output is stable. The second strange thing is that when I change the frequency between the interval of 10 and 20 Hz, the serial prints values which don't look like a sinus signal. ![]() When I tried to change the baud rate at the terminal (back to 9600), I see only junk values. ![]() The first strange thing is that the values at Arduino's serial terminal can be seen only at 19200 baud rate, despite the fact that in the following code the baud rate is defined 9600. The frequencies will vary between 10 and 20 Hz. The idea is to connect a sinusoid generator at the Arduino's analog pin, do A/D conversion and send the results at Matlab for further processing (filtering and FFT). I am facing a problem between Arduino Uno and Matlab.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |