Hi, Thanks, it's finally working! I have another question (sorry for offtopic). What will the judges consider when rating our project? Only code is important or what we will do with data after program results return from the ISS ? Example: we're planning to make climate chart but it is only possibl...
Hi there, sorry for the slow reply. I was in the Netherlands for a meeting with ESA and got stuck over there because of Storm Dorris. Try this code, it should be fairly self explanatory: import time from signal import pause try: import thread except ImportError: import _thread as thread running = Tr...
Hi Grozhibou The xyz values for the raw accelerometer measurements in the original post look normal to me. It's quite common to get close to 1G on the Z axis and a small amount on other axes at the same time. This can happen if, for instance, the surface the Sense HAT is on is not level. One thing y...
Hi Julien You need to do three things from a new project; As mattmiller said you need to create a variable named AddOn and set its value to SenseHat Create a broadcast block with the text gpioserveron Execute both blocks by either docking them together and double clicking them, or using a when Green...
Everything you need should be on this page. It tells you all the commands you can use along with a code snippet that you can copy and paste to try out. Scroll down to Joystick for specifically what you're after. https://pythonhosted.org/sense-hat/api/ There are also lots of free resources about lear...
You don't have two python programs running at the same time do you? If so you would need a call to set_rotation in both, otherwise the other process will still think it's on the default screen rotation. The set_rotation function also allows you the option to not redraw the screen if you don't want t...
There is a single threaded way to use the new Joystick system. See here: http://pythonhosted.org/sense-hat/api/#joystick So your code might be something like; from sense_hat import SenseHat, ACTION_PRESSED, ACTION_HELD, ACTION_RELEASED import os sense = SenseHat() b=(200) # brightness def clamp(valu...
Bonjour Julien, thanks for your questions. I'll try to take each one in turn below. Is it always fixed? Is that astronauts can be removed to carry out an experiment? There is one Astro Pi hard-mounted on a multi-use bracket in the Columbus module. A second one was mounted onto a hatch window in Node...
Yeah you can do it that way, or - you can set the screen rotation to I think either 90 or 270. sense.set_rotation(angle) The other thing you can do is manipulate the led_loop variable at the top of the program, move some LED numbers from the front to the back and you'll see this offsets where the bl...
Please refer to the information on the ESA website. This was updated on 17/10/2016 with more details and provides greater clarity on what you need to do.
If you have any questions after reading it feel free to post them below and I'll try to answer them.
Ah yes, I think there is a bug with the actual python code in that example. I think it points West... so it's always 90 degrees out
You can bodge it by using set_rotation and then it should work.
So the get_compass function makes a call to set_imu_config to disable everything but the compass. In your code you would need to do something like this to compensate north = sense.get_compass() sense.set_imu_config(True, True, True) orientation = sense.get_orientation() pitch = orientation['pitch'] ...
Yeah the gamma functions were put in just before the Astro Pi mission started. ESA required us to give it a dimming function because the ISS is really dark and dingy and full brightness would dazzle the crew
In IE the image of the sense hat is half hidden. I can only see the bottom half of it. IE locked up eventually too and I had to use task manager to close it. I was really wanting to test some new code on it too. I have to redo my joystick code. Would have been nice to test it on the emulator first ...
Folks, did you know this has all been simplified into the Sense HAT API itself? From version 2.2.0 onwards. Among other things you can now go: sense.stick.get_events() Scroll down to Joystick here: http://pythonhosted.org/sense-hat/api/ You probably have version 2.1.0 installed though so you'll need...
A web-based emulator of the Sense HAT is now in beta and ready for you all to get your hands on. In partnership with US-based startup Trinket , the emulator has been created to allow everybody the chance to programme with the Sense HAT, increasing educational opportunities AND future interaction wit...
Hi all; http://www.therpf.com/attachments/f11/apollo-lem-5-dsky-agc-agc2.jpg-254822d1384272894 Those of you who're old enough to know what this is, there is a cross platform software emulation of the AGC available online here: http://www.ibiblio.org/apollo/ I've saved you the trouble of building it....
Hi all We have just done a new release of the Sense HAT python library. Version 2.2.0. It's planned to go ino the next Raspbian image however, if you want it now, you can install it using pip. sudo apt-get remove python-sense-hat python3-sense-hat sudo pip install sense_hat sudo pip3 install sense_h...
Hi Scott, I concur with your findings. The anomaly on 25/02/2016 is most interesting though, the pressure shouldn't jump up and then back down again. So I'm stumped for an explanation for that one. I'm going to attempt to get someone for DLR or UKSA to verify.