フィルターのクリア

Arduino sampling rate of analog signal

6 ビュー (過去 30 日間)
HARVIN RAJ
HARVIN RAJ 2021 年 3 月 10 日
回答済み: Aditya Shah 2022 年 6 月 7 日
Hi, I am currently using matlab to read analog voltage from an IR sensor connected to Arduino Uno. I am having trouble in setting the sampling rate of the analog signal. The number of samples are not consistent. I want to plot the analog signal of the sensor in real time and i would like to know the method to set the sampling rate of the signal. Thank you.

回答 (1 件)

Aditya Shah
Aditya Shah 2022 年 6 月 7 日
Hi!
The following documentation illustrates how to read real-time sensor data at a specified rate, using the "read" method.
Additionally, please refer to the following documentation which shows the list of sensors that support connection on Arduino hardware I2C bus:

カテゴリ

Help Center および File ExchangeArduino Hardware についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by