Hello,
I am currently looking into making the mini gif player. I purchased all the parts followed the guide and even got the pinouts right, but for some reason my screen just shows a small blueish box with static around it. does anyone know if that means it is firmware or hardware that is causing that and how to remedy it.
Thanks in advance,
Zim
Mini Gif Player Help
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- mikeysklar
- Posts: 13946
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Mini Gif Player Help
It is most likely the GIF selected. Try just playing the GIF of the badger-320.gif and removing the others.
If you are on a mac you will need to make sure the dot files are getting removed entirely or it will crash the gif player.
If you are on a mac you will need to make sure the dot files are getting removed entirely or it will crash the gif player.
- ZimZam
- Posts: 6
- Joined: Sun Jan 22, 2023 12:00 pm
Re: Mini Gif Player Help
what part of the gif could be the issue the resolution?
- mikeysklar
- Posts: 13946
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Mini Gif Player Help
I've setup the mini gif player before and noticed that only the badger image was playing. The images do have a different resolution.
Other factors to think about when you start creating your own GIFs are size, number of frames and color depth.
viewtopic.php?p=951917&hilit=badger+320#p951917
Code: Select all
$ file *
badger-320.gif: GIF image data, version 89a, 320 x 240
blinka-320.gif: GIF image data, version 89a, 320 x 170
BrainCraft-HAT-320.gif: GIF image data, version 89a, 320 x 170
cpx-320.gif: GIF image data, version 89a, 320 x 170
doom-guy-JP-320.gif: GIF image data, version 89a, 320 x 170
LED-Glasses-320.gif: GIF image data, version 89a, 320 x 170
viewtopic.php?p=951917&hilit=badger+320#p951917
- ZimZam
- Posts: 6
- Joined: Sun Jan 22, 2023 12:00 pm
Re: Mini Gif Player Help
it seems that it could be my screen its a 128 x128 adafruit screen but only like half is displaying anything and is all purple tinted
- mikeysklar
- Posts: 13946
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Mini Gif Player Help
A 128x128 display is not going to be compatible with the step-by-step instructions of this guide. You will need to create your own gifs for that resolution. Looking at the 172 folder all the images will still be too large.
The two recommended displays are:
https://www.adafruit.com/product/5393
https://www.adafruit.com/product/5394
Code: Select all
$ file *
Arduino-Logo-172.gif: GIF image data, version 89a, 320 x 172
badger-172.gif: GIF image data, version 89a, 320 x 172
blinka-172.gif: GIF image data, version 89a, 320 x 172
BrainCraft-HAT-172.gif: GIF image data, version 89a, 320 x 172
CPX-172.gif: GIF image data, version 89a, 320 x 172
doom-guy-JP-172.gif: GIF image data, version 89a, 320 x 172
LED-Glasses-172.gif: GIF image data, version 89a, 320 x 172
https://www.adafruit.com/product/5393
https://www.adafruit.com/product/5394
- ZimZam
- Posts: 6
- Joined: Sun Jan 22, 2023 12:00 pm
Re: Mini Gif Player Help
ordered one of those screens will be here Thursday, will update accordingly thanks again!!
- mikeysklar
- Posts: 13946
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Mini Gif Player Help
Sounds good. Let me know if you have any issue with the new display.
- dndrive
- Posts: 2
- Joined: Sun Jan 29, 2023 1:16 pm
Re: Mini Gif Player Help
after reading other post, that you have linked. This project has too many limitation.T_T
- dndrive
- Posts: 2
- Joined: Sun Jan 29, 2023 1:16 pm
- ZimZam
- Posts: 6
- Joined: Sun Jan 22, 2023 12:00 pm
Re: Mini Gif Player Help
got the screen and it seems to be working! I got some gifs to work others don't seem to be know why that is?
this is the error I get for the ones that don't work, also would you happen to know how to maybe add a button to like toggle between the gifs? Also one more question sorry for editing so many times, but I can only get the gifs to start playing if in in serial monitor do you know how to fix that too?
(Successfully opened GIF WUT.gif; Canvas size = 320 x 172
frame count: 1
duration: 100 ms
max delay: 100 ms
min delay: 10000 ms
Error 7
Error 7
Error 7
Error 7
Error 7
Error 7
0 2020-01-01 00:00 .fseventsd/
0 2020-01-01 00:00 .metadata_never_index
0 2020-01-01 00:00 .Trashes
22 2020-01-01 00:00 code.py)
thanks in advance,
Zim
this is the error I get for the ones that don't work, also would you happen to know how to maybe add a button to like toggle between the gifs? Also one more question sorry for editing so many times, but I can only get the gifs to start playing if in in serial monitor do you know how to fix that too?
(Successfully opened GIF WUT.gif; Canvas size = 320 x 172
frame count: 1
duration: 100 ms
max delay: 100 ms
min delay: 10000 ms
Error 7
Error 7
Error 7
Error 7
Error 7
Error 7
0 2020-01-01 00:00 .fseventsd/
0 2020-01-01 00:00 .metadata_never_index
0 2020-01-01 00:00 .Trashes
22 2020-01-01 00:00 code.py)
thanks in advance,
Zim
- mikeysklar
- Posts: 13946
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Mini Gif Player Help
The GIF player likes small files < 100k, less than 10 frames and at color depth of 16.
This line of code is what requires the serial console to be opened to start running the program. You can remove it from the setup() function.
This line of code is what requires the serial console to be opened to start running the program. You can remove it from the setup() function.
Code: Select all
while (!Serial);
- ZimZam
- Posts: 6
- Joined: Sun Jan 22, 2023 12:00 pm
Re: Mini Gif Player Help
That seems to have helped thanks!! now I just gotta get the right gifs that can play :) thanks so very much for your help guys
Thanks Again,
Zim
Thanks Again,
Zim
- mikeysklar
- Posts: 13946
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Mini Gif Player Help
Zim,
Glad to hear you are making progress.
There is a related Adafruit guide for Mini GIF generation that might be helpful to you.
https://learn.adafruit.com/pyportal-ani ... t-your-gif
Glad to hear you are making progress.
There is a related Adafruit guide for Mini GIF generation that might be helpful to you.
https://learn.adafruit.com/pyportal-ani ... t-your-gif
Please be positive and constructive with your questions and comments.