-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Description
VCU needs to send Compute a CAN message to set the LV box fan's PWM. So, Cerberus-2.0 needs to periodically read the LV box temperature from the SHT30, calculate a PWM percentage value (from 0 to 100) from this temperature, and send this value to Compute via a CAN message.
Proposed Solution
Go into the peripherals thread, where the temperature from the STH30 is already being read. Then, use this temperature to calculate a PWM percentage value (from 0 to 100). A temperature reading of 20C should correspond to 0, while a reading of 40C should correspond to 100. Create a new CAN message containing this value, and queue it.
Note: You will also have to go into Odyssey-Definitions and add the new CAN message to vcu.json.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Type
Projects
Status
Todo