Go to advanced search

by davidmam
Sun Aug 19, 2012 2:48 pm
Forum: Other projects
Topic: Photography Projects
Replies: 150
Views: 66660

Re: Photography Projects

OK, scrub my last message - after a reset of the Pi, I can now gphoto2 --capture-image-and-download, then usbreset, and repeat without issue. Well only one slight issue - with that 'basic' command, it wants to overwrite the same image filename, so asks to continue - I,m guessing there is a way to a...
by davidmam
Sun Aug 19, 2012 2:25 pm
Forum: Other projects
Topic: Photography Projects
Replies: 150
Views: 66660

Re: Photography Projects

WHat happens when you try to auto-detect the camera?
by davidmam
Sun Aug 19, 2012 12:56 pm
Forum: Other projects
Topic: Photography Projects
Replies: 150
Views: 66660

Re: Photography Projects

Check the USB mode set on the D80. You also need to ensure the camera is switched on.

..d
by davidmam
Thu Aug 16, 2012 10:30 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: kernel patch for Dallas 1-wire interface
Replies: 227
Views: 156390

Re: kernel patch for Dallas 1-wire interface

I should say a big Thankyou to Frank for his hard work on this. I had it up and running with no problems. The only issue now is that when soldering my A2D converter I fried it somewhat so am now looking for a new one. Everything else works fine.
by davidmam
Thu Aug 16, 2012 9:59 am
Forum: Other projects
Topic: Photography Projects
Replies: 150
Views: 66660

Re: Photography Projects

So all we need is a hack in gphoto2 that will send a resetusb command after each interaction. Did it not do that? Or is it a feature of the USB implementation on the Pi.

The other question is what side effects this will have. I use a USB wireless. Oh well, one more thing to try out tonight.
by davidmam
Tue Aug 14, 2012 3:46 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: kernel patch for Dallas 1-wire interface
Replies: 227
Views: 156390

Re: kernel patch for Dallas 1-wire interface

Many thanks for that. I was hoping you would provide a pre-compiled kernel as my cross-compiling options are limited.

Looking forward to trying it out tonight :) (and seeing if I have fried my UART GPIO pins, and if I can get the I2C ADC to work.)
by davidmam
Fri Aug 10, 2012 9:41 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Additional TTL on I2C or SPI?
Replies: 11
Views: 8814

Re: Additional TTL on I2C or SPI?

The GPS unit does use 5v, but why couldn't I just plug in to the 5v header to supply the correct voltage? Because then the signals being fed into the Pi would be 5V logic signals and would damage the Pi's input pins. To do that you would need to conenct a 5v input to the GPIO pin. You can use the 5...
by davidmam
Thu Jul 19, 2012 7:39 am
Forum: Automation, sensing and robotics
Topic: 1-wire temperature logging
Replies: 23
Views: 17434

Re: 1-wire temperature logging

