Skip to the content
2 layers50 × 50 mmUpper board, the printed circuit board in 3D

404 auto pilot drone demo

Size
50 × 50 mm
Copper layers
2
Thickness
1.6 mm
Parts
125
Nets
181
Pads
466
Tracks, vias
1,146, 207
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
6 Feb 2021
Updated
16 Aug 2021

Overview

Upper board is an open-source printed circuit board by Peize-Liu, from the Peize-Liu/404APDdemo repository on GitHub. It is a 2-layer board of 50 × 50 mm with 125 parts on 181 nets, routed with 1,146 tracks and 207 vias.

It is built around the CH340C, BMP280 and IST8310, with the W25Q128JVSIQ, BMI160 and ICM-20602 among its other parts. Its parts include 61 resistors, 30 capacitors, 12 diodes, 8 ICs and 5 connectors. It belongs with the STM32 boards of this library.

Main components

6

README

README.md

404APDdemo

404 auto pilot drone demo 本工程已经转移到gitee进行维护: this project is transported to gitee with following website: https://gitee.com/mortyliu/UESTC_404APD

2021 年 8月16日: 大家好,因为github 的dns 污染,国内网络经常出现无法上传和下拉提交的问题,所以现在整个工程都会在gitee:https://gitee.com/mortyliu/UESTC_404APD 上进行维护。同时也来说一下最近做的一些事情。

从做四轴飞行器开始,我的梦想就是到大疆联合实验室深造。所以从四月考完托福后,就开始着手看vSLAM 的内容,直到七月中旬,我算是把60-70%的数学坑填平了,来来回回李群和李代数 反复推演了六七遍,将ORB-SLAM1的论文看了四五遍,算是把大概结构理清楚了。 接着7月份我开始优化飞行控制器的硬件设计,以及重新学习了AHRS的相关内容,之前对于AHRS都是拿着别人的代码直接使用就完了,并没有深度去理解里面的数学原理(非线性优化,刚体运动学等)。这一次是将整个姿态解算的过程从论文到代码完全看了一遍,同时调通了所有的传感器,将算法适配到了404APD上。在这之后看了一些关于PID更深的研究,了解了一些模糊PID的内容和一些PID为基础的改进算法。个人认为可以在项目最后进行实现。 8月开始,我开始着手404APD上的RTOS的移植,其实Nuttx的移植已经想了大半年了,但是因为缺少相关的资料,感觉壁垒有一点高,一直没有去深度的做。半年后的8月,我再来看nuttx的kernel代码的时候,突然感觉茅塞顿开了(可能是这半年的实习对于嵌入式linux有了一些基本的了解),所以在这半个月中,我从头到尾阅读了nuttx的官方文档,目前感觉是可以开工移植了,目前预估的工作量为两周,也就是到9月1日,大部分的移植工作应该是可以完成了。 说到这还是说一句有的没的,关于为什么使用nuttx作为404APD的RTOS。 首先,Nuttx是一个累unix的RTOS,以及仿照linux内核设计。所以个人认为使用nuttx作为深度了解linux内核的第一步还是非常有价值的。其次,Nuttx最近的开发者会议中,大家的目标都是将nuttx和ROS结合,设计一个为机器人控制专门优化的MCU级RTOS,这个想法和我一开始的想法不谋而合,使用带ROS的嵌入式算力平台控制带ROS部分组件的nuttx,形成一个分布式的机器人系统。这样的结构将会让开发者更加专注于自己的层级。 最后,Nuttx在国内算比较小众的RTOS,相关资料比较缺乏,如果能够将自己的移植过程留下完整的文档,对于中文开发者将会提供不少的帮助,同时也为后面想要继续完善404APD的开发者铺平一些道路。

回到正题,和公司算法前辈聊了聊对于以后的安排,他还是非常认可404APD这个项目的,但是他也提出了一些关于为什么要做404APD的问题。目前我觉得只能说是作为工科男,一切以帅和好玩为基准,但是同时,也应该想的更多。希望404APD能够成为一个平台,和404的同学们一起研究更多嵌入式系统相关和机器人感知相关的课题,也许以后404APD能够发展为像匿名飞控,或者其他机器人圈一样的开发者群体,我认为将会是一件能让我觉得自豪一辈子的事情。

