Virginia
Published

AeroBat: Bee-Inspired Personal Flight Platform

AeroBat: Inspired by bees, humans can fly using lightweight motorized wings; fast flapping generates lift despite non-aerodynamic body

IntermediateWork in progress24 hours197
AeroBat: Bee-Inspired Personal Flight Platform

Things used in this project

Hardware components

Flight Controller (Brain of the system)
×1
GPS/Compass module compatible with Pixhawk
×1

Software apps and online services

PX4 Autopilot
NuttX RTOS
NuttX RTOS

Hand tools and fabrication machines

CNC Milling Machine
Laser Cutter / Laser Engraver
3D Printer (FDM / SLA)
Soldering Station, 110 V
Soldering Station, 110 V
Precision Screwdrivers / Hex Keys
Calipers & Micrometer
Drill / Rotary Tools (Dremel)

Story

Read more

Schematics

file_00000000cf58720ea8804c9eba41f786_iL2lc858Um.png

Code

wing movement

Python
This code simulates the wing motion of the AeroBat, a bee-inspired personal flight platform. It replicates the high-frequency flapping of wings to generate lift through unsteady aerodynamics, mimicking the Leading Edge Vortex (LEV) effect observed in bees. The pilot does not manually flap the wings; instead, they control the wing angle, which triggers automatic flapping. The code allows different flight modes—including hover, forward/backward translation, ascent, and landing—by adjusting wing angles and flapping frequency. Safety mechanisms, such as slower flapping during landing, are integrated to ensure controlled descent. This simulation demonstrates how automated wing actuation combined with adjustable wing angles can be used to control a human-scale flapping flight system.
# AeroBat Bee-Inspired Wing Control
# Simula batido de alas tipo abeja y control de ángulos para modos de vuelo

import time
import math

# Configuración inicial
wing_angle = 0        # grados: 0 = hover, 60 = landing
flap_frequency = 20   # Hz para simular batido rápido tipo abeja
mode = "hover"        # hover, forward, backward, turn, landing

def flap_motor(frequency):
    """Simula las vibraciones rápidas del ala, generando sustentación tipo abeja"""
    for i in range(5):
        vibration = math.sin(i * frequency * 2 * math.pi / 5)
        print(f"Motor vibrating: {vibration:.2f}")
        time.sleep(0.05)

def set_wing_angle(angle):
    """Ajusta el ángulo de las alas según modo de vuelo"""
    global wing_angle
    wing_angle = angle
    print(f"Wing angle set to {wing_angle}°")

def read_pilot_input():
    """Simula control del piloto: cambia modos de vuelo automáticamente"""
    # En proyecto real: reemplazar con botones, joystick o sensores
    return "landing"

# Ciclo de vuelo principal
while True:
    mode = read_pilot_input()
    
    if mode == "hover":
        set_wing_angle(0)
        flap_motor(flap_frequency)
    elif mode == "forward":
        set_wing_angle(-10)
        flap_motor(flap_frequency)
    elif mode == "backward":
        set_wing_angle(10)
        flap_motor(flap_frequency)
    elif mode == "landing":
        set_wing_angle(60)
        flap_motor(flap_frequency / 2)  # más lento para descender seguro
    elif mode == "ascent":
        set_wing_angle(0)
        flap_motor(flap_frequency + 5)  # más rápido para levantar

    time.sleep(0.5)

Credits

Virginia
1 project • 3 followers

Comments