

Upper board
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
6CH340C
SOP-16-20℃~+70℃ 2Mbps 3.3V、5V 50uA 7mA Transceiver USB 2.0 SOP-16 USB Converters ROHSWCH (Nanjing Qinheng Microelectronics)USB ConvertersBMP280
LGA-8(2x2.5)-40℃~+85℃ 0.12hpa 1.5pa/K 1.71V~3.6V 1hpa 300nA 30Kpa~1.1bar I2C、SPI Integrated ADC and digital interface、On-chip calibration and non-volatile storage、Standby mode、On-chip temperature output LGA-8(2x2.5) Pressure Sensors ROHSBoschPressure SensorsIST8310
LGA-16(3x3)-40℃~+85℃ 14bit 600uA I2C ±1.6mT ±2.5mT LGA-16(3x3) 3D Magnetic SensorsiSentek3D Magnetic SensorsW25Q128JVSIQ
SOIC-8-208mil-40℃~+85℃ 100,000 cycles 120ms@(32KB) 128Mbit 133MHz 1uA 2.7V~3.6V 20 Years 3ms Power-on reset、Hardware write protection、Software write protection、Write enable latch、Absolute write protection SPI SOIC-8-208mil NOR FLASH ROHSWinbondNOR FLASHBMI160
LGA-14(2.5x3)-40℃~+85℃ 1.71V~3.6V 10uA 16bit 1KB IMU (accelerometer + gyroscope) Motion event detection、Synchronization and timestamp SPI、I2C X,Y,Z X,Y,Z ±16g ±2000dps LGA-14(2.5x3) Accelerometers ROHSBosch SensortecAccelerometersICM-20602
LGA-16(3x3)-40℃~+85℃ 1.71V~3.45V 16bit 1KB 6uA IMU (accelerometer + gyroscope) SPI、I2C X,Y,Z X,Y,Z ±16g ±2000dps 运动事件检测 LGA-16(3x3) Accelerometers ROHSTDK InvenSenseAccelerometers
README
README.md404APDdemo
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
硬件设计
分电板设计
- 20v 转 5v TPS5430DA
- 5v-3v飞控 1117 33 电池直接供电4个电调,电调电路上需要做滤波
- 接收机插座,ppm连接供电板
需求分析
- 为四个最大放电电流为30A的电调供电
- 为飞行控制板供电5V 3A
- 为飞行主机供电5V3A // 后期会变为12V供电
飞行控制版设计
h750vbt6 //
需求分析
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. 晶振高级图形计算平台选择
前期使用单目摄像头以及树莓派进行验证;后期会换到双目摄像头和图像算力平台进行实验
图像平台需要转接板:
- 双目/单目摄像头 // 2021 2.6 首先选用港科大的单目SLAM项目,结合IMU构建地图
- GPS/?
Parts
125| Qty | Value | Footprint | References |
|---|---|---|---|
| 39 | 22 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R10, R12, R13, R14, R15, R16, R17, R18, R19, R22, R23, R24, R27, R28, R29, R30 +23 |
| 15 | 4.7k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R1, R2, R4, R5, R6, R7, R26, R31, R32, R56, R57, R65, R67, R68, R71 |
| 13 | 100nF | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C5, C6, C9, C14, C15, C16, C17, C18, C19, C22, C24, C27, C28 |
| 12 | LED_Small | LED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolder | D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12 |
| 5 | 0.1uF | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C8, C20, C25, C29, C30 |
| 5 | 10k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R20, R59, R64, R66, R70 |
| 4 | 10uF | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C7, C10, C11, C13 |
| 4 | 12pF | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C1, C2, C3, C4 |
| 4 | MountingHole_Pad | MountingHole:MountingHole_3.2mm_M3_DIN965_Pad | H1, H2, H3, H4 |
| 2 | 10K | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R3, R69 |
| 1 | 10nF | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C23 |
| 1 | 2.2uF | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C21 |
| 1 | 22uF | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C12 |
| 1 | 32.768kHz | upper_board:LSE_3215 | Y1 |
| 1 | 32MHz | Oscillator:Oscillator_SMD_Abracon_ASE-4Pin_3.2x2.5mm_HandSoldering | Y2 |
| 1 | 4.7uF | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C26 |
| 1 | AP1117-33 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U3 |
| 1 | BMI160 | Package_LGA:Bosch_LGA-14_3x2.5mm_P0.5mm | U6 |
| 1 | BMP280 | Package_LGA:Bosch_LGA-8_2x2.5mm_P0.65mm_ClockwisePinNumbering | U8 |
| 1 | CH340C | Package_SO:SOIC-16_3.9x9.9mm_P1.27mm | U1 |
| 1 | Conn_01x03 | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J6 |
| 1 | Conn_01x05_Male | Connector_PinSocket_2.54mm:PinSocket_1x05_P2.54mm_Vertical | SWD1 |
| 1 | Conn_02x03_Counter_Clockwise | Connector_PinHeader_1.27mm:PinHeader_2x03_P1.27mm_Vertical_SMD | J2 |
| 1 | Conn_02x07_Counter_Clockwise | Connector_PinHeader_2.54mm:PinHeader_2x07_P2.54mm_Vertical_SMD | J3 |
| 1 | Conn_02x08_Counter_Clockwise | upper_board:BLT_foot print | J4 |
| 1 | ICM-20602 | Package_LGA:LGA-16_3x3mm_P0.5mm_LayoutBorder3x5y | U5 |
| 1 | IST8310 | Package_LGA:LGA-16_3x3mm_P0.5mm | U7 |
| 1 | LOGO | batt_board:small_404APD | G*** |
| 1 | SW_Push | upper_board:push_botton | SW1 |
| 1 | USBC_16P_4MP-connector | Connector_USB:USB_C_Receptacle_Palconn_UTC16-G | J1 |
| 1 | W25Q128JVS | Package_SO:SOIC-8_5.23x5.23mm_P1.27mm | U4 |
| 1 | mcu_STM32H750VBT6 | Package_QFP:LQFP-100_14x14mm_P0.5mm | U2 |
More from Peize-Liu/404APDdemo
2- 2 layers50 × 50 mm

- 2 layers50 × 50 mm

Similar boards
- 4 layers65 × 30 mm

- 4 layers90 × 90 mm

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 mm

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 mm

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 mm

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 mm

- 8 layers31.3 × 26 mm

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 mm

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.