summary.
Edit me

AIOT RASPI project overview

  • Arduino ESP8266 drone
  • Raspberry Pi integration

Ch3. Final preparation

  • ESP8266 connection
Pin: Function    
RX: It receives data VCC: Power pin (usually 3.3V maximum) GPIO 0: General purpose input output pin 0 RESET: It is a reset pin CH_PD: Chip power down pin GPIO 2: General purpose input output pin 2 TX: It transmits data GND: Ground pin image image
  RX - 3, TX - 2, VCC - 3V, CH_PD - 3V image
  • adding blynk library to Sketch/Include Library of IDE libr_git

greenlight

  • follow these steps below for initial setup
    • From the app, 1. Enter a project name, 2. Choose a device.
    • You will receive an email assoicated with the app’s account and also the same auth token can be found in the project settings. token image

Ch2. Assembling

   
- connections image
- 8 types of pins on ardupilot image
- cable from ESC image (Signal/Power/Ground)
  • sensors of sonar, airspeed, voltage/current, compass
  • GPS for position holding, waypoints navigations
  • MUX for UART0, UART2, I2C, OSD
  • mode types
   
- RC mode types image
  • receiver connection
   
Pin 1: Roll/aileron Pin 2: Pitch/elevator Pin 3: Throttle Pin 4: Yaw/rudder Pin 5: Auxiliary channel 1 (for example, mode switch) Pin 6: Auxiliary channel 2 image

Binding transmitter to the receiver

  1. You can bind your transmitter with at least the following things. Note taht the binding process differs from teh RC receiver’s model to model. (binding cable, esc, servo motor, battery)

  2. Connect the binding cable to rc receiver on the BAT pinor B/VCC

  3. Tane an ESC to connect the signal, 5V and ground. (Remember, the outer pin of a row is for the ground, the middle pin is for 5V, and the inner pin is for the signal.)

Aero-dynamics

   
TAu, vector product of force (F), distance (r) image
0 is the angle between force and distance from the center of axis image
  • thrust is the product of pressure (P) and area (A), Thrust = P x A
   
image image

Thrust (T) will be proportional to the square of the angular velocity (w) of the propellers. The thrust is perpendicular to the Z direction of the drone.

image

Hovering

image

Rising

image

Dropping

image

Yaw

Yaw is the motion of the drone in the xy plane, or the horizontal plane as shown in the previous figure. The opposite kind of pair of propellers will create reaction movements. If the sum of all the movements of each propeller is equal to each other, then there is no yaw motion. But if there is difference movements between any pair of propellers, there will be yaw motion, and the drone will move, as shown in the following figure: image image

Pitch and roll

The pitch is the rotation of the drone in the Y direction, while the rotation along the X direction is known as roll or vice versa, depending on the front of the drone. This will happen if one pair of opposite propellers provide, thrust more than the other two propellers.

Ch1. Background concept

packt_book

$\displaystyle \frac{\partial f}{\partial x}$

math-writing

\begin{equation} \left(\frac{xdx}{dy} -\frac{ydy}{dx}\right)^{2} \ ,\ [\vec{F} =m\vec{a}] \ ,\ \left| \frac{a}{b}\right| \ \left\Vert \frac{a}{b}\right\Vert \ \left< \frac{a}{b}\right> \left{\sqrt{a+\sqrt{a+\sqrt{a}}}\rightarrow \infty \right} \end{equation}

image

If P is the payload capacity of your drone (how much your drone can lift. I’ll explain how you can find it), M is the number of motors, W is the weight of the drone itself, and H is the hover throttle % (will be explained later). Then, our thrust of the motors T will be as follows:

image

The drone’s payload capacity can be found with the following equation:

image

  • FCs on the market
+KK 2.0
-CC3D
+Naze32
-KISS
+ArduPilot
-Vector
+3DR Pixhawk
-DJI Naza M
+LUX flight controller
-DJI A3
  • battery If the current is I, battery capacity is C, and discharge rate is D, then the instantaneous current draw isI = C X D

5000mAh with discharging rate of 10C would be ` I = 5.0 x 10 = 50A`