至此,希望自己能够更努力一点,把这个事情做好吧。

文件层次分为

  • Algorithm: includes Algorithm related to the projects(SLAM \ Quarternion )
  • Book: includes books and files of related knowledge that are used in the projects. I will write reference at every fuction realization.
  • Hardware_design: fly control board design and other PCB used in the project.
  • Hardware_design_doc : documents of chips which are used in the PCB design
  • Software: includes fly control codes and SLAM codes; the codes realization.

I will mainly use english in 404APDdemo which from my point of view forces me to adpat future reaserch work enviroments and work flow and to some extends,is an interesting project to practice and be familiar with the academic terms.

The project is conjured up by Morty-Liu Evan-Guo and Nick-Zheng and unsuitable explaination and declaration about the project is inevitable.

INTRODUCTION

404SLAM UAV Platform

404APD 目标是建立一个能够稳定飞行,通过双目SLAM以及其他传感器完成自主路径选择和地图绘制的的无人机。

无人机能够高速穿越复杂环境; 通过GPS和IMU模块完成自动返航和目标点规划,飞行路径规划。

How to start

硬件设计

分电板设计
  1. 20v 转 5v TPS5430DA
  2. 5v-3v飞控 1117 33 电池直接供电4个电调,电调电路上需要做滤波
  3. 接收机插座,ppm连接供电板
需求分析
  1. 为四个最大放电电流为30A的电调供电
  2. 为飞行控制板供电5V 3A
  3. 为飞行主机供电5V3A // 后期会变为12V供电
飞行控制版设计

h750vbt6 //

需求分析
text
1. 双冗余IMU
	IMU 选择
	icm20602(0) // 6轴
	icm20649 //bmi088(0)
	hmc5883? // spl06 // ist8310(0)

2. 4路PWM-》电调
3. 一路PPM《-接收机 
4. 一路调试串口
5. 稀疏光流模块
6. 激光测距模块
7. 一路串口GPS
8. 一路JTAG
9. 晶振
高级图形计算平台选择

前期使用单目摄像头以及树莓派进行验证;后期会换到双目摄像头和图像算力平台进行实验

图像平台需要转接板:

  1. 双目/单目摄像头 // 2021 2.6 首先选用港科大的单目SLAM项目,结合IMU构建地图
  2. GPS/?

Parts

125
QtyValueFootprintReferences
3922Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR10, R12, R13, R14, R15, R16, R17, R18, R19, R22, R23, R24, R27, R28, R29, R30 +23
154.7kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1, R2, R4, R5, R6, R7, R26, R31, R32, R56, R57, R65, R67, R68, R71
13100nFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC5, C6, C9, C14, C15, C16, C17, C18, C19, C22, C24, C27, C28
12LED_SmallLED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12
50.1uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC8, C20, C25, C29, C30
510kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR20, R59, R64, R66, R70
410uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC7, C10, C11, C13
412pFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC1, C2, C3, C4
4MountingHole_PadMountingHole:MountingHole_3.2mm_M3_DIN965_PadH1, H2, H3, H4
210KResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR3, R69
110nFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC23
12.2uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC21
122uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC12
132.768kHzupper_board:LSE_3215Y1
132MHzOscillator:Oscillator_SMD_Abracon_ASE-4Pin_3.2x2.5mm_HandSolderingY2
14.7uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC26
1AP1117-33Package_TO_SOT_SMD:SOT-223-3_TabPin2U3
1BMI160Package_LGA:Bosch_LGA-14_3x2.5mm_P0.5mmU6
1BMP280Package_LGA:Bosch_LGA-8_2x2.5mm_P0.65mm_ClockwisePinNumberingU8
1CH340CPackage_SO:SOIC-16_3.9x9.9mm_P1.27mmU1
1Conn_01x03Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ6
1Conn_01x05_MaleConnector_PinSocket_2.54mm:PinSocket_1x05_P2.54mm_VerticalSWD1
1Conn_02x03_Counter_ClockwiseConnector_PinHeader_1.27mm:PinHeader_2x03_P1.27mm_Vertical_SMDJ2
1Conn_02x07_Counter_ClockwiseConnector_PinHeader_2.54mm:PinHeader_2x07_P2.54mm_Vertical_SMDJ3
1Conn_02x08_Counter_Clockwiseupper_board:BLT_foot printJ4
1ICM-20602Package_LGA:LGA-16_3x3mm_P0.5mm_LayoutBorder3x5yU5
1IST8310Package_LGA:LGA-16_3x3mm_P0.5mmU7
1LOGObatt_board:small_404APDG***
1SW_Pushupper_board:push_bottonSW1
1USBC_16P_4MP-connectorConnector_USB:USB_C_Receptacle_Palconn_UTC16-GJ1
1W25Q128JVSPackage_SO:SOIC-8_5.23x5.23mm_P1.27mmU4
1mcu_STM32H750VBT6Package_QFP:LQFP-100_14x14mm_P0.5mmU2

