Closed wx4cb closed 2 years ago
How's the HAT connected? Pushed down firmly on the header?
Could there be any other software running/starting on boot that's interfering with the GPIO?
the hat is pushed down as far as it will go, nothing is running on there other than the hat (and alll the prerequeaisites re raspi-config has been done as per the instructions.
i've tried it on both a 4pi 4 and pi 3b on the latest release of raspberry pi os (buster or bullseye not sure which it is)
Just fired up on a Pi 4 with the latest 64bit Bullseye and it's working fine, so I suspect it's either a board fault or some kind of complicating factor/configuration issue I'm missing. I've asked the support team to cast their eyes over this and see if they have any ideas and we'll go from there.
great. the documentation on this thing is very lacking with regards to what addresses it uses etc. as you can see there is at least 1 i2c device on the bus, but i don't even know if that's the right one.
it could jsut be a dependency im missing, but i have installed everything as far as i know
That's the correct i2c address, I see the same thing:
pi@raspberrypi:~/Pimoroni/automationhat/examples/hat-mini $ 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: -- -- -- -- -- -- -- -- 48 -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
Wait, hold on a minute - Automation HAT Mini does not have an SN3218 driver so the error you're getting is very odd indeed. Looks like your board is fine but some software weirdness has happened.
GOT IT! Managed to replicate. Working on a fix.
Totally my fault, sorry for the run-around here. Fix released. Update with:
python3 -m pip install --upgrade automationhat
That should get you up and running. :facepalm:
awesome. will take a look at it when i get home today
I zsee the hat in i2cdetect, the screen gets some sort of "snow" pattern on the oled display, and then i get a remote i/o error
any help appreciated, brand new install, fresh pull from the github