Difference between revisions of "APM 2.52 Flight Controller Board"

From Geeetech Wiki
Jump to: navigation, search
(Interface Layout and specifications)
(Interfaces)
Line 70: Line 70:
 
===Interface Layout and specifications===
 
===Interface Layout and specifications===
 
[[File:APM interfaces.jpg|800px|]]
 
[[File:APM interfaces.jpg|800px|]]
 +
 +
'''LED indicators details:'''
 +
1. Light Alive, on the bottom right corner of the board, beside the GPS module interface, is normally on in energized state (dynamic electricity or power supplied by USB).
 +
 +
2. Light TX and RX, in parallel with light alive will blink during data transmission, for example, when the board is connected with the computer or when the data transfer radio is under communication.
 +
3. Parallel LED A, B, C on the bottom left corner of the board, under the output header.
 +
4. Light A is the most critical one; its blink indicates the flight controller is under Disarm status; the operation of the throttle on the remote control will not activate the motor. Only when you steer the rudder to the right-most and keep at least 4 seconds can the motor be activated, the light will be normally on then, and it is ready for flight now. Note that, do make sure the light is blinking when debugging and moving it on the ground to avoid unnecessary dander.
 +
5. Light B is hardly used, you can ignore it; it is blue, indicating the status of GPS. If GPS has searched satellite positioning, the light is normally on; if not, it will blink. If there is no GPS, the light is off. Your aircraft should not take off until the blue light is on, or it will see the positioning as waypoint.
 +
 +
===Jumper Instruction===
 +
[[File:APM jumper.jpg]]
 +
 +
JP1: plug in the jumper cap, the controller board can be powered by ESC.
 +
 +
==Development Environment setting==
 +
===Development Environment setting===
 +
[[File:APM_Connecting_and_Setting.jpeg]]
  
 
==Flying==
 
==Flying==

Revision as of 01:50, 18 August 2014

Introduction

10.jpg

APM is a open source flight control system, it is a multifunction system that can support quadrocopter, as well as aircrafts of fixed -wing, three-axis, 6-axis,8 –axis etc. APM flight control is a rather mature technique with formidable capabilities: it supports GPS designated cruise and automatic return; supports data transmission to realize the remote receiving of real-time data from the aircraft; supports pan-tilt control technique of professional cameras to ensure anti-vibration aerial photograph; supports peripheral interfaces as airspeed meter and galvanometer to ensure stable flight and low voltage protection of voltage detection in real time.

The APM2.52 Control Board is used for make UAV. This version is ready to use, with no assembly required. It allows the user to turn any fixed, rotary wing or multirotor vehicle (even cars and boats) into a fully autonomous vehicle, capable of performing programmed GPS missions with waypoint.

Features

1. Adapts PPM decoder chip- Atmega32U2 to take charge of the surveillance and controlling of PWM signal of mode channel so as to switch between manual mode and other modes, thus improving the security of the whole system.

2. The directional data provided by the inertial measurement unit (two-axis gyro and single-axis gyro) and triaxial accelerometer (to measure the speed of three axes and accelerate the speed), cooperating with the three axis magnetometer or GPS can be corrected to realize directional cosine algorithm and calculate the attitude of aircraft.

3. Integrated with MPU6000 (three-axis gyroscope + triaxial accelerometer), MS5611 berometer and HMC5883L three axis electronic compass.

4. Supports data transmission to realize the remote receiving of real-time data from the aircraft.

5. Supports pan-tilt control technique of professional cameras to ensure anti-vibration aerial photograph.

6. Supports airspeedometer to measure the airspeed of aircraft.

7. Supports airspeedometer to ensure stable flight and low voltage protection of voltage detection in real time.

8. Integrated with 12-bite high-precision AD chip which can convert the analog voltage output by airspeedometer and the temperature output by three-axis gyroscope, triaxial accelerometer and dual-axis gyroscope into digital value.

Overview and Hardware Resources

10.jpg APM 2.52 FRONT.jpg

1. ATMEHA2560 chip, MEGA32U2 PPM decoder,16M FLASH memory.

2. MPU6000 three-axis gyroscope + triaxial accelerometer, MS5611 highly sensitive berometer, HMC5883L Three axis electronic compass

3. 8 channels of signal input

4. 8 channels output of steering-engine and electronic speed controller

5. Multiple interfaces:

--I2C,

--PM,

--Voltage transducer

--Current transducer

--GPS interface that supports MTK Protocol

--Air Radio data transmission and OSD image transmission

--ACM ultrasound waves and APM airspeedometer

