Go to advanced search

by Davespice
Sun May 24, 2015 6:23 pm
Forum: Astro Pi
Topic: BN Astro Pi Examples
Replies: 3
Views: 1487

Re: BN Astro Pi Examples

To get the conway game to work had to change 'ap.set_pixel(x, y ,color)' to 'ap.set_pixel(x, y, color[0], color[1], color[2])' otherwise a 'set_pixel() takes exactly 6 arguments' error was thrown Ah, you may have an older version of the API installed on your Pi. If you run these commands it will up...
by Davespice
Sun May 24, 2015 6:10 pm
Forum: Astro Pi
Topic: Joystick Problems
Replies: 7
Views: 1744

Re: Joystick Problems

Hi there, the Astro Pi joystick is mapped to the four keyboard cursor keys, with the middle-click being mapped to the Return key. This means that moving the joystick has exactly the same effect as pressing those keys on the keyboard. So does the pygame joystick example work if you use the cursor key...
by Davespice
Wed May 20, 2015 4:30 pm
Forum: Astro Pi
Topic: Apollo Soyuz Demo
Replies: 6
Views: 7119

Apollo Soyuz Demo

Hi folks Those of you who didn't get a kit but did get a HAT on it's own may not have seen this demo because you didn't get a pre-installed SD card. It's really good for getting to grips with what IMU sensor is for. It basically loads up a low poly 3D model of this 1970s spacecraft (ask your grandpa...
by Davespice
Tue May 19, 2015 10:21 pm
Forum: Astro Pi
Topic: Best case for Astro-Pi
Replies: 10
Views: 3366

Re: Best case for Astro-Pi

W. H. Heydt wrote:I know of another case that fits the HAT really nicely, but it's not on the market yet.
What this one? :lol:
https://www.raspberrypi.org/astro-pi-flight-case/
by Davespice
Mon May 18, 2015 7:38 pm
Forum: Astro Pi
Topic: any way to collect data into a graph on python?
Replies: 5
Views: 1460

Re: any way to collect data into a graph on python?

Just remember that Tim Peake won't have a screen connected to the Astro Pi on orbit so if you want to display anything as part of your competition entry then you need to use the LED matrix. It's fine if you're doing this for your own reasons / research though.
by Davespice
Mon May 18, 2015 7:35 pm
Forum: Astro Pi
Topic: Joypad Polling
Replies: 1
Views: 1019

Re: Joypad Polling

The joystick just looks like a USB keyboard mapped to the cursor keys and Enter. Try using it to navigate the Linux terminal history! :) So all you need to do is look for those same keyboard events. You should have an example file which demonstrates it. cd ~/astro-pi-hat/examples ./pygame_joystick.p...
by Davespice
Mon May 18, 2015 10:28 am
Forum: Astro Pi
Topic: OS taking a lot of space?
Replies: 4
Views: 1287

Re: OS taking a lot of space?

Try this command: df -h You should see something like this: Filesystem Size Used Avail Use% Mounted on rootfs 7.2G 2.6G 4.3G 38% / /dev/root 7.2G 2.6G 4.3G 38% / devtmpfs 214M 0 214M 0% /dev tmpfs 44M 236K 44M 1% /run tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 88M 0 88M 0% /run/shm /dev/mmcblk0p1 56M 19M ...
by Davespice
Sun May 17, 2015 5:42 pm
Forum: Astro Pi
Topic: Advice on Anti-Static Precautions
Replies: 16
Views: 5367

Re: Advice on Anti-Static Precautions

Hi Thomas I don't think you need to worry too much. Unless you've got a high static environment (with one of those static inducing carpets) then you can just do business as usual and it will be fine. Kids go around with them in their pockets and all sorts. I you manage to kill one through static I'l...
by Davespice
Sun May 17, 2015 5:35 pm
Forum: Astro Pi
Topic: How to calibrate the Magnetometer
Replies: 20
Views: 26798

Re: How to calibrate the Magnetometer

