Raspberry Pi playfulness

From: ANT_THOMAS29 Dec 2012 00:56
To: ALL31 of 853
Well I've finally used my first GPIO pins!

Powering and controlling a relay. Click! Click! Once I've bought a new soldering iron (can't find my old one :C ) I'll hook that up to my camera and I'll be able to turn it on and off on demand (hopefully). 

Well, it's more for turning the camera on when it crashes and turns off. Using a Canon Ixus 220 HS I got off eBay with a broken screen as a high quality webcam. Camera running CHDK, RPi talking to the camera with chdk-ptp.

I've also ordered a PIR sensor. Don't want to totally copy Mikee but it might end up on my balcony pointing at some bird seed :$
From: Wattsy (SLAYERPUNX)29 Dec 2012 11:00
To: ANT_THOMAS 32 of 853
Woo, actually doing something with it. Mines still a XBMC, it does need an update though.
From: ANT_THOMAS29 Dec 2012 11:12
To: Wattsy (SLAYERPUNX) 33 of 853
My other one is in a box with a webcam hanging off my balcony.
From: Wattsy (SLAYERPUNX)29 Dec 2012 11:37
To: ANT_THOMAS 34 of 853
Local perv huh? (YJ)
From: ANT_THOMAS29 Dec 2012 11:54
To: Wattsy (SLAYERPUNX) 35 of 853
I wish :(
From: ANT_THOMAS29 Dec 2012 22:29
To: ALL36 of 853
Relay works great.

Took me ages to manage to get some wires soldered to the existing on/off switch on the camera without melting everything.

Camera dies
Click Click
Camera back on
From: Ken (SHIELDSIT)30 Dec 2012 00:04
To: Wattsy (SLAYERPUNX) 37 of 853
That's what I keep going back to with mine as well.

I was thinking about trying it to host my blog and beehive install, but it's not fast enough.  I even went with nginx. I suspect it's mysql causing the slowness.

But in the end I think it's going back to Raspbmc!
From: Wattsy (SLAYERPUNX)30 Dec 2012 18:14
To: Ken (SHIELDSIT) 38 of 853
I didn't get on with Raspmc, I preferred openelec build, looks like they have an offical build out now I will have to install it soon.
From: ANT_THOMAS30 Dec 2012 19:08
To: Wattsy (SLAYERPUNX) 39 of 853
I don't think I could ever get used to XBMC on the RPi after using reasonably decent spec HTPCs.
From: Ken (SHIELDSIT)30 Dec 2012 19:54
To: ANT_THOMAS 40 of 853
It's not terrible.  The menus are laggy sometimes, but it plays 1080p files fine.
From: Wattsy (SLAYERPUNX)30 Dec 2012 21:04
To: Ken (SHIELDSIT) 41 of 853
I second this post!
From: ANT_THOMAS30 Dec 2012 21:53
To: Ken (SHIELDSIT) 42 of 853
It's the laggy menus which get me annoyed. I've still not checked how good it is at deinterlacing. I use my HTPCs mainly for Live TV so that's essential.
From: Ken (SHIELDSIT)30 Dec 2012 21:56
To: ANT_THOMAS 43 of 853
Gotcha
From: ANT_THOMAS18 Jan 2013 19:36
To: ALL44 of 853
I now have a motion sensor working nicely and a temperature sensor arrived today which works great too. Seems the little corner of the room my RPi is sitting is a bit cold right now...11C!

With a combination of the relay, camera and motion sensor I can take photos whenever motion is detected.

One day I'll use a combination of the temp sensor(s) and relay to turn on/off central heating. Seems quite a few people have done similar projects.

Motion sensor - £1.38
Temperature sensor - £2.11
Mini breadboard - £0.99
40 jumper cables - £1.75
Relay - £1.06

I like these cheap bits.
EDITED: 18 Jan 2013 19:39 by ANT_THOMAS
From: Matt18 Jan 2013 19:46
To: ANT_THOMAS 45 of 853
quote:
One day I'll use a combination of the temp sensor(s) and relay to turn on/off central heating

Great idea. Make it user controllable, maybe via a dial interface for ease of use.

You could make it wall mountable too.

And call it a thermostat.

:P
From: ANT_THOMAS18 Jan 2013 19:49
To: Matt 46 of 853
....then make it web accessible!
From: Ken (SHIELDSIT)18 Jan 2013 20:45
To: Matt 47 of 853
I think Apple has a patent on that, so he better be careful!
From: Ken (SHIELDSIT)18 Jan 2013 20:47
To: ANT_THOMAS 48 of 853
I want to start messing with Arduino, have you messed with them at all? Can you tie them into a system using the Pi for home automation things?
From: ANT_THOMAS18 Jan 2013 21:52
To: Ken (SHIELDSIT) 49 of 853
Not touched any Arduino stuff but may do in the future. The RPi is currently enough for me on the tinkering front at the moment.
From: Ken (SHIELDSIT)18 Jan 2013 21:53
To: ANT_THOMAS 50 of 853
I'm just about to pay for this.  Should get me started!