Search found 82 matches
- Sun Apr 03, 2016 12:29 pm
- Forum: Python
- Topic: Parsing NMEA strings with pynmea2
- Replies: 3
- Views: 2997
Re: Parsing NMEA strings with pynmea2
Thanks for the quick replies. I have a few things to try now. For info I'm running a fresh install of Jessie on a B+ And, when launching the python script it with sudo python script.py it cant import serial. I tried with python3 and it gets as far as the error above, and it then i got stuck. **On ed...
- Sat Apr 02, 2016 9:24 pm
- Forum: Python
- Topic: Parsing NMEA strings with pynmea2
- Replies: 3
- Views: 2997
Parsing NMEA strings with pynmea2
Hi forum folk. I have hooked up a microstack GPS receiver to my B+, and can see the NMEA data using cat /dev/ttyAMA0, so the connections are OK . I found the parsing example below and the next step was to adapt it to my means, but it does not run. import serial import pynmea2 def parseGPS(str): if s...
- Mon Jul 06, 2015 7:29 pm
- Forum: Astro Pi
- Topic: Joystick and Push Buttons
- Replies: 15
- Views: 3168
Re: Joystick and Push Buttons
Well done!
- Mon Jul 06, 2015 6:56 pm
- Forum: Astro Pi
- Topic: Did everyone make the deadline?
- Replies: 2
- Views: 972
Re: Did everyone make the deadline?
Ditto Dave. I'm really looking forward to the next two days!
- Thu Jul 02, 2015 8:38 pm
- Forum: Astro Pi
- Topic: Joystick and Push Buttons
- Replies: 15
- Views: 3168
Re: Joystick and Push Buttons
I'm really looking forward to seeing your entry zeta!
- Thu Jun 25, 2015 9:27 pm
- Forum: Astro Pi
- Topic: pi Noir camera not detected but normal pi camera is.
- Replies: 19
- Views: 3915
Re: pi Noir camera not detected but normal pi camera is.
I had this problem. The sunny connector had popped out!


