chrisys / train-departure-display

A replica, near real-time, miniature UK railway station train departure sign based upon a Raspberry Pi Zero and 256x64 SPI OLED display

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GPIO In Use Error

leacho73 opened this issue · comments

Hi,

I've got 2 separate PI Zero 2 devices running in my fleet, both cabled as per the instructions - one of them works perfectly, and one has a garbled display - checking the logs I am seeing:

/usr/src/python-packages/luma/core/interface/serial.py:203: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.

Any idea how I can diagnose this? I'm not that familiar with Balena OS. I've double checked the connections and all appears as per the instructions - I have noticed however that the PI that doesn't work is red hot. I've tried re-flashing the PI but still the same issue.

I've swapped the screens between the PI's and the fault stays with the same PI - so I'm happy it's not the screen - possibly a dodgy PI?

Thanks :)

Interestingly I received a DOA Pi Zero 2 a few months ago which ran incredibly hot (I didn't even get to the stage of testing a screen with it).

In the end I got a replacement and it was all fine. I have a feeling it was an issue with the wifi chip as that was dropping out too - I documented some of it on the Balena forums as I wasn't sure if it was an OS issue or not: https://forums.balena.io/t/pi-zero-2-w-losing-wifi-ip-address-and-crashing/368274/

I think the GPIO in use issue is a common recurrence with this project, the advice is usually to ignore it: #50