Skip to the content
2 layers69.2 × 47.6 mmAAquad PCB, the printed circuit board in 3D

AAquad PCB

Fberbari/AAquad

(OUTDATED, see AAQuad-Evolution) a baremetal implementation of a multirotor flight computer.

Size
69.2 × 47.6 mm
Copper layers
2
Thickness
1.6 mm
Parts
37
Nets
29
Pads
184
Tracks, vias
375, 79
Pours
3
Routed
Yes
KiCad
KiCad 4
Created
19 Sep 2018
Updated
27 Oct 2018

Overview

AAquad PCB is an open-source printed circuit board by Fberbari, from the Fberbari/AAquad repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 69.2 × 47.6 mm with 37 parts on 29 nets, routed with 375 tracks and 79 vias.

It is built around the ATMEGA328-AU, NC7SZ157P6X and SPX1117M3-L-1-5, with the L3GD20H and BSS138 among its other parts. Its parts include 10 capacitors, 7 ICs, 5 resistors, 2 diodes and 2 transistors. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

5

README

readme.md

This is an implementation of a quadcopter filght computer running baremetal on an atmega 328pb chip that takes input a standard hobby receiver and outputs pwm to esc's.

These directories contain the full firmware and the pcb design + gerber files.

As of right now, the system produces desirable results and has passed some basic functionality tests. I am currently waiting on a mechanical engineering student to finish designing the frame of the aircraft before further testing.

WORKING PRINCIPLE

text
As of right now, the system reads input from the receiver via an interrupt based (asynchronous approach). This, because of the 50Hz pwm encoding that the receiver emits is by far the slowest process.

Apart from this step, the rest of the processis synchronous and the loop goesas follows:

	1. The processor gathers data from the 2 on board sensors (accelerometer and gyroscope) via I2C.
	2. Using a modified version of the Kallman filter, the processor uses both pieces of data to determine the absolute position of the aircraft (with reference to gravity)
	3. A function gathers all the newest available data from the pilot and computes the pilots intention. (How should the aircraft bank and pitch and how strong should 		motor power be)
	4. A PID algorythim then uses the processed sensor data aswell, the processed pilot data and the previous cycle's data to compute 4 numbers that represent the 				percentage of full power that each motor should run at to best achieve the pilot's wishes
	5. Those numbers are encodedinto values that the pwm chip can understand and sent to it via I2C.
	6. The process repeats

PURPOSE

text
The purose of this project was to familiarize myself with the basics of avr architecture, firmware design flow, communications between chips (I2C), pcb design flow etc.
It was also a way to enter the world of embedded design in aviation. 

I (Anthony Berbari) AM SOLELY RESPONSIBLE FOR ALL THE FIRMWARE AND HARDWARE DESIGN DONE ON THIS PROJECT.

Parts

37
QtyValueFootprintReferences
8Conn_01x03Pin_Headers:Pin_Header_Angled_1x03_Pitch2.54mmaileron(horitz)1, elevator(vert)1, motor1, motor2, motor3, motor4, rudder(yaw)1, throttle1
70.1uFCapacitors_SMD:C_0805_HandSolderingC1, C3, C4, C5, C7, C10, C11
310KResistors_SMD:R_0805_HandSolderingR3, R4, R5
210uFCapacitors_SMD:C_0805_HandSolderingC6, C8
2300Resistors_SMD:R_0805_HandSolderingR1, R2
2BSS138TO_SOT_Packages_SMD:SOT-23Q1, Q2
2NC7SZ157P6Xdigikey-footprints:SOT65P210X110-6NIC1, IC2
2SPX1117M3-L-1-5digikey-footprints:SOT230P700X180-3NU3, U4
110nFCapacitors_SMD:C_0805_HandSolderingC9
1ATMEGA328-AUHousings_QFP:TQFP-32_7x7mm_Pitch0.8mmU1
1Conn_01x02Pin_Headers:Pin_Header_Angled_1x02_Pitch2.54mmJ2
1L3GD20Hdigikey-footprints:LGA(3X3X1.0-16L)IC3
1LIS3DHTRdigikey-footprints:VFLGA-16_3x3mmU2
1PCA9685PW_112digikey-footprints:TSSOP-28_W4.40mmPWMdriver1
1greenLEDs:LED_0805_HandSolderingD1
1programmerPin_Headers:Pin_Header_Angled_2x03_Pitch2.54mmJ1
1redLEDs:LED_0805_HandSolderingD2

More from Fberbari/AAquad

1
  • 2 layers55.6 × 48.8 mmAAquad PCB, the printed circuit board in 3D

    AAquad PCB

    Fberbari/AAquad

    (OUTDATED, see AAQuad-Evolution) a baremetal implementation of a multirotor flight computer.

    38 partsGPL-3.0

Similar boards

  • 4 layers65 × 56 mmI2S Hat, the printed circuit board in 3D

    I2S Hat

    raptorlightning/I2S-Hat

    An SPDIF Hat for the Raspberry Pi 2-X for SPDIF Communication

    98 parts19GPL-3.0
  • 2 layers110 × 110 mmFreeDSP aurora, the printed circuit board in 3D

    FreeDSP aurora

    freeDSP/freeDSP-aurora

    freeDSP ADAU1452 with 8 analog input, 8 analog outputs, S/P-DIF I/O, ADAT I/O, USB Audio Class2, WiFi, Bluetooth

    506 parts226CC-BY-SA-4.0
  • 2 layers50 × 50 mmDemo a16a, the printed circuit board in 3D

    Demo a16a

    bfarago/kicad_xmos

    kicad library for xmos devices

    50 parts5LGPL-3.0
  • 2 layers58 × 84 mmZeroPCB, the printed circuit board in 3D

    ZeroPCB

    dangorogoro/DangoromouseZero-PCB

    97 parts3
  • 4 layers81.1 × 85 mmSTS1 EDU V3 0, the printed circuit board in 3D

    STS1 EDU V3 0

    SpaceTeam/STS1_EDU_Hardware

    Contains all Hardware Informations from EDU 2.6 onwards

    108 parts2
  • 4 layers140.6 × 108.1 mmDrone, the printed circuit board in 3D

    Drone

    iridia-ulb/drone-pcb

    Printed circuit board for the drone

    228 parts1
  • 2 layers152 × 85 mmLabio, the printed circuit board in 3D

    Labio

    rishabh110493/14-642

    Work Done in Embedded Systems as a part of course

    238 parts1

Questions

How big is the AAquad PCB PCB?

It measures 69.2 × 47.6 mm and has 2 copper layers, 1.6 mm thick.

What parts does the AAquad PCB use?

37 parts, built around the ATMEGA328-AU, NC7SZ157P6X, SPX1117M3-L-1-5 and L3GD20H. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the AAquad PCB KiCad files?

From the Fberbari/AAquad repository on GitHub, at the commit this page was made from: the board is AAquad_PCB/AAquad_PCB.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the AAquad PCB design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).