- Thu Jun 25, 2015 1:09 pm
- Forum: Astro Pi
- Topic: Example Astro Pi code
- Replies: 13
- Views: 5239
Re: Example Astro Pi code
Bump - for you know who you are.
- Tue Jun 23, 2015 8:50 pm
- Forum: Astro Pi
- Topic: pi Noir camera not detected but normal pi camera is.
- Replies: 19
- Views: 3915
Re: pi Noir camera not detected but normal pi camera is.
As Dougie said, check the sunny connector on the camera itself. It's prone to not being seated properly.
Simple check too.
Caught me out many times.
Simple check too.
Caught me out many times.
- Thu Jun 18, 2015 3:40 pm
- Forum: Astro Pi
- Topic: Astro Pi Temperature Sensor Reading
- Replies: 64
- Views: 54050
Re: Astro Pi Temperature Sensor Reading
I did a -10 to +40 run in our test lab yesterday. Astro Pi returned a nice linear response on both of the temperature sensors. Granted, there was a delta between the sensors themselves, and the thermocouple probe, but nothing major. I will remove the RTC board and re-run it tomorrow, to see what eff...
- Tue Jun 16, 2015 12:51 pm
- Forum: Astro Pi
- Topic: Astro Pi Temperature Sensor Reading
- Replies: 64
- Views: 54050
Re: Astro Pi Temperature Sensor Reading
Rotation? If it can be proven, through analysis perhaps, that the RTC board gives sufficient air gap then the OP's experiment will be valid. My astro pi is one of the few with the RTC board in between the Pi and The HAT. It's the exact same configuration as the flight unit, and has shown that the se...
- Thu Jun 04, 2015 9:37 pm
- Forum: Astro Pi
- Topic: Astro Pi Temperature Sensor Reading
- Replies: 64
- Views: 54050
Re: Astro Pi Temperature Sensor Reading
I posted some code recently to log temperature, humidity and pressure. It yielded good results for me. I left my Astro Pi outside overnight and saw a 15 ish degree swing in the temperature reading using ap.get_temperature() https://pbs.twimg.com/media/CFM80d6WYAA41LZ.jpg How come some people are not...
- Thu Jun 04, 2015 9:27 pm
- Forum: Astro Pi
- Topic: Astro-Pi as handheld sensor
- Replies: 1
- Views: 1110
Re: Astro-Pi as handheld sensor
Good work. I like this!
- Sat May 30, 2015 8:14 pm
- Forum: Astro Pi
- Topic: Got The pi and pi noir cameras, not being detected
- Replies: 9
- Views: 2296
Re: Got The pi and pi noir cameras, not being detected
Try this.
Code: Select all
wget https://www.raspberrypi.org/files/astro-pi/kinstall.tar.gz
sudo tar -C / -xvpf kinstall.tar.gz
sudo reboot
- Mon May 25, 2015 9:31 pm
- Forum: Astro Pi
- Topic: Example Astro Pi code
- Replies: 13
- Views: 5239
Re: Example Astro Pi code
Some people have asked for the code I have been using to take-time-lapse videos. Time-lapse photography could be an exciting use for an Astro Pi when on the ISS, looking out of the Cupola? My simple code: import time import picamera from astro_pi import AstroPi ap = AstroPi() with picamera.PiCamera(...
- Sat May 16, 2015 1:56 pm
- Forum: Astro Pi
- Topic: Get directional vector from Yaw, Pitch & Roll
- Replies: 18
- Views: 17648
Re: Get directional vector from Yaw, Pitch & Roll
This is heavy stuff guys.
Does anyone know what x, y and z are in relation to the HAT?
I'm writing a script to use the raw accelerometer values, but my astro pi is doing some data logging, so I cant check...
Does anyone know what x, y and z are in relation to the HAT?
I'm writing a script to use the raw accelerometer values, but my astro pi is doing some data logging, so I cant check...
- Sat May 16, 2015 1:20 pm
- Forum: Astro Pi
- Topic: Example Astro Pi code
- Replies: 13
- Views: 5239
Re: Example Astro Pi code
This code will read figures of temperature, humidity and pressure and write them to a .csv file. There are a few things you can easily change like maxcount, to adjust the length of time for the experiment, and the sleep time to adjust the time between samples in seconds. It also displays the count n...
- Sat May 16, 2015 9:22 am
- Forum: Astro Pi
- Topic: Testing the pressure sensor
- Replies: 6
- Views: 2214
Re: Testing the pressure sensor
1027.34 Millibars this morning in sunny Gosport. Could use this to make a neat little graphical barometer..
- Sat May 16, 2015 7:18 am
- Forum: Astro Pi
- Topic: Testing the pressure sensor
- Replies: 6
- Views: 2214
Re: Testing the pressure sensor
Thanks Dave! Going to try this with the kids later!
- Fri May 15, 2015 5:51 pm
- Forum: Astro Pi
- Topic: Reading orientation data in a loop
- Replies: 8
- Views: 4782
Re: Reading orientation data in a loop
Yeah, just tinkering with yaw, I can see that is plays catchup after you stop moving.
But, pitch and roll take big jumps to the new position.
But, pitch and roll take big jumps to the new position.
- Fri May 15, 2015 4:54 pm
- Forum: Astro Pi
- Topic: Reading orientation data in a loop
- Replies: 8
- Views: 4782
Re: Reading orientation data in a loop
I have run your code on my pi, and it look OK on first glance. Watching your video were you only changing the yaw to test it?
- Wed May 13, 2015 8:01 pm
- Forum: Astro Pi
- Topic: Astro Pi set up help!
- Replies: 7
- Views: 2903
Re: Astro Pi set up help!
Really good to see some Astro Pi user comments!
The project is getting its legs!
The project is getting its legs!
- Mon May 11, 2015 9:15 pm
- Forum: Astro Pi
- Topic: Example Astro Pi code
- Replies: 13
- Views: 5239
Re: Example Astro Pi code
Got a camera connected to your Astro Pi? This little script will count down from 5 on the LED display and then take an image with the camera. import time import picamera from astro_pi import AstroPi ap = AstroPi() ap.clear() for i in reversed(range(1,6)): ap.show_letter(str(i), text_colour=[128, 0, ...
- Sat May 02, 2015 10:48 am
- Forum: Astro Pi
- Topic: How to calibrate the Magnetometer
- Replies: 20
- Views: 38787
Re: How to calibrate the Magnetometer
Thanks Dave. Worked like a charm.
Had to do the full version, but it's not difficult if you follow the well written steps!
Cheers
Had to do the full version, but it's not difficult if you follow the well written steps!
Cheers
- Sun Apr 26, 2015 1:40 pm
- Forum: Astro Pi
- Topic: Example Astro Pi code
- Replies: 13
- Views: 5239
Re: Example Astro Pi code
I'm lucky enough to have some hardware, because I'm part of the Astro Pi team. I'm putting these example here to record my tinkering, and when hardware gets into the hands of people, schools or other, they can get going quickly. These two just scratch the surface of the capability of the Astro Pi HA...
- Sat Apr 25, 2015 7:53 pm
- Forum: Astro Pi
- Topic: Example Astro Pi code
- Replies: 13
- Views: 5239
Re: Example Astro Pi code
The code below will display the IP address of network port eth0 on the LED matrix. I find this useful, as I work my Astro Pi headless over SSH, and often move between networks. (It's another example of how to display variables on the LED matrix) It's also useful to have it run on boot, so.......... ...