Go to advanced search

by Odog1996
Sun Dec 01, 2013 1:12 pm
Forum: General discussion
Topic: Playing sound files on the Raspberry Pi
Replies: 3
Views: 6133

Playing sound files on the Raspberry Pi

Hello, I have been playing around trying to get sound files to be played when I press a button on one of the GPIO pins. I started using mpg321 but I have found it prints loads of stuff the the command line and doesn't have a command to stop the current track (not that I can find anyway). Can anybody...
by Odog1996
Sun Dec 01, 2013 1:03 pm
Forum: General discussion
Topic: Playing sound files on the Raspberry Pi
Replies: 0
Views: 303

Playing sound files on the Raspberry Pi

Hello, I have been playing around trying to get sound files to be played when I press a button on one of the GPIO pins. I started using mpg321 but I have found it prints loads of stuff the the command line and doesn't have a command to stop the current track (not that I can find anyway). Can anybody...
by Odog1996
Sun Aug 04, 2013 11:29 am
Forum: Camera board
Topic: Triggering the Camera from GPIO pins
Replies: 13
Views: 21991

Re: Triggering the Camera from GPIO pins

Yes, you just replace it so it reads

Code: Select all

os.system("raspivid -t 0 -o myvideoname.h264")
and delete any references to numbering the picture file.

Glad I could be of assistance :),

Owen
by Odog1996
Sat Aug 03, 2013 7:12 pm
Forum: Camera board
Topic: Triggering the Camera from GPIO pins
Replies: 13
Views: 21991

Re: Triggering the Camera from GPIO pins

I have had a play around and found that once the video recording is started, unlike the image, the interpreter holds on the command to start the video indefinitely until a keyboard interrupt is received. I don't know how to get around this as I have tried while statements yet it still holds on the c...
by Odog1996
Sat Aug 03, 2013 5:40 pm
Forum: Camera board
Topic: Triggering the Camera from GPIO pins
Replies: 13
Views: 21991

Re: Triggering the Camera from GPIO pins

Does a red light come on on the camera board when the Pi first boots up? If not then it may be a connection or hardware fault? Those links provided some help but don't allow you to video for an amount of time that has not been predetermined. I have the idea that you can just set the video rolling an...
by Odog1996
Sat Aug 03, 2013 11:20 am
Forum: Camera board
Topic: Triggering the Camera from GPIO pins
Replies: 13
Views: 21991

Re: Triggering the Camera from GPIO pins

Hey Ashley, I will have a play around and see what I can come up with. Yes if the Pi is restarted the images are overwritten but there should hopefully be a way round that date-stamping or something like that. A second switch to do whatever would be fine, just connect it to another GPIO pin and decl...
by Odog1996
Fri Aug 02, 2013 9:24 pm
Forum: Camera board
Topic: Triggering the Camera from GPIO pins
Replies: 13
Views: 21991

Re: Triggering the Camera from GPIO pins

Hi, Thanks very much for your help guys, I have managed to get it to work so when I press the switch a photo is taken then a light is shown on the little board that the camera has finished. Here is the code I used so anyone wishing to recreate this can do so. My trigger is a simple push to make swit...
by Odog1996
Thu Aug 01, 2013 7:49 pm
Forum: Camera board
Topic: Triggering the Camera from GPIO pins
Replies: 13
Views: 21991

Triggering the Camera from GPIO pins

Hi, I would like to create a program where when one of the GPIO pins goes high, the camera takes a picture. I will also need to get my Pi to run this program as soon as it starts up. I know how to use the GPIO function as part of the Python library, but could someone please tell me how to use Python...
by Odog1996
Thu Jan 03, 2013 5:26 pm
Forum: Automation, sensing and robotics
Topic: Sending serial commands to a Raspberry Pi over WiFi
Replies: 4
Views: 7146

Sending serial commands to a Raspberry Pi over WiFi

