Introduction
The purpose of this document is to describe the plan for writing the firmware for the lighting board LED Board Rev 2. The board is planned to be used for competition drone for the AEAC 2025 competition Lighting Integration 2025.
The firmware for this project can be found in this Github repository: https://github.com/UWARG/efs-can-lighting.
Plan
Setup a Simple CAN Node
The goal of this step is to setup a simple CAN node that listens for the heartbeat message from Ardupilot.
Implement something similar to https://github.com/dronecan/libcanard/tree/master/examples/SimpleNode but compatible with STM32
Refer to the ESC node https://github.com/dronecan/libcanard/tree/master/examples/SimpleNode
Request and Receive a LightCommand
Message
TODO: Add to this section of the plan
Parse LightCommand
Message and Interpret Data
TODO: Add to this section of the plan
Set LED to Requested Color
TODO: Add to this section of the plan
0 Comments