Go to advanced search

by Brew
Fri Dec 22, 2017 7:56 am
Forum: Other projects
Topic: Countdown with Raspberry Pi & 7 Segment LED
Replies: 2
Views: 770

Re: Countdown with Raspberry Pi & 7 Segment LED

Did you ever find a answer to this as it is exactly the project I would like to do.
by Brew
Tue Jan 31, 2017 12:07 pm
Forum: HATs and other add-ons
Topic: RasClock RTC not working
Replies: 0
Views: 500

RasClock RTC not working

Hi there, I have just created a new image 4.4.38 and for the life of me I cannot make my RasClock V5 module work, I've followed the instructions here https://afterthoughtsoftware.com/products/rasclock but I cannot make it retain the time when powered down. Replacement battery, replacement module - n...
by Brew
Mon Mar 21, 2016 8:10 pm
Forum: HATs and other add-ons
Topic: PiFace Lister.deactivate buttons in script
Replies: 2
Views: 756

Re: PiFace Lister.deactivate buttons in script

Hi Dougie, that's all great thank you for that, some very interesting and clever stuff.

I am still keen to work out why I can't make the listener.deactivate function work properly if anyone has any pointers.

Cheers
Brew
by Brew
Mon Mar 21, 2016 8:54 am
Forum: HATs and other add-ons
Topic: PiFace Lister.deactivate buttons in script
Replies: 2
Views: 756

PiFace Lister.deactivate buttons in script

Hi there I'm trying to make this little python script run a little museum installation. Premise being you Pi boots and sets the experience, press the buttons the lights change audio plays and video media player is triggered. Once presentation complete Pi returns to standby state. I can make the even...
by Brew
Tue Aug 20, 2013 7:06 pm
Forum: Other projects
Topic: High Altitude Balloon Tracker
Replies: 6
Views: 5481

Re: High Altitude Balloon Tracker

Thanks to the code here https://github.com/ibanezmatt13/NORB i've got it all working I had to take the TX from the Pi to the RX of the GPS. All i need now is a clear day to send it all to space. :-)
by Brew
Tue Aug 20, 2013 6:23 am
Forum: Python
Topic: How to echo in python
Replies: 14
Views: 6572

Re: How to echo in python

Thanks for that I already had the gpsd bit working. But don't know how to write the GPS info to a file then shut down gpsd to use the port to transmitt the data with tty.
by Brew
Tue Aug 20, 2013 6:07 am
Forum: Other projects
Topic: Help with creating PI hearing loop for friend
Replies: 6
Views: 1924

Re: Help with creating PI hearing loop for friend

Is the ambient noise around the breakfast bar too loud for your hearing impaired user to distinguish the conversation by using the microphones within the hearing aids?
by Brew
Tue Aug 20, 2013 6:03 am
Forum: Other projects
Topic: Lego/hexbugs racing Pi mashup
Replies: 5
Views: 1561

Re: Lego/hexbugs racing Pi mashup

Smart really smart!
by Brew
Tue Aug 20, 2013 6:00 am
Forum: Other projects
Topic: High Altitude Balloon Tracker
Replies: 6
Views: 5481

Re: High Altitude Balloon Tracker

Hi Dan, thanks for that I'm fairly sure SQL will just melt my head right now but thanks for te input I'll check it out.
by Brew
Mon Aug 19, 2013 10:36 pm
Forum: Other projects
Topic: High Altitude Balloon Tracker
Replies: 6
Views: 5481

Re: High Altitude Balloon Tracker

So in order to transmit the GPS data I'm assuming I'll need to; get GPS NMEA data write it to a file read file transmit to ttyAMA0 I'm trying to use the Following taken from http://www.danmandle.com/blog/getting-gpsd-to-work-with-python/ to print the gps data to a text file. import os from gps impor...
by Brew
Mon Aug 19, 2013 8:02 pm
Forum: Python
Topic: How to echo in python
Replies: 14
Views: 6572

Re: How to echo in python