Hi, I was just wondering: If you want to build a robot out of a Pi that can be driven wirelessly, can you send serial commands over a wireless network from the computer to the Raspberry Pi and send data and video back, or do you need separate wireless modules configured for serial commands (Xbee, AP...
by Odog1996
Mon Dec 10, 2012 4:00 pm
Forum: Automation, sensing and robotics
Topic: Would this project work?
Replies: 2
Views: 878

Would this project work?

Hi, Right I would like to build a small robot on a tank chassis that can be driven from either my computer or my laptop. I have already built a basic frame on Arduino but I am looking at using the Raspberry Pi on the robot itself as it will be able to handle video, which I believe the Arduino can't....
by Odog1996
Sun Dec 09, 2012 7:43 pm
Forum: Automation, sensing and robotics
Topic: Would this motor driver work?
Replies: 4
Views: 964

Re: Would this motor driver work?

Yeh, I bought a 0.6A quad motor driver cheaply thinking that would be plenty, but it struggles to make them start, so I'm going for something with a little bit more umph!!!
by Odog1996
Sun Dec 09, 2012 1:22 am
Forum: Automation, sensing and robotics
Topic: Would this motor driver work?
Replies: 4
Views: 964

Re: Would this motor driver work?

Hmm, but most of those do 2A max, this one has a combined output of 10A, either 1 X 10A or 2 X 5A, which is more than enough for any hobby motor.
by Odog1996
Sun Dec 09, 2012 12:16 am
Forum: Automation, sensing and robotics
Topic: Would this motor driver work?
Replies: 4
Views: 964

Would this motor driver work?

I am looking at building a little robot on a Tamiya platform and I have found this motor driver for my dual motor gearbox:
http://proto-pic.co.uk/low-voltage-dual ... ontroller/
I just wanted to check that these are compatible with the Raspberry Pi before I buy them?
Thanks
Owen
by Odog1996
Tue Jul 17, 2012 5:57 pm
Forum: Beginners
Topic: GPIO Pins
Replies: 1
Views: 744

GPIO Pins

Hi,
This has probably been mentioned before but just to clarify to prevent damage to my Pi: When giving a GPIO pin number in Python (E.G.: GPIO.setup(XX, GPIO.OUT)) , do you give its Broadcom number (E.G.: GPIO 17) or its Pi Number (E.G.: GPIO 0)?
Thanks
Owen
by Odog1996
Sun Jul 15, 2012 6:54 pm
Forum: Troubleshooting
Topic: Recovering files
Replies: 1
Views: 536

Recovering files

Right, As mentioned in 2 earlier posts I am having problems with my VNC, I have decided the best way to solve this would be a complete clean install of the OS and associated files on the SD card. But first I want to get all of my programs off the card so they aren't deleted in the install. I am usin...
by Odog1996
Sat Jul 14, 2012 8:27 pm
Forum: Troubleshooting
Topic: Type 1 Font
Replies: 1
Views: 628

Type 1 Font

Hi, Earlier on I posted a topic about VNC not working due to a font issue. I have found the fonts that are missing and managed to install 2 packages one containing the 75dpi and the other 100dpi fonts. I now need the 'Type 1' fonts package but i can't seem to find a package that will contain it. Can...
by Odog1996
Sat Jul 14, 2012 7:50 pm
Forum: Troubleshooting
Topic: Tight VNC Server - Cont.
Replies: 0
Views: 483

Tight VNC Server - Cont.

Hi, Earlier on I posted a topic about VNC not working due to a font issue. I have found the fonts that are missing and managed to install 2 packages one containing the 75dpi and the other 100dpi fonts. I now need the 'Type 1' fonts package but i can't seem to find a package that will contain it. Can...
by Odog1996
Sat Jul 14, 2012 1:23 pm
Forum: Troubleshooting
Topic: Tight VNC Server
Replies: 4
Views: 12110

Re: Tight VNC Server

Hi, Right, I was playing around and in the VNC script (Used Nano) it askes for some fonts that are in the X11 folder that aren't there. I tried to use: " sudo apt-get font-bitstream-speedo xord-fonts-type1 xorg-xcomp xorg-xkb-utils xkbsel " (without quotation marks) to get the missing font...
by Odog1996
Fri Jul 13, 2012 8:07 pm
Forum: Troubleshooting
Topic: Tight VNC Server
Replies: 4
Views: 12110

Tight VNC Server

Hi, Due to space limitations on my desk I am using Tight VNC Server to operate my Raspberry Pi, It has been working fine until I tried to switch it on again now and I get the error message: Couldn't start Xtightvnc; trying default font path. Please set correct fontPath in the tightvncserver script. ...

Go to advanced search