# Probably need a new OLED unit. I think I fried mine

**URL:** <https://forum.sunfounder.com/t/probably-need-a-new-oled-unit-i-think-i-fried-mine/1392>\
**Category:** Accessories for Raspberry Pi and Arduino\
**Created:** [July 21, 2024, 3:41pm UTC](https://forum.sunfounder.com/t/probably-need-a-new-oled-unit-i-think-i-fried-mine/1392 "2024-07-21T15:41:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![markcampidonica](https://avatars.discourse-cdn.com/v4/letter/m/e9a140/32.png) [@markcampidonica](https://forum.sunfounder.com/u/markcampidonica)\
**Post date:** [July 21, 2024, 3:41pm UTC](https://forum.sunfounder.com/t/probably-need-a-new-oled-unit-i-think-i-fried-mine/1392/1 "2024-07-21T15:41:13Z")

</div>

The OLED worked when I first used the unit. Can I order a new one?

markc@raspberrypi:~/pironman/pironman $ ls  
app\_info.py **init**.py Minecraftia-Regular.ttf system\_status.py  
ha\_api.py log oled.py utils.py  
i2c.py main.py **pycache** ws2812\_RGB.py  
markc@raspberrypi:~/pironman/pironman $ sudo python3 main.py

------------------------24/07/21 08:35:14------------------------  
pironman version: 2.2.8  
username: markc  
config\_file: /opt/pironman/config.txt

Kernel Version:  
Linux raspberrypi 6.6.31+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64 GNU/Linux

OS Version:  
Description: Debian GNU/Linux 12 (bookworm)

PCB info:  
Revision : c03111  
Model : Raspberry Pi 4 Model B Rev 1.1

24/07/21 08:35:14,981 [DEBUG] power\_key\_pin : 16  
24/07/21 08:35:14,982 [DEBUG] fan\_pin : 6  
24/07/21 08:35:14,982 [DEBUG] update\_frequency : 0.5  
24/07/21 08:35:14,982 [DEBUG] temp\_unit : F  
24/07/21 08:35:14,982 [DEBUG] fan\_temp : 50.0  
24/07/21 08:35:14,983 [DEBUG] screen\_always\_on : True  
24/07/21 08:35:14,983 [DEBUG] screen\_off\_time : 60  
24/07/21 08:35:14,983 [DEBUG] rgb\_enable : True  
24/07/21 08:35:14,983 [DEBUG] rgb\_style : breath  
24/07/21 08:35:14,983 [DEBUG] rgb\_color : 0a1aff  
24/07/21 08:35:14,984 [DEBUG] rgb\_blink\_speed : 50  
24/07/21 08:35:14,984 [DEBUG] rgb\_pwm\_freq : 1000  
24/07/21 08:35:14,984 [DEBUG] rgb\_pin : 10

> > >

24/07/21 08:35:14,995 [DEBUG] rgb\_strip init success  
24/07/21 08:35:15,031 [DEBUG] oled init failed:  
[Errno 5] Input/output error  
Traceback (most recent call last):  
File “/usr/lib/python3/dist-packages/gpiozero/pins/pi.py”, line 408, in pin  
pin = self.pins[info]  
~~~~~~~~~ ^^^^^^  
KeyError: PinInfo(number=31, name=‘GPIO6’, names=frozenset({‘J8:31’, 6, ‘GPIO6’, ‘WPI22’, ‘BOARD31’, ‘BCM6’, ‘6’}), pull=‘’, row=16, col=1, interfaces=frozenset({‘’, ‘uart’, ‘gpio’, ‘dpi’, ‘i2c’, ‘spi’, ‘smi’}))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):  
File “/home/markc/pironman/pironman/main.py”, line 206, in   
fan = Fan(fan\_pin)  
^^^^^^^^^^^^  
File “/usr/lib/python3/dist-packages/gpiozero/devices.py”, line 103, in **call**  
self = super(). **call** (\*args, \*\*kwargs)  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File “/usr/lib/python3/dist-packages/gpiozero/output\_devices.py”, line 192, in **init**  
super(). **init** (pin, active\_high=active\_high,  
File “/usr/lib/python3/dist-packages/gpiozero/output\_devices.py”, line 74, in **init**  
super(). **init** (pin, pin\_factory=pin\_factory)  
File “/usr/lib/python3/dist-packages/gpiozero/mixins.py”, line 75, in **init**  
super(). **init** (\*args, \*\*kwargs)  
File “/usr/lib/python3/dist-packages/gpiozero/devices.py”, line 549, in **init**  
pin = self.pin\_factory.pin(pin)  
^^^^^^^^^^^^^^^^^^^^^^^^^  
File “/usr/lib/python3/dist-packages/gpiozero/pins/pi.py”, line 410, in pin  
pin = self.pin\_class(self, info)  
^^^^^^^^^^^^^^^^^^^^^^^^^^  
File “/usr/lib/python3/dist-packages/gpiozero/pins/lgpio.py”, line 126, in **init**  
lgpio.gpio\_claim\_input(  
File “/usr/lib/python3/dist-packages/lgpio.py”, line 755, in gpio\_claim\_input  
return \_u2i(\_lgpio.\_gpio\_claim\_input(handle&0xffff, lFlags, gpio))  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File “/usr/lib/python3/dist-packages/lgpio.py”, line 458, in \_u2i  
raise error(error\_text(v))  
lgpio.error: ‘GPIO busy’

---

<div class="post-metadata">

**Author:** ![SunFounder\_Moderator](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@SunFounder\_Moderator](https://forum.sunfounder.com/u/SunFounder_Moderator)\
**Post date:** [July 22, 2024, 7:30am UTC](https://forum.sunfounder.com/t/probably-need-a-new-oled-unit-i-think-i-fried-mine/1392/2 "2024-07-22T07:30:13Z")

</div>

It could just be that the GPIO didn’t turned off, causing the pins to conflict. Try to find it and close the relevant software, or reboot.  
Try closing all python programmes: sudo killall python3 -9
