Winter now has a good grip on the entire UK. Good job these little fellas managed to get their stash of nuts sorted out before the snow arrived.
Since owning a couple of Raspberry Pi’s, many of the projects I intended to create with my Arduino were given a new lease of life.
The Arduino is great for doing I/O related stuff – so camera triggers based on various sensors, controlling robots, environmental monitors and home automation amongst other things. However, getting it talking to the outside world can start to get expensive. There are USB Host “shields”, ethernet shields, in fact more shields than a field full of saxon warriors would know what to do with. But, they are often time consuming to program for otherwise simple tasks such as running a web server, sending email alerts, etc.
This is where the Pi comes into its own. The interface to the outside world is there to use at will in the form of web pages, email, audio or even full HD video if you wish. You get a bunch of programmable GPIO pins thrown into the mix so if you need to add some buttons, sensors, motors or lights it can all be done very simply. That concludes my praise of the Raspberry Pi, now on to the project.
This expands upon a project I found by David Hunt which is a very simple way to trigger your DSLR in sync with a couple of droplets of water. The limitation of David’s version was that there was no way to trigger it quickly and easily without either hooking it up to your network or plugging in a keyboard and display. Essentially my project is the same – it uses a solenoid to release a couple of water drops in quick succession and then fires the camera shutter. Some good results are possible. I figured that by adding a pushbutton, the whole lot could be put in a small enclosure and used anywhere and without a computer or network. I then extended a little more by adding a web server (using the WebIOPi framework) and a wifi dongle to create an ad-hoc wireless network which can be connected to with your smartphone. The web interface provides a nice simple interface to allow complete customisation of how and when the droplets are released – how many drops, interval between them and delay before firing shutter. I have terminated the shutter release pins on a 2.5mm jack which is compatible with many low cost universal shutter release cables so this project should work with any camera (in theory) which can be fired using a shutter release cable. It also save having to chop up old cables and makes it look a bit tidier.
Other considerations which I am yet to implement are 2 additional trigger ports for off-camera flash. By using a longer shutter speed and using the flashes to provide all the light for the shots, it is possible to get extremely sharp shots and you can be creative with things like coloured gels. My Canon EOS 7D is quite happy commanding external flashed itself, so I’ve not bothered putting this functionality in yet, but perhaps I will if enough people ask for it.
Lastly, and a little obscurely – this very same device can be used as a the basis for a digital drinks measure. By having a different web page, using some food grade 6mm tubing and some modified bar optics (very cheap on eBay) it is possible to have your Pi dispense perfectly measured drinks for you . The Pi has 15 usable IO pins, so in theory that means it could control up to the same number of Solenoids – all attached to different bottles. Pop your glass under the “tap”, open the webpage and select the drink of choice from the menu – from milk to margaritas, Orgasms to orange juice. The choice is yours!
So, I’ve been trying to think of a decent use for my Raspberry Pi that nobody else has thought of yet. And then, my dishwasher sprang a leak all over the kitchen floor.
The status lights had been doing some weird stuff for a while, but normally just putting the thing on again got it going. What I didn’t know was that all those flashing lights meant that water was leaking out all over the kitchen floor, not doing the laminate flooring any good whatsoever.
So, what if the flood sensor (basically a switch connected to a lump of polystyrene) were connected to my RasPi which in turn was connected to my WiFi network? Any triggering of the sensor would initiate an email with a useful message telling me exactly what was wrong. Sounds good so far, but why stop there? How about notifications when the salt was running low, or the rinse aid needed filling up?
I’m now thinking a web interface would be good for the current status (much like the sort of thing you get on a networked printer) showing salt level, rinse aid level, current status and estimated time before complete.
Configurable alerts would be quite easy to set up for all of the above, including a mail when the cycle finishes. I have to take my trusty old SMEG apart again next week to replace a couple of o-rings and hopefully stop the leak. I’ll take a quick look at the circuitry while I’m inside and see what my conclusion is.
Watch this space!
Last night was “Camera Club Night”, with this weeks topic of Industrial Photography. I was a little unsure of what to expect but was pleasantly surprised to be given a very informative talk by Mr Rob Marvelly, a former employee of C.E.G.B and nPower. The first half of the evening was a fascinating projected slide show of his lifes work as an in-house photographer for the aforementioned companies. His images, whilst quite dated, were strangely fascinating. An insight in to a world that is rarely experienced by anyone apart from those in the business of generating energy. Nuclear Reactors, Power Station Control Rooms, men in white coats…..and ducks.
That’s where it got a bit strange. The second half of Bob’s (we knew him by then) presentation involved two 25 year old short videos. The first, 16 minutes long, was a safety video going in to a lot of detail of how they fixed a problem with some pipes at Dungeness Power Station. The second video, 28 minutes long, was a wildlife documentary detailing how the power industry are doing their bit for nature. Quite fascinating, but only because I’m a fan of wildlife documentaries – but hardly photography. All in all, a very informative evening although I think the die-hard photographers in the group may have felt a little cheated as there was little to be learned from a photography perspective.
I want this to be a place where people share ideas, share their pictures, ask questions and answer them too.
Whether you’re a professional photographer looking to share your knowledge, or someone who would like to try photography but doesn’t know where to start, you are welcome here.
It may take me a while to get the site fully up and running, but please check back regularly or feel free to post to get a conversation started.