bigtreetech / CB1

OS System image for CB1
369 stars 62 forks source link

CB1 internal temperature monitoring? #140

Closed Valiance closed 1 year ago

Valiance commented 1 year ago

The CB1 unit burns hot at times. Is there a safety internal temperature monitor for max temp shut down? Is there a more civil internal temperature reporting it does to the OS, or say... Klipper? Like a temp sensor I could use to trigger a fan2 on/off? This could help prevent forest fires... If not, perhaps getting an official statement from BTT in the form of a warning: 'There is not an internal temperature monitoring system available for the CB1' Granted, I know that is a bit much, but still... asking.

Pneumanifest commented 1 year ago

The main chip has built in throttling with too high temperature. It's not going to set itself on fire. You should have a heatsink and fan on it though, just like a normal CPU.

This will get you the temperature in klipper,

[temperature_sensor CB1]
sensor_type: temperature_host

Or install ls-sensors terminal,

sudo apt install ls-sensors

When that is done run command,

sensors 
Pneumanifest commented 1 year ago

And this is an example of how to control a fan with the built-in temperature sensor.

[temperature_fan Case_fans]
pin: PD4
sensor_type: temperature_host
off_below: 0.4
min_temp: 10
max_temp: 90
target_temp: 55
control: pid
pid_Kp: 2
pid_Ki: 4
pid_Kd: 0.1
Valiance commented 1 year ago

Thank you so much, Patrick. This is beautiful.

On Mon, Aug 28, 2023 at 12:06 PM Patrick Myrseth @.***> wrote:

And this is an example of how to control fins with the built-in temperature sensor.

[temperature_fan Case_fans] pin: PD4 sensor_type: temperature_host off_below: 0.4 min_temp: 10 max_temp: 90 target_temp: 55 control: pid pid_Kp: 2 pid_Ki: 4 pid_Kd: 0.1

— Reply to this email directly, view it on GitHub https://github.com/bigtreetech/CB1/issues/140#issuecomment-1695956856, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMAKJHCP2WTGRFKXIRSII3LXXS6YBANCNFSM6AAAAAA4BR6ARA . You are receiving this because you authored the thread.Message ID: @.***>

420noscope-exe commented 1 year ago

@Valiance make sure to close your issue if it was answered

Valiance commented 1 year ago

Yes, it is working. "Reality is the Ultimate Role-playing game." -- Victor A. Waters '88

On Mon, Oct 16, 2023 at 11:00 AM 420noscope-exe @.***> wrote:

@Valiance https://github.com/Valiance make sure to close your issue if it was answered

— Reply to this email directly, view it on GitHub https://github.com/bigtreetech/CB1/issues/140#issuecomment-1764676270, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMAKJHFCJ25QXBWLRXT5OHTX7VDXNAVCNFSM6AAAAAA4BR6ARCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRUGY3TMMRXGA . You are receiving this because you were mentioned.Message ID: @.***>