6. pan-tilt output channel

Size: 64mmx40mm

Weight: 18.8g

Software Resources

Compiling environment:Media:Arduino-1.5.6-r2-windows.zip

Firmware:Media:MissionPlanner-1.2.59.rar

PC soft ware:Media:MissionPlanner-1.2.59.rar

Component:Media:DotNetFx40 Full x86.rar

Interfaces

Interface Layout and specifications

APM interfaces.jpg

LED indicators details: 1. Light Alive, on the bottom right corner of the board, beside the GPS module interface, is normally on in energized state (dynamic electricity or power supplied by USB).

2. Light TX and RX, in parallel with light alive will blink during data transmission, for example, when the board is connected with the computer or when the data transfer radio is under communication. 3. Parallel LED A, B, C on the bottom left corner of the board, under the output header. 4. Light A is the most critical one; its blink indicates the flight controller is under Disarm status; the operation of the throttle on the remote control will not activate the motor. Only when you steer the rudder to the right-most and keep at least 4 seconds can the motor be activated, the light will be normally on then, and it is ready for flight now. Note that, do make sure the light is blinking when debugging and moving it on the ground to avoid unnecessary dander. 5. Light B is hardly used, you can ignore it; it is blue, indicating the status of GPS. If GPS has searched satellite positioning, the light is normally on; if not, it will blink. If there is no GPS, the light is off. Your aircraft should not take off until the blue light is on, or it will see the positioning as waypoint.

Jumper Instruction

APM jumper.jpg

JP1: plug in the jumper cap, the controller board can be powered by ESC.

Development Environment setting

Development Environment setting

File:APM Connecting and Setting.jpeg

Flying

Flight Test Process

! Warning ! Read This Safety Section Before Flying - [1]Bold text

To Test Loiter and Altitude Hold:

1.Set up your APM so that Stabilize mode is at one extreme of your three-position mode select switch on your RC transmitter, Alt Hold mode is in the middle and Loiter mode is in the third position.

2.First, it´s important that Stabilize Mode is working OK. Set the Mode switch to Stabilize, turn on the transmitter and connect your battery. Wait until the GPS gets a lock. (Both the Blue GPS LED and the Blue C LED on the APM should be on and solid before arming and taking off). (It is even better to wait a bit longer to allow the GPS acquire additional satellites.) Note! the UBLOX GPS works differently On the UBLOX GPS the LED on the GPS module is off during satellite acquistion and on blinking when the satellite is acquired.

3.Start flying in Stabilize mode. Make sure you can take off, fly comfortably, and land. If you find it tilting, land and run the "Level" command in the Mission Planner. Fly through a whole battery like this, getting a feel for the controls (this will also calibrate your compass).

4.Now change batteries and try the auto modes. First, try Alt Hold at an altitude of about 20 meters. Your actual current throttle position is recorded as the "hovering point" when you switch to an altitude holding mode so it is important that you are not ascending or descending when you switch to Alt Hold. You should be able to fly around with the copter maintaining the same altitude, plus or minus a meter or so.

5.If that's working well, try Loiter. Just fly to a safe spot with lots of room around it and an altitude of about 20 meters and switch into Loiter. It should try to stay in that position, plus or minus about five meters.

6.When you have finished flying in Loiter or Alt Hold modes (or if anything unexpected or undesirable happens)switch back to Stabilize mode and land. (You cannot land and turn the motors off in Loiter or Alt Hold mode.)

APM Mission Planner GCS

Hud.jpg

The APM Mission Planner that we use for most APM setup and mission scripting also includes an excellent built-in ground station.

Details on how to use it are [2].

LED Describtion

  • LED A:It gleamed on behalf of the flight control is Disarm (inactive) state, shake will not start the motor control device of throttle. Only keep the remote controller rudder to the right more than 4 seconds to activate A light into light, said the current in the activated state, can fly. In debugging, moves on the ground, to ensure that A lamp in A blink state, lest appear dangerous.
  • LED B:Ignore
  • LED C: Indicates the status of GPS.If the satellite positioning, GPS has found and the LED light.We haven't the GPS positioning, flicker;If there is no GPS, the lights go out.Using GPS flight, should be after electrify until a blue light and then take off.
  • LED RX TX:In data transmission when rapid flashing, such as ground station software connected with USB cable and computer, or when digital radio communication;
  • LED Alive:Whether power or USB connect,it will light all the time.

Documents

3-axis Gyro

3-axis Accelerometer

3-axis Digital Compass

High Resolution Altimeter