diff --git a/README.md b/README.md index caed4e8..8d277c7 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ Additional articles: |*Boost converter (optional, for more stable power supply)*|*5V output*||1| |Motor|8520 3.7V brushed motor.
Motor with exact 3.7V voltage is needed, not ranged working voltage (3.7V — 6V).
Make sure the motor shaft diameter and propeller hole diameter match!||4| |Propeller|55 mm or 65 mm||4| -|MOSFET (transistor)|100N03A or [analog](https://t.me/opensourcequadcopter/33)||4| +|MOSFET (transistor)|UMW 100N03A or [analog](https://t.me/opensourcequadcopter/33).
Warning: don't use KIA 100N03A or other manufacturers, they might not work!||4| |Pull-down resistor
Voltage measurement resistor|10 kΩ||6| |3.7V Li-Po battery|LW 952540 (or any compatible by the size).
Make sure the battery has enough discharge rate — 25C or more!||1| |Battery connector cable|MX2.0 2P female||1| diff --git a/docs/img/user/alicanerus/1.jpg b/docs/img/user/alicanerus/1.jpg new file mode 100644 index 0000000..4a24355 Binary files /dev/null and b/docs/img/user/alicanerus/1.jpg differ diff --git a/docs/img/user/alicanerus/2.jpg b/docs/img/user/alicanerus/2.jpg new file mode 100644 index 0000000..fffa367 Binary files /dev/null and b/docs/img/user/alicanerus/2.jpg differ diff --git a/docs/img/user/alicanerus/3.jpg b/docs/img/user/alicanerus/3.jpg new file mode 100644 index 0000000..b2df9a5 Binary files /dev/null and b/docs/img/user/alicanerus/3.jpg differ diff --git a/docs/user.md b/docs/user.md index a00b137..95a0519 100644 --- a/docs/user.md +++ b/docs/user.md @@ -4,6 +4,15 @@ This page contains user-built drones based on the Flix project. Publish your pro --- +Author: Alican Erüst.
+Description: QX95 mm frame, 55 mm propellers, 3.7 V 25C 1050 mAh LiPo battery, MPU6050 IMU, Logitech F310 gamepad controller, with a total quadcopter weight of 66 g. + + + +[Flight video](https://drive.google.com/file/d/1k0WeWTKnCAfaugkX7LcmNxsUuq79RL8Z/view?usp=sharing). + +--- + Author: [Неруш Михаил](https://t.me/NerushMV).
Description: custom frame made of 4 mm plywood, 8520 brushed motors, 75 mm propellers, MPU-6500. FlySky FS-i6X with ESP32-based adapter for ESP-NOW communication (using PPM output).
Sources and materials: [link](https://drive.google.com/drive/folders/1uWiDcuorLrtVs_IIR7Y13omij-7Q1nx8). diff --git a/flix/cli.ino b/flix/cli.ino index 6da9471..cbbd66e 100644 --- a/flix/cli.ino +++ b/flix/cli.ino @@ -50,8 +50,8 @@ const char* motd = "sta - configure Wi-Fi client mode\n" "espnow [] - configure ESP-NOW peer\n" "mot - show motor output\n" +"mfr/mfl/mrr/mrl [] - test motor (remove props)\n" "log [dump] - print log header [and data]\n" -"mfr, mfl, mrr, mrl - test motor (remove props)\n" "log - show log info\n" "log header - show log header\n" "log reset - reset log\n" @@ -176,13 +176,13 @@ void doCommand(String str, bool echo = false) { } else if (command == "ca") { calibrateAccel(); } else if (command == "mfr") { - testMotor(MOTOR_FRONT_RIGHT); + testMotor(MOTOR_FRONT_RIGHT, arg0.isEmpty() ? 0.2 : arg0.toFloat()); } else if (command == "mfl") { - testMotor(MOTOR_FRONT_LEFT); + testMotor(MOTOR_FRONT_LEFT, arg0.isEmpty() ? 0.2 : arg0.toFloat()); } else if (command == "mrr") { - testMotor(MOTOR_REAR_RIGHT); + testMotor(MOTOR_REAR_RIGHT, arg0.isEmpty() ? 0.2 : arg0.toFloat()); } else if (command == "mrl") { - testMotor(MOTOR_REAR_LEFT); + testMotor(MOTOR_REAR_LEFT, arg0.isEmpty() ? 0.2 : arg0.toFloat()); } else if (command == "sys") { #ifdef ESP32 print("Chip: %s\n", ESP.getChipModel()); diff --git a/flix/motors.ino b/flix/motors.ino index 39c5768..959a951 100644 --- a/flix/motors.ino +++ b/flix/motors.ino @@ -51,9 +51,9 @@ bool motorsActive() { return motors[0] != 0 || motors[1] != 0 || motors[2] != 0 || motors[3] != 0; } -void testMotor(int n) { +void testMotor(int n, float thrust) { print("Testing motor %d\n", n); - motors[n] = 0.2; + motors[n] = thrust; delay(50); // ESP32 may need to wait until the end of the current cycle to change duty https://github.com/espressif/arduino-esp32/issues/5306 sendMotors(); pause(3); diff --git a/gazebo/flix.h b/gazebo/flix.h index 49f0f70..217c1a5 100644 --- a/gazebo/flix.h +++ b/gazebo/flix.h @@ -38,7 +38,7 @@ const char* getModeName(); void sendMotors(); int getDutyCycle(float value); bool motorsActive(); -void testMotor(int n); +void testMotor(int, float); void print(const char* format, ...); void pause(float duration); void doCommand(String str, bool echo);