GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - RCmags/ServoFlappingControl: :bird: Arduino sketch to control the servos of an RC ornithopter.

BranchesTags
Open more actions menu

Latest commit

 

History

67 Commits
67 Commits

Folders and files

NameName
Last commit message
Last commit date
controller-attiny85
controller-attiny85
 
 
controller-nano
controller-nano
 
 
images
images
 
 
README.md
README.md
 
 

Repository files navigation

Servo controller for an ornithopter ✈️ 🐦

This sketch controls the servos used to power an RC ornithopter (Flapping MAV). Each servo is connected to a wing and flapped independently.

How it works

The program is designed to receive 4 PWM inputs from an RC receiver operating in MODE 2 and will output 4 PWM signals for off-the-shelf 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 the 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.

The throttle channel (3) controls the amplitude of a fixed-frequency oscillation. By default, the waveform is a triangle-wave, but the throttle can also be used to truncate 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 very abrupt and stressful. The truncated-wave eases this transition while increasing power compared to a triangle wave.

The rudder channel (4) is used to assymetrically vary the amplitude of the wings.

Schematics

Nano: While the program was written for an Arduino Nano, it should be compatible with similar boards. If you don't use tail servos, simply remove them from the circuit and disable their code using the parameters.h file.

DigiSpark ATTiny85: As this microcontroller has fewer pins, it does not support tail servos or a rudder channel. Instead the assymetric amplitude can be mixed into the assymetric dihedral.

Dependencies

The ATTiny code requires ATTinyCore to compile.

Example

See: explanation and operation of the servo controller

About

🐦 Arduino sketch to control the servos of an RC ornithopter.

Topics

airplanearduinobirddiyelectronicsflapping-mavflight-controllerinsectornithopterradio-controlservoservo-controlservo-controller

Resources

Readme
Activity

Stars

19 stars

Watchers

1 watching

Forks

5 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.