I think you should change 22. for my pi it is like this: /home/pi/astro-pi-hat/examples It has the 'pi' bit too. Sorry no, 22 is correct as it is. The ~ symbol just means the home folder of the logged on user (usually /home/pi on Raspbian). See here: http://stackoverflow.com/questions/3488603/how-d...
by Davespice
Sat May 16, 2015 9:01 pm
Forum: Astro Pi
Topic: Setup problem
Replies: 3
Views: 1204

Re: Setup problem

the booklet that came with my astro pi it says not to reinstall raspbian because there is no way to put the drivers on, and I also cannot find a setup script. What should I do? Thank you, Oscar That was true at the time that booklet was written but is now out of date. You can reinstall it with the ...
by Davespice
Sat May 16, 2015 8:58 pm
Forum: Astro Pi
Topic: How to calibrate the Magnetometer
Replies: 20
Views: 26798

Re: How to calibrate the Magnetometer

Looks like my astro pi cant find it: bash: cd: /root/RTIMULib/Linux/RTIMULibCal/: No such file or directory Hi again, not sure where you're getting /root from? cd ~/RTIMULib/Linux/RTIMULibCal/ The ~ in this path just means the home folder, so if you're logged in as the pi user this is the same as /...
by Davespice
Sat May 16, 2015 8:55 pm
Forum: Astro Pi
Topic: make astro pi use more cpu?
Replies: 4
Views: 1199

Re: make astro pi use more cpu?

Hi Thierry Well Tim Peake will be flying to the ISS with a Model B+ which has the same processor and memory as your old Model B. So if you're concerned that you might write an Astro Pi program on a Pi 2 that might run too slowly on a Pi 1 then the best course of action is just to test it. You can us...
by Davespice
Sat May 16, 2015 7:50 am
Forum: Astro Pi
Topic: Sense HAT availability
Replies: 29
Views: 16726

Re: Sense HAT availability

Astro wrote:Is there a ballpark guess on how much they will be?
That's the 64 million dollar question. We're hoping it will be around £30 but we haven't fixed the supply chain yet so the honest answer is that we don't know. But that's what we're shooting for.
by Davespice
Sat May 16, 2015 7:20 am
Forum: Astro Pi
Topic: Testing the pressure sensor
Replies: 6
Views: 1726

Re: Testing the pressure sensor

Nice one. The range is 1000 to 1100 millibars. It assumes the resting air pressure is 1000 millibars or above, if it's below this it'll probably calculate the blue colour component as a negative number and then fall over. You can see it subtracts 1000 from whatever pressure is measured and then uses...
by Davespice
Sat May 16, 2015 7:11 am
Forum: Astro Pi
Topic: Testing the pressure sensor
Replies: 6
Views: 1726

Testing the pressure sensor

