ANIMATED EYES BONNET FOR RASPBERRY PI

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
User avatar
bioelettrico
 
Posts: 4
Joined: Sun Nov 14, 2021 1:46 pm

ANIMATED EYES BONNET FOR RASPBERRY PI

Post by bioelettrico »

Hello everyone, I followed all the instructions on the page:
https://learn.adafruit.com/animated-sna ... stallation

Everything is installed without errors, but at startup this error comes out: (see attached photo)


What could be the problem?

Thanks.
Attachments
photo_2021-11-14_19-04-03.jpg
photo_2021-11-14_19-04-03.jpg (124.89 KiB) Viewed 397 times

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: ANIMATED EYES BONNET FOR RASPBERRY PI

Post by mikeysklar »

Are you running on a Raspberry Pi 4? Are you running Pi OS Lite?
PLEASE NOTE: the steps in this page currently DOES NOT WORK on the new Raspberry Pi 4 due to lots of changes in the graphics subsystem. We have a work-around toward this, discussed on https://learn.adafruit.com/animated-sna ... perimental
https://learn.adafruit.com/animated-sna ... perimental

User avatar
bioelettrico
 
Posts: 4
Joined: Sun Nov 14, 2021 1:46 pm

Re: ANIMATED EYES BONNET FOR RASPBERRY PI

Post by bioelettrico »

Hi mikeysklar, I solved it.
I'm using a Raspberry Pi 3+ and downloaded the latest version of the lite package "2021-10-30-raspios-bullseye-armhf-lite.zip"
but it generates the error.
Then I also tried with other previous versions like "2021-01-11-raspios-buster-armhf-lite.zip" and "2021-05-07-raspios-buster-armhf-lite.zip".

The only version that works without generating errors is the "2021-05-07-raspios-buster-armhf-lite.zip"

So the latest version and those prior to v. 2021-05-07
do not work.

I hope to be useful to others with this info.
Thanks.

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: ANIMATED EYES BONNET FOR RASPBERRY PI

Post by mikeysklar »

@bioelecttrico,

Good job troubleshooting this down being an issue with the most recent Bullseye release of Pi OS. It looks like the pi3d python library has a conflict with being run on Bullseye.

User avatar
pburgess
 
Posts: 4161
Joined: Sun Oct 26, 2008 2:29 am

Re: ANIMATED EYES BONNET FOR RASPBERRY PI

Post by pburgess »

Thank you for tracking this down, much appreciated. I’ve updated the guide with this info.

Darn, I’d been eager to see how this performs on the Pi Zero 2 W, guess that’ll have to wait for a pi3d update.

User avatar
bioelettrico
 
Posts: 4
Joined: Sun Nov 14, 2021 1:46 pm

Re: ANIMATED EYES BONNET FOR RASPBERRY PI

Post by bioelettrico »

[quote="pburgess"]Thank you for tracking this down, much appreciated. I’ve updated the guide with this info.

Happy New Year everyone.

2022 Update:

I wanted to inform you that now not even the version "2021-05-07-raspios-buster-armhf-lite.zip" seems to work.
Recently the microSD card where I had successfully loaded the "2021-05-07" version is broken. I tried to load the same version on another microSD card, but I couldn't get it to work anymore. Something has changed (software updates ??). Now the Phyton programs (example “python3 eyes.py”) end with the error "illegal instruction".

Do you have any idea what may have happened?

Thank you.

User avatar
pburgess
 
Posts: 4161
Joined: Sun Oct 26, 2008 2:29 am

Re: ANIMATED EYES BONNET FOR RASPBERRY PI

Post by pburgess »

Can you provide more of a traceback leading up to the “illegal instruction” error? Like what library specifically is having the problem?

User avatar
pburgess
 
Posts: 4161
Joined: Sun Oct 26, 2008 2:29 am

Re: ANIMATED EYES BONNET FOR RASPBERRY PI

Post by pburgess »

Plz ignore above…minor updatelet, some good news: I may’ve solved the issues with needing to run on an ancient OS and not working on Pi 4, etc.
Monday is normally my “focus 100% on Learning System issues” day, so the fix will have to wait ’til then…but if it works, and I think so, installation will be a lot smoother going forward!
Thanks for your patience.

User avatar
pburgess
 
Posts: 4161
Joined: Sun Oct 26, 2008 2:29 am

Re: ANIMATED EYES BONNET FOR RASPBERRY PI

Post by pburgess »

Guide’s updated! Pi 4 works now. Buttery smooth.

User avatar
bioelettrico
 
Posts: 4
Joined: Sun Nov 14, 2021 1:46 pm

Re: ANIMATED EYES BONNET FOR RASPBERRY PI

Post by bioelettrico »

pburgess wrote:Guide’s updated! Pi 4 works now. Buttery smooth.

For the Raspberry Pi3, there are still problems.

I downloaded and installed on uSD the latest version of Raspberry Pi OS Lite (Legacy)
("2021-12-02-raspios-buster-armhf-lite.zip"

Then I installed the scripts following the procedure described without any errors.
Nothing happens to the reboot, no eyes and no error messages.
I tried to run the python script manually:

cd / boot / Pi_Eyes
python3 eyes.py

after a few seconds the message "Illegal instruction" appears.

Any idea about the problem?

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: ANIMATED EYES BONNET FOR RASPBERRY PI

Post by mikeysklar »

I'm not sure why you would be running the Legacy version.

Can you try the Raspberry Pi OS Lite (October 30th 2021) release.

https://www.raspberrypi.com/software/operating-systems/
https://downloads.raspberrypi.org/raspi ... f-lite.zip

If you still see "illegal instruction" please provide the trace info so we can narrow it down as to what is failing.

User avatar
pburgess
 
Posts: 4161
Joined: Sun Oct 26, 2008 2:29 am

Re: ANIMATED EYES BONNET FOR RASPBERRY PI

Post by pburgess »

Can you verify you’re using a Pi 3?

Just did the walkthrough and can confirm Pi 3 B+, Pi 3 B and Pi 2 B all work. Encountered the Illegal Instruction issue on a Pi 1 B+, don’t know the cause yet. Is it possible that’s what you have there?

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”