As has been said, you can do this with the Pi and a single resistor as well as the DS18S20. Each one wire device has a unique ID so no worries about them swapping /dev location. Look for the one wire kernel thread in interfacing for details. It works just fine with multiple sensors (I've run five ov...
by davidmam
Thu Jul 12, 2012 2:33 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C ADC
Replies: 99
Views: 29995

Re: I2C ADC

[quote="Sjakie"]First the code with the Quick2wire API. This code can talk to the PCF just fine but it seems like after the first 'read' it wont refresh, it just loops and spits out the same value. Restart the script and it will show a different reading though. #!/usr/bin/env python3 import quick2wi...
by davidmam
Sun Jul 08, 2012 10:37 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Connecting serial devices to the UART pins
Replies: 3
Views: 1603

Re: Connecting serial devices to the UART pins

It's 3.3v That was clever. I didn't even specify the model of electricity monitor.. I think I may have fried the Rx though it might be fine (yet to test it properly as my earlier tests were not appropriate). Got it all working fine through a serial USB adapter (which highlighted why the earlier tes...
by davidmam
Sat Jul 07, 2012 10:56 pm
Forum: General discussion
Topic: Power supply for Raspberry Pi from USB hub?
Replies: 4
Views: 2834

Re: Power supply for Raspberry Pi from USB hub?

If it is a cheap hub that doesn't regulate each channel to 500mA then yes, it will work. It is how I run mine (though with a 4 port hub)

..d
by davidmam
Sat Jul 07, 2012 10:25 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C ADC
Replies: 99
Views: 29995

Re: I2C ADC

http://www.ebay.com/itm/ws/eBayISAPI.dll?ViewItem&item=200594940129 It is an ADS7828 8 channel 12 bit ADC which should be fine to play with. There appear to be drivers in the kernel. I've also bought a SOIC breakout board on which to put it so I can get it to behave. WHen it arrives I will be able t...
by davidmam
Thu Jul 05, 2012 11:16 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C ADC
Replies: 99
Views: 29995

Re: I2C ADC

I don't know if you are in the right forest, but I am happily following your scent as you are barking int he same direction as me.. I've just ordered a different i2c ADC which claims to have kernel support, and an i2c io register so it will be interesting to see how this works out.
by davidmam
Fri Jun 29, 2012 10:55 pm
Forum: Beginners
Topic: Noob Question Re: Ralink RT5370 WiFi Adapter
Replies: 4
Views: 5845

Re: Noob Question Re: Ralink RT5370 WiFi Adapter

The ralink module should be a simple apt-get install. I just installed something similar and was amazed how easy it was. Try 'sudo apt-cache search ralink' and see what appears.

They are quite well supported
by davidmam
Fri Jun 29, 2012 12:54 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C ADC
Replies: 99
Views: 29995

Re: I2C ADC

It looks like this thread has some ideas - maybe using i2cget would be the way to go? http://www.raspberrypi.org/phpBB3/viewt ... f=7&t=1434
by davidmam
Fri Jun 29, 2012 8:17 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C ADC
Replies: 99
Views: 29995

Re: I2C ADC

I'm hoping to use some I2C ADC for a project but am a little unsure how to read the values from the ADC. The hardware side seems fine - run 5v and ground to the ADC and read the data line through a 5v/3.3v level converter. I'm not sure which ADC to use or how to get the values. I presume I can just ...
by davidmam
Wed Jun 27, 2012 9:58 pm
Forum: Other projects
Topic: Photography Projects
Replies: 150
Views: 66660

Re: Photography Projects

Those patches went into the 2.6 kernel and appear to be in the 3.2 source so I don't think it is that. I haven't done an exhaustive check though.
by davidmam
Wed Jun 27, 2012 8:55 pm
Forum: Automation, sensing and robotics
Topic: Analogue input into pi
Replies: 19
Views: 15985

Re: Analogue input into pi

Try this thread: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=44&t=6649&hilit=1wire It works fine. Reading the temperature from the 1-wire with python is trivial Simple cgi script to push a list of sensors and temperatures onto a simple web page. #!/usr/bin/python import cgi import os import re...
by davidmam
Thu Jun 21, 2012 12:41 pm
Forum: Other projects
Topic: Photography Projects
Replies: 150
Views: 66660

Re: Photography Projects

Hey guys, If someone can give me a kick in the right direction on how I might go about getting gPhoto2 compiled on my Pi, that would be really helpful :) Mal First update your apt-get cache then you should be able to do something like 'apt-cache search gphoto' which will list the availabel packages...
by davidmam
Mon Jun 18, 2012 9:08 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: kernel patch for Dallas 1-wire interface
Replies: 227
Views: 156390

Re: kernel patch for Dallas 1-wire interface

I ran the Pi update script to get everythingto the latest versions then used Frank's kernel. It ran without problems. With respect to long runs, you might find that the long runs drop too much voltage. You have two options. One is to use a serial adapter on the UART pins (I haven't done this but hav...
by davidmam
Sun Jun 17, 2012 7:17 pm
Forum: Beginners
Topic: Kindle power supply
Replies: 5
Views: 2960

Re: Kindle power supply

I found that the long Kindle cable dropped the voltage too much for reliable behaviour. You may want to try a shorter USB cable.

..d
by davidmam
Sun Jun 10, 2012 8:21 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Connecting serial devices to the UART pins
Replies: 3
Views: 1603

Connecting serial devices to the UART pins

I have a device that kicks out status on a serial link (An electric usage meter) that I would like to interface to the Pi via the UART pins. I've had it talking to the Arduino using softserial but ran into issues as SoftSerial doesn't cope with 115000 Baud. My problem is that I don't know the voltag...
by davidmam
Fri Jun 01, 2012 8:58 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: kernel patch for Dallas 1-wire interface
Replies: 227
Views: 156390

Re: kernel patch for Dallas 1-wire interface

Thank you guys so much for the code and examples - it worked pretty much straight out of the box (once I had put the DS1820 in the right way round and let the polyfuse reset..)

Now to work out how to drive relays etc..
by davidmam
Fri Jun 01, 2012 2:34 pm
Forum: Debian
Topic: BUG: No www-data group in Debian Image
Replies: 6
Views: 2603

Re: BUG: No www-data group in Debian Image

spurious wrote:I noticed this, but takes 2 secs to add

Code: Select all

groupadd www-data
Correct. After you have spent a long time as a newbie working out what the problem is and then how to fix it. If you are an old hand Linux sysadmin then no worries. But it is detail that should be taken care of.
by davidmam
Thu May 31, 2012 1:35 pm
Forum: Other projects
Topic: Breadboards
Replies: 3
Views: 2202

Re: Breadboards

SK Pang do a very nice case, breadboard and jumper kit for about £15 - even comes with enough LEDs and switches to do something too. http://www.skpang.co.uk/catalog/starter-kit-for-raspberry-pi-p-1070.html might be a good place to start I can see something like this being ideal for schools (via a bo...

Go to advanced search