2016-08-11 11:49:46 +08:00
|
|
|
# Avem :bird:
|
2016-08-14 16:29:24 +08:00
|
|
|
[![Build Status](https://travis-ci.org/but0n/Avem.png)](https://travis-ci.org/but0n/Avem)
|
2016-08-14 16:01:44 +08:00
|
|
|
|
2016-08-10 23:31:28 +08:00
|
|
|
[UAV] - [STM32F103] - 6 Axes sensor MPU6050 - Quaternion & Euler Angles Compute - PID Controller
|
2016-08-11 11:45:51 +08:00
|
|
|
|
2016-09-06 16:52:16 +08:00
|
|
|
# GPIO
|
|
|
|
MPU6050 | BLDC | Wi-Fi | OLED Screen | LED
|
|
|
|
:------:|:----:|:-----:|:-----------:|:---
|
|
|
|
**`SCL`** PB15|**`PWM`** PA7|**`USART3_TX`** PB10|**`SDIN`** *TBD*|**`LED0`** PA8
|
|
|
|
**`SDA`** PB13||**`USART3_RX`** PB11|**`SCLK`** *TBD*|**`LED1`** PD2
|
|
|
|
**`AD0`** PC6 |||**`DC`** *TBD*
|
|
|
|
||||**`RST`** *TBD*
|
|
|
|
||||**`CS`** *TBD*
|
|
|
|
|
2016-08-15 00:57:32 +08:00
|
|
|
# Todolist
|
|
|
|
* Software **I2C**
|
|
|
|
* Init **MPU6050**
|
|
|
|
* Get 3 axes `Gryo` and 3 axes `Accel` data from MPU6050
|
|
|
|
* Cumpute Quaternion and **Euler** Angles
|
|
|
|
* **PWM** output
|
|
|
|
* Driving motors with **L9110S**
|
|
|
|
* **PID** Control
|
|
|
|
* Schematic
|
2016-08-17 15:29:38 +08:00
|
|
|
* PCB Layout (*Now I'm watting for PCB*)
|
2016-08-21 22:54:45 +08:00
|
|
|
* 使用PWM外接商品电调驱动无刷电机-[Video on YouTube](https://youtu.be/iHYVgTmxoSw)
|
2016-09-05 21:56:02 +08:00
|
|
|
* **Wi-Fi**(`ESP8266`)
|
2016-08-15 00:57:32 +08:00
|
|
|
* PID debug
|
|
|
|
* Design **frame**
|
2016-08-17 15:29:38 +08:00
|
|
|
* **GPS**
|
2016-08-15 00:57:32 +08:00
|
|
|
* 3D print or CNC cut
|
|
|
|
* ... ...
|
|
|
|
|
|
|
|
----
|
|
|
|
|
2016-08-11 11:45:51 +08:00
|
|
|
# Software
|
|
|
|
|
|
|
|
:octocat:[but0n/MPU6050_stm32](https://github.com/but0n/MPU6050_stm32)
|
|
|
|
|
|
|
|
#Hardware
|
|
|
|
|
2016-08-12 00:50:20 +08:00
|
|
|
## 3D Moudle
|
|
|
|
|
2016-08-15 01:09:49 +08:00
|
|
|
![](rm_img/PCB/3dpcb.png)
|
|
|
|
|
2016-08-12 00:50:20 +08:00
|
|
|
## PCB Layout
|
|
|
|
|
2016-08-13 10:54:39 +08:00
|
|
|
![](rm_img/PCB/pcb.png)
|
2016-08-12 00:50:20 +08:00
|
|
|
|
|
|
|
## Schematic
|
|
|
|
|
2016-08-11 11:45:51 +08:00
|
|
|
### Microcontroller -- STM32F103
|
2016-08-17 10:59:03 +08:00
|
|
|
![](rm_img/stm.png)
|
2016-08-11 11:45:51 +08:00
|
|
|
|
|
|
|
### 3.3v Power supply (DC2DC)
|
|
|
|
![](rm_img/1117.png)
|
|
|
|
|
|
|
|
### RESET
|
|
|
|
![](rm_img/reset.png)
|
|
|
|
|
|
|
|
### OSC
|
|
|
|
![](rm_img/osc.png)
|
|
|
|
|
|
|
|
### USART In-System Programming
|
|
|
|
![](rm_img/usart.png)
|
|
|
|
|
|
|
|
### Motor driver
|
|
|
|
![](rm_img/l9110.png)
|
|
|
|
|
|
|
|
### MPU6050
|
|
|
|
![](rm_img/mpu6050.png)
|
|
|
|
|
2016-08-17 15:36:39 +08:00
|
|
|
### MOTORS 4-CHANNEL LEFT & 4-CHANNEL RIGHT
|
2016-08-11 11:49:46 +08:00
|
|
|
![](rm_img/motors.png)
|