gustavjoh
Posts: 1
Joined: Wed Aug 02, 2017 3:24 pm

Sense HAT display adds random pixels

Thu Aug 03, 2017 3:27 pm

Hi, I ran into a strange issue with my brand new Sense HAT, when I run the simple script below multiple times random pixels start to light up. I have been able to run more advance programs as https://projects.raspberrypi.org/en/pro ... -astronaut on it and then it works fine but i can still from time to time see flashing pixels. Could this be normal?

Code: Select all

from sense_hat import SenseHat

sense = SenseHat()

red = (255, 0, 0)
green = (0, 255, 0)
blue = (0, 0, 255)

sense.set_pixel(1,1,255,0,0)
First time script was run:
smaller-IMG_20170803_165550.jpg
smaller-IMG_20170803_165550.jpg (190.44 KiB) Viewed 999 times
Second time script was run:
smaller-IMG_20170803_165556.jpg
smaller-IMG_20170803_165556.jpg (181.4 KiB) Viewed 999 times
Third time script was run:
smaller-IMG_20170803_165558.jpg
smaller-IMG_20170803_165558.jpg (194.39 KiB) Viewed 999 times

User avatar
Davespice
Raspberry Pi Foundation Employee & Forum Moderator
Raspberry Pi Foundation Employee & Forum Moderator
Posts: 1634
Joined: Fri Oct 14, 2011 8:06 pm
Location: London, United Kingdom
Contact: Website Twitter

Re: Sense HAT display adds random pixels

Thu Aug 10, 2017 8:32 am

Hmm, that should definitely not happen. You could add a clear command at the start of your code to help mitigate it;

Code: Select all

sense.clear()
Are you over-clocking the Pi?
Can you post the output of these Terminal commands too?

Code: Select all

uname -a
sudo vcgencmd version

Return to “Astro Pi”

Who is online

Users browsing this forum: No registered users and 3 guests