# Unicorn Hat only has 5 rows light up

**URL:** <https://forums.pimoroni.com/t/unicorn-hat-only-has-5-rows-light-up/14789>\
**Category:** Support\
**Created:** [August 23, 2020, 5:45am UTC](https://forums.pimoroni.com/t/unicorn-hat-only-has-5-rows-light-up/14789 "2020-08-23T05:45:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![a\_pie\_allergy314](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@a\_pie\_allergy314](https://forums.pimoroni.com/u/a_pie_allergy314)\
**Post date:** [August 23, 2020, 5:45am UTC](https://forums.pimoroni.com/t/unicorn-hat-only-has-5-rows-light-up/14789/1 "2020-08-23T05:45:20Z")

</div>

Hello. I have a Unicornhat but only the top 5 rows out of the 8 light up. When the code runs it seems to think all 8 rows are working as I don’t get any errors, yet the bottom 3 rows stay dark. I’ve tried this on a Pi 4B running Raspbian and also Ubuntu, as well as on a Pi Zero W running Raspbian. In all cases, I’m able to run the example programs in the Github repo but only 5 rows light up and the other 3 are do nothing. I tried telling the code to rotate 90 degrees, which it does, but the 3 rows that were dark before are still dark.

I don’t think this is a case of interference from something else. I’m not playing any sound, I tried removing the sound drivers completely, and I tried plugging in an HDMI monitor. There’s no interference on the LEDs either: they’re all dark when I’m not running the python code and the 5 rows light up perfectly when I run the example code.

If I set the code to think it is a PHAT, the top for rows light up properly.

Has anyone seen this before? I’ve been using a Rainbow hat on my Pi4b and Pi Zero W for a few months now with no issues so I think I’m using the Unicornhat correctly. Maybe it’s defective?

---

<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:** [August 23, 2020, 8:19am UTC](https://forums.pimoroni.com/t/unicorn-hat-only-has-5-rows-light-up/14789/2 "2020-08-23T08:19:26Z")

</div>

Sounds like its defective to me? You can e-mail Pimoroni directly vis the following link.  
I’d put a link to this thread in that e-mail.  
[https://shop.pimoroni.com/pages/contact-us](https://shop.pimoroni.com/pages/contact-us)

It sounds like 1 LED in the chain has failed. I believe they are smart led’s, all in series neopixel like.

---

<div class="post-metadata">

**Author:** ![Shoe](https://avatars.discourse-cdn.com/v4/letter/s/e36b37/32.png) [@Shoe](https://forums.pimoroni.com/u/Shoe)\
**Post date:** [August 23, 2020, 1:43pm UTC](https://forums.pimoroni.com/t/unicorn-hat-only-has-5-rows-light-up/14789/3 "2020-08-23T13:43:15Z")

</div>

> It sounds like 1 LED in the chain has failed. I believe they are smart led’s, all in series neopixel like.

Exactly this, each LED has to pass data to the next, so if one fails everything in the chain after that stops too. Unless you have something like a hot air gun it’ll be difficult to repair yourself.

---

<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:** [August 23, 2020, 6:16pm UTC](https://forums.pimoroni.com/t/unicorn-hat-only-has-5-rows-light-up/14789/4 "2020-08-23T18:16:09Z")

</div>

Could also be a fault on the circuit board, a break in a trace or something. If one had the skills and equipment it might be worth replacing that first LED in the chain that’s dark.  
It wouldn’t be something I’d try myself as I was never trained in SMT stuff, and don’t have the tools to do it anyway. You’d need a heat gun, some patience and some luck lol.

---

<div class="post-metadata">

**Author:** ![a\_pie\_allergy314](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@a\_pie\_allergy314](https://forums.pimoroni.com/u/a_pie_allergy314)\
**Post date:** [August 23, 2020, 7:27pm UTC](https://forums.pimoroni.com/t/unicorn-hat-only-has-5-rows-light-up/14789/5 "2020-08-23T19:27:50Z")

</div>

Thanks everyone. I’ll try returning it to the place I got it from
