Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sense-hat]

The sense hat "is an add-on board for Raspberry Pi, made especially for the Astro Pi mission" which went to the International Space Station in December 2015 and is commercially available.

1
vote
0answers
51 views

Sense HAT LED matrix displays incorrectly

When I try to light up one pixel at a time, the whole column lights up. This happens no matter what color I set it to. The rainbow when the pi boots up is also distorted since the columns are lighting ...
1
vote
0answers
42 views

Pi-3, Model B, SenseHat - How can I restart my code while it's active.?

I am new with python and PI. I have been looking all over for information about this but with no luck. currently it works like this: I start the program, I press the button and then it starts counting ...
0
votes
0answers
18 views

Stop sense hat joystick terminal output

I was wondering if there was a way to stop the sense hat output of ^[[A, ^[[B, ^[[C, ^[[D and newline to the terminal when moving it in various directions? I understand that it's the equivalent of me ...
0
votes
0answers
62 views

Rpi not reading data from Sense HAT due to missing frame buffer

I'm having trouble getting my RPi 3 to listen to a Sense HAT. The Sense Hat is getting power and the RPI is aware of the Hat. pi@BBLPi1:~ $ ls /dev/i2c* /dev/i2c-1 pi@BBLPi1:~ $ i2cdetect -y 1 ...
1
vote
0answers
151 views

Rpi unable to detect sense HAT

I'm trying to attach a Sense HAT to a Rpi3 B+ via a 40pin M2F GPIO ribbon cable and I'm having trouble getting the Rpi to recognize the Sense HAT. In order to get the RPi configured correctly, I've ...
0
votes
1answer
88 views

Is the Raspberry Pi's Sense HAT compatible with other computers?

I'm trying to interface the sense HAT with a PIC24 based non-Raspberry Pi motherboard. I'm not good with computer hardware and standards so I don't know what other information to give for a useful ...
0
votes
1answer
188 views

Sense HAT - Power Consumption

What is the average power consumption of the official Sense HAT (w/o LEDs)? More specifically: I'm interested in the power consumption when logging the data from the gyroscope, accelerometer and ...
0
votes
0answers
90 views

SenseHat Calibration, Compass wrong coordinates

I am having an issue with the SenseHat where it only is picking up the East and South coordinates while setting up a compass in a python script. I have seen things online telling me to install octave ...
1
vote
2answers
102 views

Can P5.js or Processing read the output of the Sense HAT on a Raspberry Pi 3?

My objective is to create interactive art by taking the inputs from the Sense Hat and using the values read to update a drawing created with p5.js or processing. Is there a way to do this? I thought ...
0
votes
0answers
78 views

Sense Hat rainbow tests forever; unable to access Pi

Disclaimer: I'm incredibly new to coding (I first looked at a command line nine weeks ago for a class and the class has taught me nothing thus far). Explain as you would to an illiterate ten-year-old. ...
0
votes
0answers
30 views

How save fast changing barometeric data

I have problems with vibrations from my neighbours (I am very sure about the source). I have found out that the vibrations as they go through the airways in the ventilation system, the best way to ...
1
vote
0answers
168 views

Using I2C with the SenseHat

I'm working on a project that involves getting data from a SenseHat and transferring it via I2C to a arduino. I have managed to get the RPI and Arduino communicate without the sensehat but as soon as ...
1
vote
2answers
34 views

When connecting the sense hat using jumping wires, do I need to connect to a ground pin?

I want to connect the sense hat to a raspberry using jumping wires. I understand that I need to connect the highlighted pins in this schema of the pin out. But do I also need to connect wires to a ...
-1
votes
1answer
76 views

RPi corrupting one SD card a week

I have a model 3 running some python code as a service. It's never on for more than 30 minutes at a time and is maybe used once a day. However, when I do use it, it is often powered on and off ...
1
vote
2answers
206 views

Does the Sense HAT have an ADC?

I want to use analog signals with a Pi via the Sense HAT. Does the sense hat have an analog to digital converter (ADC)?
0
votes
0answers
113 views

Where do I insert temperature correction code for my eclipse-based sense HAT project

I am making a sense hat data logger as specified by the Raspberry Pi website, but it does not say how to get accurate temperature readings. I found a solution in the second code block on this blog, ...
1
vote
0answers
530 views

Raspberry Pi 3B SenseHat Not Detected

Ordered a Raspberry Pi 3B and sensehat a couple of days ago, they've arrived and I have set it all up as per the instructions. I've run sudo apt-get update,sudo apt-get upgrade -y and sudo reboot ...
3
votes
1answer
285 views

Misconnected Sense HAT, now won't respond

I managed to misconnect my Sense HAT so that pin 1 on the Raspberry Pi got connected to pin 3 on the HAT, pin 2 to pin 4 and so on; that is to say, the HAT was inserted one pin off in the direction of ...
0
votes
1answer
289 views

Watch command “Refresh rate”

I am using a Pi 3 Model B and a Sensehat. I am using the following command: sudo watch -n 0.1 python sensors.py My program runs fine and the command works, However I have one issue. Even though I ...
1
vote
1answer
63 views

Can two different Python programs use the Sense Hat simultaneously?

I would like to know if it is possible to run two different and unrelated python programs that access different parts of the Sense Hat. Specifically, I have one program that is a data logger and ...
0
votes
0answers
196 views

Humidity Sensehat

Hi I am using the Sensehat to measure temperature, humidity and pressure. I accounted for the cpu temperature by using the method that can be found on various forums. I measured temperatures and ...
2
votes
1answer
1k views

Using GPIO on the Pi Sense Hat

I Have Raspberry Pi 3 Model B and to that I attached Pi Sense hat. I am wondering that can I use the header connections from the Pi Sense hat (as all 40 pins from Raspberry Pi board has been used by ...
1
vote
0answers
415 views

Sense Hat import error

I made a python program for my Raspberry Pi a while back and it uses my sense hat and motion sensor both connect via gpio by using a TriGpio expansion board and it worked for a while until recently ...
3
votes
0answers
634 views

Sense HAT not working on RPi 3 correctly with official power supply

I have a Raspberry Pi 3 model B. I was using a 5.25V 2A power supply that I used for my previous Pi 2 (which made the red light flash because it didn't provide enough power) until last week, when the ...
0
votes
1answer
450 views

Sense Hat RGB Code

I am a new programmer, trying to learn python. I am using the sense hat to mess around with, I want to make it like rotate RGB colors. I am using the sense.set_pixel and passing in the x,y and r,g,b ...
1
vote
0answers
83 views

Sense HAT clears with wrong color

Here's my code: from sense_hat import SenseHat hat = SenseHat() hat.clear(255, 255, 255) What should clear the HAT white clears it peach Why is this?
0
votes
0answers
319 views

Sense HAT behaves strangely

I have fixed my sense HAT after bending the male pins of the header. I used a https://shop.pimoroni.com/products/gpio-hammer-header Pimoroni Solderless GPIO Hammer Header But I tested it and it ...
0
votes
0answers
648 views

Sense Hat with Java

Does anyone know how I can use the raspberry pi sense hat with java? I am aware of pi4j, but I don't know how to use it to communicate with the sense hat. Does anyone have any idea how it could be ...
4
votes
1answer
363 views

pi zero audio output with sense hat

I have asked this question on raspberry pi forum but no response. I am trying to make a web radio alarm with display and control using a sense hat. I got the radio working first on an old RPi A using ...
5
votes
2answers
354 views

Which GPIO header does the Sense HAT use?

I have been playing around with my Sense HAT, and I have bent 2 pins in the GPIO Header My plan is to replace the GPIO Header (I have removed it without desoldering) Is this a sensible idea? If it ...
1
vote
0answers
62 views

Raspberry Pi abruptly “dies” when I apply physical pressure

I have been using my Pi B2 since 2015. I recently got a Sense Hat, but it behaves extremely weirdly when I use it. For example, I used the mini joystick, which applied slight pressure to my Pi. Then,...
1
vote
1answer
522 views

Is there any way to get the Sense HAT to work with the Raspberry Pi B?

I purchased a Sense HAT for my Raspberry Pi B (Rev. 2 I think), only to find that the Sense HAT has 40 GPIO pins while my Pi has 26. I have also found that the Adafruit product page says it is not ...
1
vote
1answer
1k views

Does the official sense hat support the RPI Zero and RPI 2?

Just as the title asked. I'm considering purchasing a first-party sense hat, and I'd like to know if it works with the Raspberry Pi Zero and the Raspberry Pi 2 Model B.
1
vote
2answers
387 views

Raspberry pi HAT device-tree

I'm currently developping a Raspberry pi HAT. The Raspberry pi HAT must contain a EEPROM with several information in it. This information will be read at boot time in order to configure the Raspberry ...
3
votes
1answer
148 views

Raspberry pi HAT id Vendor id Product origin

I'm currently developing a Raspberry pi HAT which I will eventually sell in the future. According to the official documentation the EEPROM memory of the HAT must contain several information. Two of ...
1
vote
2answers
347 views

Sense HAT GPIO Pins Broke Off

I got a Sense HAT back in January and yesterday finally got around to installing it. I played with it but I noticed that the HAT had screw holes but did not come with screws. I used some screws that ...
1
vote
1answer
389 views

Captive Portal for my Website Served off of the Same Device as Access Point is Served

I currently have a Raspberry Pi 3 equipped with a SenseHat running Raspbian. I Have made a website to control the SenseHat by running programs that use the SenseHat. My server is nothing fancy:). I ...
1
vote
1answer
193 views

Can't Access TTY: Job Control Turned Off (Sense Hat)

Been working on the raspberry pi with the sense hat with no problems. Due to the temperature been way off I got a ribbon cable to attach to the sense hat. When I plug the sense hat into the ribbon ...
1
vote
2answers
2k views

SenseHat reporting temperature incorrectly - Can it be calibrated?

I just received my SenseHat in the mail. I have started with the tutorial from the raspberry pi website, but even after copying and pasting the code directly the temperature reading is showing as -41 ...
1
vote
1answer
196 views

Sense hat install to non-Raspbian distro?

Is it possible to install the sense hat on Kali linux (or other GNU/Linux distro)? Or is Raspbian necessary?
0
votes
3answers
778 views

Output of thermal_zone0

I am looking to get the output of thermal_zone0 (CPU temp) to display on my Sense-Hat. I now know how to print the temp thanks to @Joan but when i try the code below but i got Traceback (most recent ...
5
votes
2answers
3k views

Why does the Sense Hat / Astro Pi show the wrong temperature and humidity?

I recently bought the sense-hat, previously called astro-pi. Unfortunately the temperature shows 28 to 31 degrees Celsius from both temperature sensors on the board. They often show around 30 degrees ...
0
votes
2answers
266 views

sense hat sample “snake” returns “event device not found” error

My "sense hat" sits ontop of a raspberry pi 3. I've completed the installation instructions found at https://www.raspberrypi.org/documentation/hardware/sense-hat/ lexu:~> sudo apt-get update lexu:~...
0
votes
2answers
605 views

Raspberry Pi Sense HAT on Rpi 3?

I have a question to ask you guys. Can I use the Raspberry Pi Sense HAT (the one used in Astro Pi) with the Raspberry Pi 3 without having any kind of problems? Thanks in advance!
2
votes
1answer
387 views

Shutdown Raspberry Pi 2 with SenseHAT via Python script?

I have a headless Pi running Raspbian with the Sense HAT attached on top. A portable micro USB charger is attached to the outside of the casing, in order to make the Pi handheld. My classes are ...