LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Hardware in the loop Quadrotor

hello
i want to build a Hardware in the loop Quadrotor for test my control algoritm on a quadrotor.
i use Arduino mega2560 board with mpu6050 , Hmc5883 , bmp085 sensors and 4 blcd motor.
so i need to read sensors first and then calculate error with set point and then change 4 pwm channel.

i have just read sensors.

Untitled.jpg
and my block diagram

Untitled2.jpg


i have connect driver motors  to board >> oc3b=motor1     oc3c=motor2     oc3a=motor3     oc4b=motor4

how can i use pwm block in lifa library?how can i caliibrate and change my sensors data to real data  (for example range of  0-360 for roll pitch yaw)?
im new to arduino and quadrotor and also lifa library please help me.
thanks.

0 Kudos
Message 1 of 2
(4,060 Views)

now my pwm works good. i have reslove it
and now kalman filter...

0 Kudos
Message 2 of 2
(3,360 Views)