#Creating Custom Peripheral

18 messages · Page 1 of 1 (latest)

hasty ether
#

Hi everyone, I'm trying to create a custom peripheral for a payload on my quad! I want to learn, how I can implement code changes and add support for my custom peripheral. I am starting from basics, so the peripheral can control and external set of hardware and I want the status over telemetry! How can I implement this feature in betaflight and add support for telemetry as well.

FC ---> Payload (via UART)
|
|
telemetry --> Transmitter (via ELRS CRSF)

which then can be visible on the ELRS Telemetry screen, I can write the lua script for that!

Firmware: Betaflight 4.5.1
Configurator: 10.10.1
Flight Controller: SpeedyBee F405 v3

Edit: the Peripheral to be based on Arduino and communicate via UART to receive the Aux Values from Fc and return some statuses which should be shared with the Transmitter via Telemetry over CRSF (ELRS)

#firmware #feature #help

azure kelp
#

It depends on what type of peripheral what are you looking at?

#

So, you’re looking to send the signal to an Arduino

hasty ether
#

Edit: the Peripheral to be based on Arduino and communicate via UART to receive the Aux Values from Fc and return some statuses which should be shared with the Transmitter via Telemetry over CRSF (ELRS)

hasty ether
azure kelp
#

I have not done this before, so you might not want to take all your advice from me

hasty ether
#

any help is appreciated!

azure kelp
#

INAV might be easier to do this with the programming tab

hasty ether
azure kelp
hasty ether
#

Arduino in conjuction with Betaflight? how did you do it? Like what files did you changed?

hasty ether
azure kelp
hasty ether
azure kelp