Difference between revisions of "Cooling Fan Hat With Oled Display for Raspberry PI"

From Wiki
Jump to: navigation, search
(Features)
(Hardware Operation)
 
Line 70: Line 70:
 
Install RPi image with RPi official tools<br>
 
Install RPi image with RPi official tools<br>
 
Link: https://www.raspberrypi.org/downloads/
 
Link: https://www.raspberrypi.org/downloads/
 +
 +
[[File:as017 1.png]]<br>
 +
The page is as follows when you finish the download.<br>
 +
[[File:as017 2.png]]<br>
 +
Click "CHOOSE OS" to select operation system.<br>
 +
[[File:as017 3.png]]<br>
 +
Select sd by clicking "CHOOSE SD CARD".<br>
 +
[[File:as017 4.png]]<br>
 +
Write the system by clicking "WRITE".<br>
 +
[[File:as017 5.png]]<br>
 +
The screen needs to install the driver before it can be used normally. Before that, you can connect to the RPi via ssh.create a file named ssh without suffix name in / boot directory.<br>
 +
[[File:as017 6.png]]<br>
 +
Connect the RPi to the screen as shown below, and insert the LCD screen into the RPi on the right.<br>
 +
[[File:as017 7.png]]<br>
 +
Insert the sd card and network cable into the RPi and power it.Start the RPi directly and find the RPi ip.<br>
 +
1. Check the RPi ip via Advanced IP Scanner.<br>
 +
2. Advanced IP Scanner Download Link: https://filehippo.com/download_advanced_ip_scanner/<br>
 +
3. You can also view RPi ip in wired connections through the router management page.<br>
 +
 +
=== Software Operation ===
 +
Once the ip is found, you can use the tool putty for ssh remote connection to control the RPi.<br><br>
 +
a. putty download link: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html<br>
 +
b. Download finished, putty page is as shown. You need to input RPi ip, and type in 22 in the port box. Check ssh and click open to connect with RPi.<br>
 +
c. The terminal page appears once you click open. By default, the ID is "pi" and the password is "raspberry". Note the alphabetic case. <br>
 +
Note: The password characters are hidden when you are entering.<br>
 +
[[File:as017 8.png]]<br>
 +
[[File:as017 9.png]]<br>
 +
Upload temp_control.zip to RPi and unzip the file.<br<br
 +
a. File transmission with RPi can be achieved by using the ftp tool.<br>
 +
b. ftp Link: https://filezilla-project.org/<br>
 +
c. Download, install and go back to the home page. Fill in the box below, and finally click quickconnect to connect RPi.<br>
 +
[[File:as017 10.png]]<br>
 +
Drag temp_control.zip to the RPi directory.<br>
 +
[[File:as017 11.png]]<br>
 +
Enter the RPi terminal via putty.<br>
 +
Go to the directory containing temp_control.zip, input the unzip command and run install.sh to install the driver.<br>
 +
<ol>
 +
    <li>unzip temp_control.zip #unzip</li>
 +
    <li>cd temp_control/ #jump to temp_control directory</li>
 +
    <li>gcc -o temp_control temp_control.c ssd1306_i2c.c -lwiringPi #compile program file</li>
 +
    <li>./temp_control #run the code</li>
 +
    <li>#Set the startup</li>
 +
    <li>cd /home/pi/temp_control #jump to temp_control directory</li>
 +
    <li>sudo sh install.sh #Run the script installation command</li>
 +
    <li>sudo reboot #Restart RPi</li>
 +
</ol>
 +
 +
== Final Effect ==
 +
 +
The RPi 4B board used, we can see when CPU temperature is up to 55℃, the fan starts automatically. When the temperature drops to 48 ℃, the fan stops working automatically.<br>
 +
If we use RPi 3B+ board, when CPU temperature is up to 46℃, the fan starts automatically.<br>
 +
When the temperature drops to 40 ℃, the fan turns off automatically.<br>

Latest revision as of 10:44, 9 April 2020

Description

As017 12.png
Mid - summer hot days sure can make anyone irritated. Similarly, when you use a Raspberry PI for too long, it starts heating up that risks your project and your setup. A simply, solution to avoid this heat dissipation and keep the system cool, we introduce to you a RGB cooling HAT.

