Making an ESP32-based quadcopter from scratch
Python arduinoautopilotcontrol-theorydroneesp32flight-controlflight-controllermavlinkquadcopterquadcopter-firmwareuav
Some fixes and updates to readme and other articles
Oleg Kalachev87cf44371bc2
diff --git a/README.md b/README.mdindex 2e132db..ae0cabd 100644--- a/README.md+++ b/README.md@@ -54,7 +54,7 @@ See [instructions on running the simulation](docs/build.md).|-|-|:-:|:-:||Microcontroller board|ESP32 Mini|<img src="docs/img/esp32.jpg" width=100>|1||IMU (and barometer²) board|GY‑91 (or other MPU‑9250/MPU‑6500 board), ICM‑20948³|<img src="docs/img/gy-91.jpg" width=90 align=center><img src="docs/img/icm-20948.jpg" width=100>|1|-|Motor|8520 3.7V brushed motor (**shaft 0.8mm!**)|<img src="docs/img/motor.jpeg" width=100>|4|+|Motor|8520 3.7V brushed motor (shaft 0.8mm).<br>Motor with exact 3.7V voltage is needed, not ranged working voltage (3.7V — 6V).|<img src="docs/img/motor.jpeg" width=100>|4||Propeller|Hubsan 55 mm|<img src="docs/img/prop.jpg" width=100>|4||MOSFET (transistor)|100N03A or [analog](https://t.me/opensourcequadcopter/33)|<img src="docs/img/100n03a.jpg" width=100>|4||Pull-down resistor|10 kΩ|<img src="docs/img/resistor10k.jpg" width=100>|4|@@ -129,7 +129,7 @@ Complete diagram is Work-in-Progress.|Receiver pin|ESP32 pin||-|-||GND|GND|- |VIN|VC (or 3.3V depending on the receiver)|+ |VIN|VCC (or 3.3V depending on the receiver)||Signal|GPIO4⁶|*⁶ — UART2 RX pin was [changed](https://docs.espressif.com/projects/arduino-esp32/en/latest/migration_guides/2.x_to_3.0.html#id14) to GPIO4 in Arduino ESP32 core 3.0.*diff --git a/docs/build.md b/docs/build.mdindex 694283d..dadb2e6 100644--- a/docs/build.md+++ b/docs/build.md@@ -105,13 +105,15 @@ The latest version of Ubuntu supported by Gazebo 11 simulator is 20.04. If you h### Arduino IDE (Windows, Linux, macOS)1. Install [Arduino IDE](https://www.arduino.cc/en/software) (version 2 is recommended).-2. Install ESP32 core, version 3.1.0 (version 2.x is not supported). See the [official Espressif's instructions](https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html#installing-using-arduino-ide) on installing ESP32 Core in Arduino IDE.-3. Install the following libraries using [Library Manager](https://docs.arduino.cc/software/ide-v2/tutorials/ide-v2-installing-a-library):+2. Windows users might need to install [USB to UART bridge driver from Silicon Labs](https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers).+3. Install ESP32 core, version 3.1.0 (version 2.x is not supported). See the [official Espressif's instructions](https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html#installing-using-arduino-ide) on installing ESP32 Core in Arduino IDE.+4. Install the following libraries using [Library Manager](https://docs.arduino.cc/software/ide-v2/tutorials/ide-v2-installing-a-library):* `FlixPeriph`, the latest version.* `MAVLink`, version 2.0.12.-4. Clone the project using git or [download the source code as a ZIP archive](https://codeload.github.com/okalachev/flix/zip/refs/heads/master).-5. Open the downloaded Arduino sketch `flix/flix.ino` in Arduino IDE.-6. [Build and upload](https://docs.arduino.cc/software/ide-v2/tutorials/getting-started/ide-v2-uploading-a-sketch) the firmware using Arduino IDE.+5. Clone the project using git or [download the source code as a ZIP archive](https://codeload.github.com/okalachev/flix/zip/refs/heads/master).+6. Open the downloaded Arduino sketch `flix/flix.ino` in Arduino IDE.+7. Connect your ESP32 board to the computer and choose correct board type in Arduino IDE (*WEMOS D1 MINI ESP32* for ESP32 Mini) and the port.+8. [Build and upload](https://docs.arduino.cc/software/ide-v2/tutorials/getting-started/ide-v2-uploading-a-sketch) the firmware using Arduino IDE.### Command line (Windows, Linux, macOS)diff --git a/docs/version0.md b/docs/version0.mdindex f264fac..d8dd9c4 100644--- a/docs/version0.md+++ b/docs/version0.md@@ -27,4 +27,4 @@ Flix version 0 (obsolete):<img src="img/schematics.svg" width=800 alt="Flix schematics">-You can also check a user contributed [variant of complete circuit diagram](https://miro.com/app/board/uXjVN-dTjoo=/) of the drone.+You can also check a user contributed [variant of complete circuit diagram](https://miro.com/app/board/uXjVN-dTjoo=/?moveToWidget=3458764574482511443&cot=14) of the drone.