# Unicorn Hat not lighting up at all

**URL:** <https://forums.pimoroni.com/t/unicorn-hat-not-lighting-up-at-all/15568>\
**Category:** Support\
**Created:** [December 13, 2020, 3:04am UTC](https://forums.pimoroni.com/t/unicorn-hat-not-lighting-up-at-all/15568 "2020-12-13T03:04:54Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![oeolartep](https://avatars.discourse-cdn.com/v4/letter/o/a88e57/32.png) [@oeolartep](https://forums.pimoroni.com/u/oeolartep)\
**Post date:** [December 13, 2020, 3:04am UTC](https://forums.pimoroni.com/t/unicorn-hat-not-lighting-up-at-all/15568/1 "2020-12-13T03:04:54Z")

</div>

I just got my Unicorn Hat (PIM054) and installed it on a Raspberry Pi3B+. Everything on the pi is up to date. I ran several examples after the installation and nothing happens, none of the leds turn on at all on the UnicornHat. Examples run without errors.

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [December 13, 2020, 10:24am UTC](https://forums.pimoroni.com/t/unicorn-hat-not-lighting-up-at-all/15568/2 "2020-12-13T10:24:49Z")

</div>

Ran as sudo? I do believe for some strange reason you have to use sudo?  
Firmly attached to the Pi’s GPIO?

---

<div class="post-metadata">

**Author:** ![oeolartep](https://avatars.discourse-cdn.com/v4/letter/o/a88e57/32.png) [@oeolartep](https://forums.pimoroni.com/u/oeolartep)\
**Post date:** [December 14, 2020, 10:12pm UTC](https://forums.pimoroni.com/t/unicorn-hat-not-lighting-up-at-all/15568/3 "2020-12-14T22:12:57Z")

</div>

Hi alfanumeric,  
I am running the examples using sudo, checked the good attachment to the PI, still do not see any led lighting up.  
Any ideas?

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [December 14, 2020, 11:23pm UTC](https://forums.pimoroni.com/t/unicorn-hat-not-lighting-up-at-all/15568/4 "2020-12-14T23:23:20Z")

</div>

Nothing comes to mind? I have two Unicorn HD’s and an HD Mini. I get error messages if for example SPI isn’t enabled. Or I’m missing a required font etc. I have yet to get no LED’s lit without some kind of error message as a hint to what’s wrong.  
Anything else attached to that Pi? If you have ever had other things attached and installed software for them, I recommend starting over with a clean PiOS image.

---

<div class="post-metadata">

**Author:** ![oeolartep](https://avatars.discourse-cdn.com/v4/letter/o/a88e57/32.png) [@oeolartep](https://forums.pimoroni.com/u/oeolartep)\
**Post date:** [December 22, 2020, 2:57am UTC](https://forums.pimoroni.com/t/unicorn-hat-not-lighting-up-at-all/15568/5 "2020-12-22T02:57:56Z")

</div>

Thanks alphanumeric. I have rebooted the PI with a clean OS without luck but I have found a quick workaround. I have downgraded the piOS from the latest to a previous 2020 release: [https://downloads.raspberrypi.org/raspbian/images/raspbian-2020-02-14/](https://downloads.raspberrypi.org/raspbian/images/raspbian-2020-02-14/)  
and the unicorn Hat is now working as expected.

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [December 22, 2020, 10:03am UTC](https://forums.pimoroni.com/t/unicorn-hat-not-lighting-up-at-all/15568/6 "2020-12-22T10:03:29Z")

</div>

Nice to hear you found a solution. I have resorted to older builds in the past to confirm something in the latest and greatest broke something that worked before.  
My Unicorn Hat HD’s work OK in the latest 2020-12-02. I don’t think I’ve tried my Unicorn Mini’s with that build yet though?

---

<div class="post-metadata">

**Author:** ![evilunix](https://avatars.discourse-cdn.com/v4/letter/e/e36b37/32.png) [@evilunix](https://forums.pimoroni.com/u/evilunix)\
**Post date:** [April 9, 2021, 4:06pm UTC](https://forums.pimoroni.com/t/unicorn-hat-not-lighting-up-at-all/15568/7 "2021-04-09T16:06:00Z")

</div>

I had a similar problem where only two lights would light up - on (a fresh install of) the default raspbian package available today in the Raspberry Pi Imager. I installed the light version of the raspbian from 2020-02-14 linked by oeolartep and now it works fine. That said, I also said “NO” to the install script for unicorn hat making changes to my audio, as I was also previously getting no audio out of my headphone out. Now, both the unicorn hat and audio out are working (haven’t tried simultaneously - guessing that won’t work)!

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [April 9, 2021, 5:37pm UTC](https://forums.pimoroni.com/t/unicorn-hat-not-lighting-up-at-all/15568/8 "2021-04-09T17:37:06Z")

</div>

I suspect GPIO 18 may be used for i2s. I would think saying yes or no would have no effect on the onboard HDMI or jack out audio. Might mess up a hat with a DAC on it though. Just my best guess really.

---

<div class="post-metadata">

**Author:** ![jonpi](https://avatars.discourse-cdn.com/v4/letter/j/49beb7/32.png) [@jonpi](https://forums.pimoroni.com/u/jonpi)\
**Post date:** [July 1, 2021, 2:39pm UTC](https://forums.pimoroni.com/t/unicorn-hat-not-lighting-up-at-all/15568/9 "2021-07-01T14:39:43Z")

</div>

Thanks evilunix - I’ve lost several hours today trying to get my Unicorn HAT working with buster desktop version until I found your note. I knew it wasn’t the Pi or HAT at fault as going back to an old SD with raspbian on made everything worked fine as oeolartep said.

The current download of “Raspberry Pi OS Lite” followed by update everything and install unicornhat by curl and all works well. However with the current “Raspberry Pi OS with desktop” all I get is the two LEDs flashing in one corner. Obviously something in the desktop breaks the unicornhat.

I even tried the latest nightly build of desktop and it breaks too.

I’ll try and report this as a bug on the github page as the solution to this thread “go back to raspbian” isn’t really a solution and nor is “don’t use the desktop”.

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [July 1, 2021, 6:28pm UTC](https://forums.pimoroni.com/t/unicorn-hat-not-lighting-up-at-all/15568/10 "2021-07-01T18:28:08Z")

</div>

Just FYI post, you can get any and all of the official images here,  
[Index of /raspbian/images (raspberrypi.org)](http://downloads.raspberrypi.org/raspbian/images/)

If you don’t have an older card on hand this will bail you out.