Here's a quick one would it be possible to send the contents of a text file to the serial port with this code?
by Brew
Mon Aug 19, 2013 7:49 pm
Forum: Python
Topic: How to echo in python
Replies: 14
Views: 6572

Re: How to echo in python

Excellent thank you for that it's a triumph. now I just need to work out how to parse the gps data. I believe I need to get the lat and long from the GPS NMEA data from the RX side of the port at 9600kps parse it some how to the radio transmitter running at 50kps Any top tips greatly appreciated. Ch...
by Brew
Mon Aug 19, 2013 4:30 pm
Forum: Python
Topic: How to echo in python
Replies: 14
Views: 6572

Re: How to echo in python

Thanks rurwin,

I have pySerial installed but can't work out the command to use and I can't find echo or ttyAMA0 on the pySerial wiki.

It is just because I am new.
Cheers
Brew
by Brew
Mon Aug 19, 2013 3:25 pm
Forum: Python
Topic: How to echo in python
Replies: 14
Views: 6572

How to echo in python

Hi there I'm trying to send information to a radio transmitter I have connected to the serial port of my pi.

From the prompt I can use;
"echo hello world > /dev/ttyAMA0"

How do I achieve the same thing from within a python script?

Cheers
Brew
by Brew
Fri Aug 16, 2013 8:06 pm
Forum: Other projects
Topic: High Altitude Balloon Tracker
Replies: 6
Views: 5481

High Altitude Balloon Tracker

Hi All, here seems as good a place as any to throw this discussion, here's what I am trying to achieve. Send payload to 30,000m 100,000 foot ish and it send a message back saying i'm at height X, retrieve said payload when it comes back down to earth. If i can get some pictures in real time along th...
by Brew
Tue Aug 13, 2013 5:45 am
Forum: Camera board
Topic: Time Lapse - open ended
Replies: 6
Views: 2975

Re: Time Lapse - open ended

Hi Guys, Thanks for all the help on this below is what I've got working, it takes a picture named with the date and time then sleeps for 30 seconds and takes another picture. This loops indefinitely. import os from time import sleep while(True): import time import datetime date = datetime.datetime.f...
by Brew
Sat Aug 10, 2013 3:11 pm
Forum: Beginners
Topic: Connecting RPi to a wireless connected laptop via ethernet
Replies: 3
Views: 962

Re: Connecting RPi to a wireless connected laptop via ethern

Hi there in a ideal world your RPi will need to be physically connected to a network with internet access in order for it to be able to connect to the internet and the apt-get function to work. It is possible at the moment you are operating two networks one in which your laptop is wireless connected...
by Brew
Fri Aug 09, 2013 11:40 am
Forum: Camera board
Topic: Time Lapse - open ended
Replies: 6
Views: 2975

Re: Time Lapse - open ended

Thanks kaos for that info so what I have now is import time import datetime import os image_num = 1 date = datetime.datetime.fromtimestamp(time.time()).strftime("%Y-%m-%d %H-%M-%S") strImage = str(image_num) os.system("raspistill -o image" + strImage + ".jpg") print date How do i get the date and ti...
by Brew
Tue Aug 06, 2013 7:24 am
Forum: Camera board
Topic: Time Lapse - open ended
Replies: 6
Views: 2975

Time Lapse - open ended

Hi there, I have a project I'd like to do where I take time lapse for a period of time then switch to video then back to time lapse. There are a fair few tutorials on scripting for X time take Y pictures. Here's a great example from Andrew Mulholland https://github.com/gbaman/RaspberryPi-Camera/blob...
by Brew
Tue Aug 06, 2013 7:23 am
Forum: Camera board
Topic: Time Lapse - open ended
Replies: 0
Views: 450

Time Lapse - open ended

Hi there, I have a project I'd like to do where I take time lapse for a period of time then switch to video then back to time lapse. There are a fair few tutorials on scripting for X time take Y pictures. Here's a great example from Andrew Mulholland https://github.com/gbaman/RaspberryPi-Camera/blob...

Go to advanced search