RCU Forums - View Single Post - UAV on AT91SAM7. Step-by-step.
View Single Post
Old 02-06-2018, 01:30 AM
  #1  
Maksimuzz
 
Join Date: Jan 2018
Location: Saint-Peterspurg, Russia
Posts: 7
Likes: 0
Received 0 Likes on 0 Posts
Default UAV on AT91SAM7. Step-by-step.

Hello all. For several years I was engaged in the hobby of the "invention" of an autopilot, I decided to share. The carrier board with
sensors and a controller you can see below:
Click image for larger version

Name:	IMG_20170723_150923zoom.jpg
Views:	147
Size:	104.3 KB
ID:	2253685
The autopilot is made on the basis of a debug board. The circuit consists of a debug board and a periphery:
Click image for larger version

Name:	Schematic_SAM7.jpg
Views:	255
Size:	132.6 KB
ID:	2253686 Click image for larger version

Name:	Schematic_periph.jpg
Views:	550
Size:	225.2 KB
ID:	2253687
The project with the source code of software for the controller can be found here: GPILOT.zip. Software provides the work of sensors using
8 interrupt handlers, timers, TWI (I2C), SPI, UART, RTTC, PWMC. A route for GPS write to the SD-card, as the flight is written
once a second, supported by FAT12 or FAT32. The route data is written to the SD card, which also writes flight data once a second.
One of the test models is shown in the figure below.
Click image for larger version

Name:	IMG_20170817_131533sm.jpg
Views:	138
Size:	104.8 KB
ID:	2253691 Click image for larger version

Name:	IMG_20170817_131545sm.jpg
Views:	143
Size:	99.8 KB
ID:	2253688
This is the Wing Dragon Sportster, the 1.18M swing, the take-off weight on the passport is 650g, actually measured 750g, with
autopilot 840g. (As seems, an overload present) More details with the project can be found in my profile. The concept of constructing
an autopilot for a radio-controlled unmanned aircraft on the basis of a cheap controller and modern inertial position sensors find here
You can. The concept is verified on a virtual model using the X-Plane 6 simulator and on a real model wich have a pushing screw and
an electric motor. A variant of the flight algorithm along the route using GPS is proposed. Tests were carried out, graphs were
constructed and flight data and video data were discussed. The program for calculating the plane alignment using a programmable
calculator for Android and an example of its use. All sources are available from modeling to the design of the printed circuit board.

Last edited by Maksimuzz; 02-07-2018 at 02:36 AM.