More from Peize-Liu/404APDdemo

2
  • 2 layers50 × 50 mmUpper board, the printed circuit board in 3D

    Upper board

    Peize-Liu/404APDdemo

    404 auto pilot drone demo

    124 parts9
  • 2 layers50 × 50 mmBatt board, the printed circuit board in 3D

    Batt board

    Peize-Liu/404APDdemo

    404 auto pilot drone demo

    54 parts9

Similar boards

  • 4 layers65 × 30 mmRbpi z hat, the printed circuit board in 3D

    Rbpi z hat

    chipiki/PXFmini_v2

    It's attempt to make a second version of died project PXFmini

    119 parts7
  • 4 layers90 × 90 mmFlightControllerv1.0, the printed circuit board in 3D

    FlightControllerv1.0

    EE-crisrmh/VIGIL-Systems

    an autonomous drone that patrols a building at night, so a guard doesn't have to walk it alone.

    110 partsMIT
  • 2 layers40 × 78 mmHardware v2, the printed circuit board in 3D

    Hardware v2

    rmingon/Falcon-Edge

    A 3D-printable flying-wing airframe with a custom ESP32 flight computer—open hardware you can solder, screw together, and fly.

    56 parts11
  • 4 layers36 × 36 mmRl fc f405.routed, the printed circuit board in 3D

    Rl fc f405.routed

    GabuGravin41/rlpcb

    RL PCB sits beside KiCad and works like a senior hardware engineer looking over your shoulder. You describe what you want to build; it helps you choose real parts from your KiCad libraries, works out the values, places…

    65 parts2
  • 4 layers48.9 × 49.8 mmFC REV2, the printed circuit board in 3D

    FC REV2

    xXsenseiXx/KHATAF-F411

    Open-hardware 4-layer STM32F411 drone flight controller designed in KiCad for INAV and Betaflight.

    73 parts2
  • 8 layers30.4 × 25.2 mmUltimateFC, the printed circuit board in 3D

    UltimateFC

    crteensy/yolo-fc

    Yolo FC

    194 parts7CC-BY-SA-4.0
  • 8 layers31.3 × 26 mmUltimateFC v2, the printed circuit board in 3D

    UltimateFC v2

    crteensy/yolo-fc_1-3S

    1-3S capable variant of the Yolo flight controller

    192 parts4CC-BY-SA-4.0
  • 4 layers64.6 × 57.3 mmDragonfly, the printed circuit board in 3D

    Dragonfly

    Broccoliux/dragonfly

    A very cool, drone that can perform maneuvers.

    246 parts2MIT

Questions

How big is the Upper board PCB?

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

What parts does the Upper board use?

125 parts, built around the CH340C, BMP280, IST8310 and W25Q128JVSIQ. 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 Upper board KiCad files?

From the Peize-Liu/404APDdemo repository on GitHub, at the commit this page was made from: the board is Hardware_design/KICAD_project/upper_board/upper_board.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Upper board design in my own project?

Its repository states no licence, so its author keeps all rights: ask Peize-Liu before reusing the design.