The HAT is equipped with a high power fan that is capable of adjusting temperature according to the CPU to keep your Pi st its peak performance. Unlike other cooling fans, we have ensured that our Cooling HAT is stealthy-silent.

A 128x32 OLED screen can also easily be inserted directly into the HAT to display the real-time state of the RPi, such as internal memory, CPU, temperature, etc.

The HAT looks in style with 3 build-in RGB full color programming lights whose color is manually adjustable to give you the specially good effects of running water LED light, horse Race Lamp, rainbow light and so on that you can achieve by sending out few commands directly.

Besides, all IO ports of RPi are led out for your convenient use.

Features

Applicable Versions: Raspberry Pi 4B/3B+/3B
Fan Size: 40mm x 40mm

The default settings of rotating speed

Temperature Rotating Speed
50° 50%
55° 75%
60° 90%
65° 100%

OLED

  • Size: 0.9 inch
  • Resolution: 128x32
  • Type: OLED
  • Color: Single White
  • Communication Port: I2C

Package Including

  • 1 x RGB Cooling HAT
  • 1 x 128x32 OLED screen

Preparation

Product List

        1. Cooling Extension Board
2. Screw x 8
3. Copper Standoff x 8
4. oled Screen

Required Preparation

        1. RPi Power Adapter
2. RPi 3b+ or 4b
3. Network Cable (it's for RPi system installation and you can ignore it if you have finished.)
4. Card Reader: (it's for RPi system installation and you can ignore it if you have finished.)
5. SD card (a recommended 8g and higher one) (it's for RPi system installation and you can ignore it if you have finished.)

Hardware Operation

RPi Installation (Skip it if you've installed)
Install RPi image with RPi official tools
Link: https://www.raspberrypi.org/downloads/

As017 1.png
The page is as follows when you finish the download.
As017 2.png
Click "CHOOSE OS" to select operation system.
As017 3.png
Select sd by clicking "CHOOSE SD CARD".
As017 4.png
Write the system by clicking "WRITE".
As017 5.png
The screen needs to install the driver before it can be used normally. Before that, you can connect to the RPi via ssh.create a file named ssh without suffix name in / boot directory.
As017 6.png
Connect the RPi to the screen as shown below, and insert the LCD screen into the RPi on the right.
As017 7.png
Insert the sd card and network cable into the RPi and power it.Start the RPi directly and find the RPi ip.
1. Check the RPi ip via Advanced IP Scanner.
2. Advanced IP Scanner Download Link: https://filehippo.com/download_advanced_ip_scanner/
3. You can also view RPi ip in wired connections through the router management page.

Software Operation

Once the ip is found, you can use the tool putty for ssh remote connection to control the RPi.

a. putty download link: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
b. Download finished, putty page is as shown. You need to input RPi ip, and type in 22 in the port box. Check ssh and click open to connect with RPi.
c. The terminal page appears once you click open. By default, the ID is "pi" and the password is "raspberry". Note the alphabetic case.
Note: The password characters are hidden when you are entering.
As017 8.png
As017 9.png
Upload temp_control.zip to RPi and unzip the file.<br<br a. File transmission with RPi can be achieved by using the ftp tool.
b. ftp Link: https://filezilla-project.org/
c. Download, install and go back to the home page. Fill in the box below, and finally click quickconnect to connect RPi.
As017 10.png
Drag temp_control.zip to the RPi directory.
As017 11.png
Enter the RPi terminal via putty.
Go to the directory containing temp_control.zip, input the unzip command and run install.sh to install the driver.

  1. unzip temp_control.zip #unzip
  2. cd temp_control/ #jump to temp_control directory
  3. gcc -o temp_control temp_control.c ssd1306_i2c.c -lwiringPi #compile program file
  4. ./temp_control #run the code
  5. #Set the startup
  6. cd /home/pi/temp_control #jump to temp_control directory
  7. sudo sh install.sh #Run the script installation command
  8. sudo reboot #Restart RPi

Final Effect

The RPi 4B board used, we can see when CPU temperature is up to 55℃, the fan starts automatically. When the temperature drops to 48 ℃, the fan stops working automatically.
If we use RPi 3B+ board, when CPU temperature is up to 46℃, the fan starts automatically.
When the temperature drops to 40 ℃, the fan turns off automatically.