Hi folks Unfortunately it's not as easy to make the air pressure sensor values change as holding your thumb on the sensor or breathing on it. But I've come up with a neat and cheap way that you can use in the classroom with your kids. You will need: A two litre plastic bottle (circular in cross sect...
by Davespice
Fri May 15, 2015 8:34 pm
Forum: Camera board
Topic: STICKY: Volunteers to assist with project: Honey Bee Counter
Replies: 56
Views: 42505

Re: Volunteers to assist with this project: Honey Bee Counte

Hi guyver2 Thank you for doing a great bit of work with these beehive videos. It certainly looks promising. I will see if I can record some new ones at 640x480. I was thinking to record at 90 fps but do you think 60 would be enough? I could do both. I think there is value in doing this and seeing ho...
by Davespice
Fri May 15, 2015 4:57 pm
Forum: Astro Pi
Topic: Reading orientation data in a loop
Replies: 8
Views: 4046

Re: Reading orientation data in a loop

I've confirmed the issue. It's almost as if there is a fifo queue inside RTIMUlib and if you read it slowly you slowly work through movements that have occurred in the past. I'll have a look into this but if the problem is with RTIMUlib then I'll need to get ShiftPlusOne to help. I have a workaround...
by Davespice
Thu May 14, 2015 7:48 am
Forum: Astro Pi
Topic: Superfluous rpi-update in air-pi-install.sh?
Replies: 4
Views: 1875

Re: Superfluous rpi-update in air-pi-install.sh?

Hi there! You mean astro-pi-install.sh right? :D If you have the latest Raspbian from May 2015 on your SD card then yeah it is a bit superfluous however we anticipate some people will be using earlier versions. In those the kernel module that is responsible for reading the HAT ID EEPROM doesn't work...
by Davespice
Wed May 13, 2015 3:51 pm
Forum: Astro Pi
Topic: Astro Pi set up help!
Replies: 7
Views: 2232

Re: Astro Pi set up help!

Thanks for the advice, I've wiped the SD card and reinstalled everything. My issue now is that it seems to have taken up all the space on the SD card (only 8 GB) so it now won't start when I type startx... it just takes a long time then comes up with an error message ('no protocol specified'). Afte...
by Davespice
Tue May 12, 2015 5:17 pm
Forum: Astro Pi
Topic: Astro Pi set up help!
Replies: 7
Views: 2232

Re: Astro Pi set up help!

Hi there, if the rainbow LEDs stay on then it's likely the drivers haven't installed correctly. I would suggest to wipe your SD card, install the latest Raspbian on it and then run the install script again . If it's easier to copy and paste the command to start the install script then you can get th...
by Davespice
Sun May 10, 2015 11:21 am
Forum: Teaching and learning resources
Topic: Weather Station / Oracle Academy Software Requirements
Replies: 5
Views: 1224

Re: Weather Station / Oracle Academy Software Requirements

As the application from for the Weather Station asks whether the school is an Oracle Academy, I assumed this is a selection criterion. Sadly it appears school can't be an Oracle Academy, whether we want to or not, because we use linux. Don't worry about that question on the form. There will be coun...
by Davespice
Fri May 08, 2015 8:57 am
Forum: Teaching and learning resources
Topic: Weather Station / Oracle Academy Software Requirements
Replies: 5
Views: 1224

Re: Weather Station / Oracle Academy Software Requirements

Hi Bill I'm not sure where you read that, can you provide a link? It seems this is absolutely not correct. The only thing that will contribute to our decision as to how kits will be allocated is going to be geographic distribution and number of pupils reached. We don't care about the IT choices in a...
by Davespice
Tue May 05, 2015 1:58 pm
Forum: Astro Pi
Topic: STICKY: Raspberry Pi Model A and B usage
Replies: 0
Views: 12213

STICKY: Raspberry Pi Model A and B usage

Note: If you have a rev 1.0 Model B from 2012, without the two mounting holes, you wont be able to use this trick. The Sense HAT is not form factor compatible with earlier versions of the Raspberry Pi. However with the use of an elevated 26 way header socket you can do a bodge that will work (with m...
by Davespice
Tue May 05, 2015 1:43 pm
Forum: Astro Pi
Topic: STICKY: Astro Pi software and drivers installation
Replies: 7
Views: 11571

STICKY: Astro Pi software and drivers installation

Hi folks, If you won an Astro Pi kit from phase one of the competition then you will have a pre-installed SD card that is now quite out of date (as of August 2015) and it is advised that you update your SD cards to the latest version of Raspbian . The Astro Pi python module has also been replaced wi...
by Davespice
Sun May 03, 2015 5:17 pm
Forum: Camera board
Topic: STICKY: Volunteers to assist with project: Honey Bee Counter
Replies: 56
Views: 42505

STICKY: Volunteers to assist with project: Honey Bee Counter

Hi all! We're looking for volunteers to assist with this project and I'm also hoping to show it to BBC Spring Watch (which we would involve you with of course). The goal is to make a bee counter using only visual data captured by the camera module. Specifically to keep a count of bees out and bees i...

Go to advanced search