Community Profile

photo

WAN NOR NAZIRA MUSTAPA KAMAL


Last seen: 대략 3년 전 2021년부터 활동

Followers: 0   Following: 0

통계

  • Thankful Level 3
  • First Answer

배지 보기

Feeds

보기 기준

질문


Error using mpu6050 Too many input arguments. Error in line 3: imu = mpu6050(a,'SampleRate',50,'SamplesPerRead',10,'ReadMode','Latest'); How can I solved it?
function [] = i2c_sensor() a = arduino('COM3', 'UNO'); imu = mpu6050(a,'SampleRate',50,'SamplesPerRead',10,'ReadMode','Lat...

대략 3년 전 | 답변 수: 0 | 0

0

답변

질문


How can I change this code to get the line when plotting the graph? Because I tried adding commands related but still there is no line when I am running the codes
function [] = i2c_sensor() a = arduino('COM3', 'UNO'); imu = mpu6050(a,'SampleRate',50,'SamplesPerRead',10,'ReadMode','Lat...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


Anyone help me, how can I change this code for me to plot the graph from the data obtained?
function [] = i2c_sensor() a = arduino('COM3', 'UNO'); imu = mpu6050(a,'SampleRate',50,'SamplesPerRead',10,'ReadMode','Lates...

대략 3년 전 | 답변 수: 0 | 0

0

답변

질문


How can I change this code to make a header for each column like for instance accel X, accel Y, accel Z?
function [] = i2c_sensor() a = arduino('COM3', 'UNO'); imu = mpu6050(a,'SampleRate',50,'SamplesPerRead',10,'ReadMode','Lates...

대략 3년 전 | 답변 수: 0 | 0

0

답변

질문


What can I add in this code for me to plot the data that I obtained in real time graph?
function [] = i2c_sensor() a = arduino('COM3', 'UNO'); imu = mpu6050(a,'SampleRate',50,'SamplesPerRead',10,'ReadMode','Lates...

대략 3년 전 | 답변 수: 0 | 0

0

답변

질문


What can I add in this code for me to plot the data that I obtained in real time graph?
function [] = i2c_sensor() a = arduino('COM3', 'UNO'); imu = mpu6050(a,'SampleRate',50,'SamplesPerRead',10,'ReadMode','Lates...

대략 3년 전 | 답변 수: 0 | 0

0

답변

질문


What should I change in this code for me to get in the command window a 10 data of acceleration with 1 data for 1 second?
a = arduino(); imu = mpu6050(a,'SampleRate',50,'SamplesPerRead',10,'ReadMode','Latest'); figure; xlabel('Time (s)'); ...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


Anyone can help me to understand this code?
a = arduino(); imu = mpu6050(a,'SampleRate',50,'SamplesPerRead',10,'ReadMode','Latest'); figure; xlabel('Time (s)'); ...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


How to do a loop to read 10 data of acceleration from this code?
function [] = i2c_sensor() a = arduino('COM3', 'UNO'); imu = mpu6050(a,'SampleRate',50,'SamplesPerRead',5,'ReadMode','Latest...

대략 3년 전 | 답변 수: 0 | 0

0

답변

질문


Problem with running a Matlab code.
I am having problem with the code where when I first run the code, the outcome that I get is data in values and graph but when I...

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Hi all! Could you please help me understand this piece of code here?
%% setup hold all a = arduino('COM3', 'Uno'); mpu = i2cdev(a,'0x68'); %mpu adress is normally 0x68 writeRegister(mpu, hex2de...

3년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
Help with understanding a piece of code
Hi all can anyone help me to understand this code? %% setup hold all a = arduino('COM3', 'Uno'); mpu = i2cdev(a,'0x68'); %mp...

3년 초과 전 | 0