Skip to content

Commit d3fbfd7

Browse files
Updated README
1 parent 3e82540 commit d3fbfd7

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
# 52Pi EP-0152 Raspberry Pi Fan Expansion Board / GeeekPi Fan Hat - **UPDATED for RPi 5**
2-
52Pi EP-0152 Raspberry Pi Fan Expansion Board, sold on Amazon as [GeeekPi Fan Hat](https://a.co/d/0fnQFZCU). The [original code](https://wiki.52pi.com/index.php?title=EP-0152) listed for the fan hat is woefully out of date. The code in this repository is compatible with the following revisions and Bookworm:
32

4-
<img style="float: right;" width="300" height="300" src="https://wiki.52pi.com/images/e/e6/OLEDFAN%E6%B8%85%E5%8D%95.jpg">
3+
52Pi EP-0152 Raspberry Pi Fan Expansion Board, sold on Amazon as [GeeekPi Fan Hat](https://a.co/d/0fnQFZCU). The [original code](https://wiki.52pi.com/index.php?title=EP-0152) listed for the fan hat is woefully out of date. The code in this repository is compatible with the following revisions and Bookworm:
54

65
- Raspberry Pi 5B (:white_check_mark: - Tested)
76
- Raspberry Pi 4B (:white_check_mark: - Tested)
87
- Raspberry Pi 3B+/3B (:question: - Untested)
98
- Raspberry Pi 2B (:question: - Untested)
109

10+
## Assembly Steps
11+
12+
[![How to assemble the Fan hat.](https://wiki.52pi.com/images/thumb/4/4a/Oledfan%E5%AE%89%E8%A3%85.jpg/800px-Oledfan%E5%AE%89%E8%A3%85.jpg "52Pi EP-0152 Assembly")](https://wiki.52pi.com/index.php?title=EP-0152)
13+
1114
## Python Requirements
1215

1316
1. Create a Python Virtual Environment to install `pip` packages.
@@ -19,7 +22,7 @@
1922
```
2023

2124
2. Install `pip3` packages:
22-
25+
2326
```bash
2427
pip3 install pillow adafruit_circuitPython_ssd1306
2528
```
@@ -32,14 +35,14 @@
3235
```
3336

3437
## Fan Control
38+
3539
I've added [@franganghi](https://github.com/franganghi)'s version of [Raspberry-Pi5-PWM-Fan-Control](https://github.com/franganghi/Raspberry-Pi5-PWM-Fan-Control) as a submodule to this repository.
3640

3741
- Follow the instructions listed in the [README](https://github.com/franganghi/Raspberry-Pi5-PWM-Fan-Control/tree/master?tab=readme-ov-file#raspberry-pi5-pwm-fan-control) to install [as a Linux service](https://github.com/franganghi/Raspberry-Pi5-PWM-Fan-Control/tree/master?tab=readme-ov-file#as-a-service).
3842

39-
4043
## PWM LEDs
4144

42-
### Installation
45+
### LEDs Installation
4346

4447
```bash
4548
cd EP-0152/LEDs
@@ -53,7 +56,7 @@ sudo systemctl daemon-reload
5356
sudo systemctl enable --now ep0152ledpwm.service
5457
```
5558

56-
### Check status
59+
### LEDs Check status
5760

5861
```bash
5962
$ sudo systemctl status ep0152ledpwm.service
@@ -70,7 +73,7 @@ $ sudo systemctl status ep0152ledpwm.service
7073
Jun 21 10:34:34 ussyukon systemd[1]: Started ep0152ledpwm.service - EP-0152 LEDs PWM Pulse.
7174
```
7275

73-
### Uninstallation
76+
### LEDs Uninstallation
7477

7578
```bash
7679
sudo systemctl stop ep0152ledpwm.service
@@ -82,7 +85,7 @@ sudo rm -rf /opt/EP-0152/LEDs
8285

8386
## OLED Screen
8487

85-
### Installation
88+
### OLED Installation
8689

8790
```bash
8891
cd EP-0152/OLED
@@ -97,8 +100,7 @@ sudo systemctl daemon-reload
97100
sudo systemctl enable --now ep0152oled.service
98101
```
99102

100-
101-
### Check Status
103+
### OLED Check Status
102104

103105
```bash
104106
$ sudo systemctl status ep0152oled.service
@@ -115,7 +117,7 @@ $ sudo systemctl status ep0152oled.service
115117
Jun 21 10:34:34 ussyukon systemd[1]: Started ep0152oled.service - EP-0152 OLED Monitor.
116118
```
117119

118-
### Uninstallation
120+
### OLED Uninstallation
119121

120122
```bash
121123
sudo systemctl stop ep0152oled.service

0 commit comments

Comments
 (0)