growlf
Posts: 2
Joined: Tue Jan 28, 2014 8:59 pm

LEDS wont light (except at boot) - the rest is fine

Wed Jan 27, 2016 7:54 am

I recently purchased an AstroPi board and several other components (from various resellers) and all of the components work as expected - except the LEDs on the AstroPi. I can control the PiGlow just fine, on the same board with the same instance of Raspbian. I can even access the sensors on the AstroPi, but the LEDs will not light up at all.

I am using a 2A USB power supply and all components are recently updated to the latest versions. I am using a class 10 16GB sd card from Kingston (though I have tried several different ones from several manufacturers, as per suggestions on a few other forums).

I have installed the UnicornHat lib and saw no errors during install. I tried running the example scripts (from the UnicornHat library) with both python2 and python3.

The kicker is that when I turn the Pi on for the first time, all the LEDs _DO_ light up until the boot progresses and then they shut off after a moment.

Any help on this is very appreciated!

alphanumeric
Posts: 2528
Joined: Tue Jan 19, 2016 2:17 pm
Location: Sydney, Nova Scotia, Canada

Re: LEDS wont light (except at boot) - the rest is fine

Thu Jan 28, 2016 5:45 pm

Why are you using the Unicorn Hat lib? It's not a Unicorn Hat, you need to use the Sense Hat API for the LED matrix.
https://pythonhosted.org/sense-hat/api/

Return to “Astro Pi”