Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5230

Beginners • Re: CM4-NAS-Double-Deck built in 2" LCD display

$
0
0
Well after a LOT of correspondence with Wave share about this, uninstalling reinstalling they sent me a new image file to install.

This am am happy to say worked. The precompiled image from their web site did not. Just why this is the case I do not know. I wonder if they will update the image on their web site??

However the fan was then on all the time with a cpu temp of <50'C. So off we go again. Finally after many tests they inform me the fan is meant to be on all the time but increases in speed as the temperature rises. They also showed me where in the programming the code was.

cd CM4-NAS-Double-Deck_Demo/RaspberryPi/example/
sudo nano image.py.

So I edited image.py from>>

#TEMP 温度
self.temp_t = self.gain.GET_Temp()
if self.temp_t < 45:
self.disp.FAN_PIN.value = (0.5)
elif self.temp_t < 50:
self.disp.FAN_PIN.value = (0.7)
elif self.temp_t < 55:
self.disp.FAN_PIN.value = (0.8)
else:
self.disp.FAN_PIN.value = (1)
To>>

#TEMP 温度
self.temp_t = self.gain.GET_Temp()
if self.temp_t < 65:
self.disp.FAN_PIN.value = (0.0)
elif self.temp_t > 70 and self.temp_t < 75:
self.disp.FAN_PIN.value = (0.7)
elif self.temp_t > 75:
self.disp.FAN_PIN.value = (1)
else:
pass

So after more than two months I have finally got the product working.

Statistics: Posted by thompsoncm — Mon Dec 09, 2024 5:01 pm



Viewing all articles
Browse latest Browse all 5230

Trending Articles