Thursday, September 5, 2013

GPIO frustrations

Having had issues getting my Raspberry Pi project working I stripped it down to debug what was actually happening.

Turns out I can read 3V3 from P1 and P6 (ground) fine ..
No GPIO ribbon = 3V3

But when I connect my GPIO ribbon cable the voltage dropped to 1V6 stopping even my LEDs working with the 220R resistors I was using. OK so my understanding here may not be fantastic but checking resistance across the M-M wires is only 0.4 Ohms. Measuring again across GPIO ribbon using 2 leads remains at 0.4 Ohms.

Time to get some basic Female to Male leads and be done with it... any ideas as to why the GPIO ribbon is behind the voltage drop?

Monday, August 12, 2013

Some LibreOffice tricks


Batch convert LibreOffice files to PDF

sudo libreoffice --headless --convert-to pdf *.docx
Just does what it says on the tin .. easy as. Note: sudo is needed - thanks Jay http://listarchives.libreoffice.org/global/users/msg28788.html and https://bugs.freedesktop.org/show_bug.cgi?id=37531

LibreOffice won't start (unless --norestore is used)

I often shut-down my laptop without checking for working documents / emails in draft. Things are so reliable in general that I can start up and continue (generally also the docs / emails were no so important that I could just walk away from unfinished). Lately I've had had the issue that I just couldn't start LibreOffice .. I found --norestore but needed it every time.

Check for restore items in the following file and just delete them
~./.config/libreoffice//user/registrymodifications.xcu

Wednesday, August 7, 2013

Pixel CL-N3 Pin out

In case there are others out there tempted to but the pixel CL-N3 as opposed to the Canon one (or other generic). No comment yet on actual use but here are the pin-outs

Thanks to http://www.doc-diy.net/photo/remote_pinout/

Raspberry Pi project - shutter control on Canon 7D

OK so I'm embarking on my first 'real' Raspberry Pi hack. I've got one running as a music server but that's not really what it's all about. It's time to do some GPIO and maybe work my way towards some real electronics.

What I've selected as my first project is to replicate something that's been done before - getting the Pi to trigger the shutter on my partners Canon 7D. As per http://www.ohmypi.com/2013/06/16/control-canon-camera-using-raspberry-pi-gpio-rpi-gpio-how-to/ and many others out there.

Here is my shopping kit:

  • Raspberry Pi *
  • GPIO ribbon cable*
  • Basic Breadboard *
  • Jumper Wires 6" M/M Pack of 10
  • Asus USB-N10 **
  • 0.5W Metal Film 470K 1% resistors (8 pack) **
  • 2 x 2N222 NPN transistors **
  • Pixel CL-N3 
** thanks to Jaycar