SenseHat won't stop flashing
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- goobertek
- Posts: 184
- Joined: Tue Feb 03, 2015 9:45 pm
SenseHat won't stop flashing
When I boot up my raspberry pi the sensehat rainbow pattern wont stop flashing. If I run a python program to change the lights it will but will continue to overlay the sensehat with the flashing rainbow pattern. I have it mounted on top of a motor control board. Any thoughts?
- goobertek
- Posts: 184
- Joined: Tue Feb 03, 2015 9:45 pm
Re: SenseHat won't stop flashing
Update. If I don't power the motor control hat it works fine. I think it's a conflict with the other hat. Any suggestions?
- adafruit_support_carter
- Posts: 29056
- Joined: Tue Nov 29, 2016 2:45 pm
Re: SenseHat won't stop flashing
It could be a pin conflict? Here's what the Sense HAT uses:
https://pinout.xyz/pinout/sense_hat#
What motor control HAT are you using?
https://pinout.xyz/pinout/sense_hat#
What motor control HAT are you using?
- goobertek
- Posts: 184
- Joined: Tue Feb 03, 2015 9:45 pm
Re: SenseHat won't stop flashing
I disconnected the other Hat but it was a "Adafruit DC & Stepper Motor HAT for Raspberry Pi - Mini Kit".
It worked once in awhile. Not consistantly. I have since just connected the SenseHat directly to my Pi 4. Upon reboot all the LEDs start flashing. I can still login via SSH but nothing I do will stop them from flashing. If I run a program to change the LED's it sometimes runs but it switches uncontrollably between the program and the flashing. Does the attached image tell you anything?
It worked once in awhile. Not consistantly. I have since just connected the SenseHat directly to my Pi 4. Upon reboot all the LEDs start flashing. I can still login via SSH but nothing I do will stop them from flashing. If I run a program to change the LED's it sometimes runs but it switches uncontrollably between the program and the flashing. Does the attached image tell you anything?
- adafruit_support_carter
- Posts: 29056
- Joined: Tue Nov 29, 2016 2:45 pm
Re: SenseHat won't stop flashing
The Sense HAT sensors take up the following I2C addresses:
0x46 LEDs (ATTINY88)
0x1C Accelo/Magno (LSM9DS1)
0x6A " "
0x5C Pressure/Temp (LPS25H)
0x5F Humidity/Temp (HTS221)
The Adafruit Motor HAT uses:
0x60 PCA9685
0x70 " " (all call address)
So there does not appear to be an I2C address conflict.
Just to be sure - the Sense HAT is still working as expected when used by itself?
0x46 LEDs (ATTINY88)
0x1C Accelo/Magno (LSM9DS1)
0x6A " "
0x5C Pressure/Temp (LPS25H)
0x5F Humidity/Temp (HTS221)
The Adafruit Motor HAT uses:
0x60 PCA9685
0x70 " " (all call address)
So there does not appear to be an I2C address conflict.
Just to be sure - the Sense HAT is still working as expected when used by itself?
- goobertek
- Posts: 184
- Joined: Tue Feb 03, 2015 9:45 pm
Re: SenseHat won't stop flashing
Thanks for the quick response. It's not. I have disconnected all other devices from the Pi. One time it will boot up fine. Then next it just keeps flashing. Trying to uploada video to show you. I have changed power supplies, reinstall the sense hat software and run and upgrade and update
- goobertek
- Posts: 184
- Joined: Tue Feb 03, 2015 9:45 pm
Re: SenseHat won't stop flashing
Tried to upload a .mov file but it would t let net.
- adafruit_support_carter
- Posts: 29056
- Joined: Tue Nov 29, 2016 2:45 pm
Re: SenseHat won't stop flashing
A movie is probably exceeding the max file size for forum attachments.
Can you post a photo of your setup?
Can you post a photo of your setup?
- goobertek
- Posts: 184
- Joined: Tue Feb 03, 2015 9:45 pm
Re: SenseHat won't stop flashing
The video would have just shown it flashing. Really nothing more. Any thoughts on what to try? I just purchased another sensehat to see if that will work. It gets here later this week. Just kinda of stuck:-)
- adafruit_support_carter
- Posts: 29056
- Joined: Tue Nov 29, 2016 2:45 pm
Re: SenseHat won't stop flashing
Can you link to the Python program being run?
- goobertek
- Posts: 184
- Joined: Tue Feb 03, 2015 9:45 pm
Re: SenseHat won't stop flashing
It’s flashing on boot prior to running a python program
- goobertek
- Posts: 184
- Joined: Tue Feb 03, 2015 9:45 pm
Re: SenseHat won't stop flashing
Is there a place that I could look in the startup process for something that could be causing an issue?
- adafruit_support_carter
- Posts: 29056
- Joined: Tue Nov 29, 2016 2:45 pm
Re: SenseHat won't stop flashing
The flashing at boot could just be a minor hiccup when things are booting up.
Do they work OK if you just ignore that and then run an example python program?
Do they work OK if you just ignore that and then run an example python program?
- goobertek
- Posts: 184
- Joined: Tue Feb 03, 2015 9:45 pm
Re: SenseHat won't stop flashing
No, the flashing won’t stop even if I run a python program to change the LEDs. It will flash and run the program at the same time and the return to flashing.
- adafruit_support_carter
- Posts: 29056
- Joined: Tue Nov 29, 2016 2:45 pm
Re: SenseHat won't stop flashing
Not really sure what's happening then. I'd suggest asking in the Raspberry Pi forums:
https://forums.raspberrypi.com/
They'd know more about what could be causing the behavior you are seeing.
https://forums.raspberrypi.com/
They'd know more about what could be causing the behavior you are seeing.
Please be positive and constructive with your questions and comments.