Skip to content

Embedded software for the Seeed XIAO BLE Sense nrf52840, designed for coordinated multi-actuator control of morphing-wing UAVs for locomotion and flight. It enables two-way BLE communication with a CLI for onboard command decoding, parameter tuning, and throughput data transmission of IMU and current sensor feedback to a PC. Built with PlatformIO.

Notifications You must be signed in to change notification settings

mohammad-askari/PerchClimb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To run the code on a microcontroller

Upload the code using PlatformIO extension of Visual Studio Code.

To run the python script

First install the required package:

pip3 install bleak asyncio

then navigate to the pc-remote folder and run the script:

python3 perchClimbClient.py

The python script should connect to the board automatically.

Use terminal to send predefined commands (send help for full command list preview).

To enable manual control using a transmitter

Connect to PC a transmitter via USB or wirelessly via an RF siumaltor dongle (e.g., FrSky XSR-SIM).

Then install the PySticks package by navigating to its directory and runing the script:

sudo python3 setup.py install

You should now modify the joystick axes in the main python script to send desired commands and switch to manual control mode to override regular Serial <-> BLE communication interface.

Microcontroller info:

  • Board: from Seeed Studio -> XIAO BLE nRF52840 Sense
  • Programmer: based on Adafruit FreeRTOS core implementation (not the mbed-enabled core)
  • Framework: based on Arduino codebase
  • Code Development: VSCode -> PlatformIO

About

Embedded software for the Seeed XIAO BLE Sense nrf52840, designed for coordinated multi-actuator control of morphing-wing UAVs for locomotion and flight. It enables two-way BLE communication with a CLI for onboard command decoding, parameter tuning, and throughput data transmission of IMU and current sensor feedback to a PC. Built with PlatformIO.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •