Piromoni o-tron HAT suddenly stop working on Raspberry, Pi 3 model B+ without any discernible reason


#1

Hi,

I have a
Raspberry, Pi 3 modello B+ bought on amazon and your piromoni o-tron HAT.

Display works well for many days receiving data from my custom python program. Suddenly stops showing any messages and backlight does’t work anymore with none reason. If a run a demo compare this message:

pi@raspberrypi:~/Pimoroni/displayotron/examples/dot3k/advanced $ sudo python backlight.py

Traceback (most recent call last):

File “backlight.py”, line 5, in <module>

import dot3k.backlight as backlight

File “/usr/local/lib/python2.7/dist-packages/dot3k/backlight.py”, line 1, in <module>

import sn3218, colorsys, math

File “/usr/lib/python2.7/dist-packages/sn3218.py”, line 114, in <module>

enable_leds(0b111111111111111111)

File “/usr/lib/python2.7/dist-packages/sn3218.py”, line 62, in enable_leds

[enable_mask &amp; 0x3F, (enable_mask &gt;&gt; 6) &amp; 0x3F, (enable_mask &gt;&gt; 12) &amp; 0X3F])

IOError: [Errno 121] Remote I/O error

I have tried to install again os and piromoni libraries as showed in your instructions and upgrade os, but nothing was solved !!

My version of raspberry is :

RASPBIAN STRETCH WITH DESKTOP

Version: June 2018

Release date: 2018-06-27

Kernel version: 4.14

with command uname -a I obtain this string of Kernel version:

Linux raspberrypi 4.14.52-v7+ #1123 SMP Wed Jun 27 17:35:49 BST 2018 armv7l GNU/Linux

My question is I have a defected Raspberry ? or is your display O-tron HAT defected ? or either damaged ?

Help me please, because if either rpi or o-tron have been damage for any reason i tried to give back both to amazon.

Thanks in advance

Bye


#2

The IO error sounds like an i2c issue. What do you get if you run sudo i2cdetect -y 1


#3

You’ll need “i2cdetect -q 1” to see the sn3218 (LED driver) because it’s write-only.

These problems don’t crop up often so I’m not sure which device is at fault. Have you tried any other HATs or pHATs?


#4

this is the result of command !

i2cdetect -q 1
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-1 using quick write commands.
I will probe address range 0x03-0x77.
Continue? [Y/n] y
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – -- – -- – -- – -- – -- – -- –
10: – -- – -- – -- – -- – -- – -- – -- – --
20: – -- – -- – -- – -- – -- – -- – -- – --
30: – -- – -- – -- – -- – -- – -- – -- – --
40: – -- – -- – -- – -- – -- – -- – -- – --
50: – -- – -- – -- – -- – -- – -- – -- – --
60: – -- – -- – -- – -- – -- – -- – -- – --
70: – -- – -- – -- – --

What does it mean ? It’s a faulty display ?


#5

here is the result of the command you suggest to launch.

pi@raspberrypi:~ $ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – -- – -- – -- – -- – -- – -- –
10: – -- – -- – -- – -- – -- – -- – -- – --
20: – -- – -- – -- – -- – -- – -- – -- – --
30: – -- – -- – -- – -- – -- – -- – -- – --
40: – -- – -- – -- – -- – -- – -- – -- – --
50: – -- – -- – -- – -- – -- – -- – -- – --
60: – -- – -- – -- – -- – -- – -- – -- – --
70: – -- – -- – -- – --

What do i observe from this ?
Thanks


#6

It means its not being detected, nothing is being detected on the i2c bus.
Did you run sudo i2cdetetct -q 1, I think it has to be run as sudo?


#7

certanly i ran sudo i2cdetect -y 1 but the result is the same !! In your opinion what’s your advice ? to change just raspberry or just sidplay o-tron or both ?

Thanks


#8

Ok, was just double checking, sometimes its hard to tell what another persons skill level is. ;)
If it was me, just to rule out a software issue, corrupt files etc. I’d flash a fresh image of Raspbian on your SD card and run the display O tron installer again. Maybe even use a different SD Card. I think I’d also remove the display O tron and reseat it, if you haven’t already. If you have the same results after that its almost certainly a hardware issue. @gadgetoid can help more with that, how to diagnose it etc.


#9

I’m just couscous,is it a display-o-tron 3000, the display o-tron hat ,or something else altogether


#10

my own version of display is o-tron hat


#11

ok,mine too, i didn’t think the dot3k worked for me either,i was think that maybe they were only for the display -o-tron3000 but i could be wrong ,when i get a chance i’ll try the one you are trying to use, maybe i’ll have time tomorrow evening …


#12

checked mine and its works fine …I must have 2 accounts


#13

ok thanks for your checking out…i have already given back damaged display for refunding and then i’ll buy another one !! hoping to be luckier with new one !!
:-)