Skip to content

Commit 810b84a

Browse files
committed
add fritzing diagrams
1 parent 49a072f commit 810b84a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ This Arduino sketch is the servo controller for an RC ornithopter (Flapping MAV)
55
The program is designed to receive 4 PWM inputs from an RC receiver operating in [MODE 2](https://www.rc-airplane-world.com/rc-transmitter-modes.html) and outputs 4 PWM signals for off-the-shelft hobby servos. Two servos control the wings and two servos control a V-tail. The aileron (1) and elevator (2) channels are used to modify the motion of the wings and to control the tail. The dihedral angle of the wings is altered in unison with elevator, while the aileron rotates them in opposite directions. Simultaneously, the frequency of the wing-oscillation can be modulated, such that the wings move faster during the downstroke or during the uptroke. Depending on whether this is done symmetrically or assymetrically, one can obtain pitch or roll control.
66

77
<p align="center">
8-
<img src = "/images/plot/triangle-fmod.png" width = "70%">
8+
<img src = "/images/plots/triangle-fmod.png" width = "70%">
99
</p>
1010

1111
The throttle channel (3) control the amplitude of a fixed-frequency oscillation. By the default, the waveform is a triangle-wave, but the throttle can also be used to trucante the wave so it looks more like a square wave. Using a square wave allows the servo to output more mechanical power, but the transition between strokes is abrupt. The truncated-wave eases this transition.
1212

1313
<p align="center">
14-
<img src = "/images/plot/triangle-truncation.png" width = "70%">
14+
<img src = "/images/plots/triangle-truncation.png" width = "70%">
1515
</p>
1616

1717
Lastly, rudder channel (4) is used to assymetrically vary the amplitude of the wings. While the program was written for an Arduino Nano but it should be compatible with other boards. See the attached schematic for an example of the required circuit:
@@ -26,7 +26,7 @@ __Nano__:
2626
__ATTiny__:
2727

2828
<p align="center">
29-
<img src = "images/diagrams/nano/schematic-attiny.png" width = "80%">
29+
<img src = "images/diagrams/attiny/schematic-attiny.png" width = "80%">
3030
</p>
3131

3232

0 commit comments

Comments
 (0)