Skip to content

Add thermal fan control for T-Beam 1W - #3371

Open
agessaman wants to merge 2 commits into
meshcore-dev:devfrom
agessaman:feat/tbeam-1w-thermal-fan
Open

Add thermal fan control for T-Beam 1W#3371
agessaman wants to merge 2 commits into
meshcore-dev:devfrom
agessaman:feat/tbeam-1w-thermal-fan

Conversation

@agessaman

Copy link
Copy Markdown
Contributor

Before this PR, the fan on the Lilygo T-Beam 1W spun continuously, which was using extra power for little benefit because the temperature only spiked on transmits. This PR uses the thermistor near the PA to measure the temperature and spin the fan based on its temperature. It implements a few board-specific commands and custom settings persistence.

get fan returns fan settings and current temperature
set fan.lo <temp in C> -- temperature to stop the fan
set fan.hi <temp in C> -- temperature to start spinning the fan
set fan on|off|auto controls fan activation

By default, the fan spins for 15 seconds after a transmit. In testing, this was shown to be sufficient to control PA temps in all but the most extreme situations. Tested with both repeater and companion firmware (using companion CLI).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant