My wife wafted a leaflet under my nose that Lincoln had had from school @YsgolBrynHedydd about a Mini-Beast Habitat competition. That’s how it all started. Firstly, its the kind of task that’s right up my street as it involves Lincoln and insects. Not to mention its a COMPETITION. Not that i’m competitive or anything!
So the idea behind the task was to make a mini beast habitat fit for an insect (albeit slow moving from what I can gather, you know, snail, beetle, mere wood louse, that kind of thing) The task involves hunting for recyclable stuff to make the habitat with and then put a range of materials in there to see which habitat particular beasts prefer – grass, pebbles, leaves etc.
So with an old, large Rice Krispie box ready for a makeover, I got thinking how we could make a habitat that not only wins a place in the nature area but also one that would stand out from the crowd. If I was an arts or crafts teacher I am sure it would have been adorned with all manner of paper mache attire, glued and painted in glorified poster paint technicolor. But seeing as I am an IT/Computing teacher, I had to get some tech in there somewhere!
Initially I did a quick sketch and wrote a list of things to consider, I explained to Lincoln why these things were important as we planned our project. He is just happy he gets to play with a Raspberry Pi in the process!
I figured the wifi wouldnt be a problem but as a precaution we emailed Lincoln’s headteacher who confirmed we would be ok and added it sounded really exciting and interesting. Green light, we’re off!
During Saturday 26th October 2013 I spent a lot of the day messing about with “motion” probably one of, if not the best pieces of software for streaming video, thus turning a Raspberry Pi into a webcam server. The problem was finding a camera that was compatible. We quickly discovered, a nice Creative Labs one was NOT compatible, but a cheap and cheerful £4.99 webcam from B&M Bargains works quite nicely.
Just for completeness at this stage, we made sure our Belkin wireless dongle was going to play nicely with the Pi and yes, it worked first time with little to no effort, next job, powering the Pi for large periods of time without external influence. I did lots of research and found that there was half a chance that it could be done using a Solar Powered battery, however from the research it was a bit hit and miss. Bearing in mind this was a competition I could not risk something not working so I purchased a battery pack that would do the trick. This device has a large enough capacity to power the low consumption of the Pi and its 2 devices for a couple of days before it needs to be charged, by which point the learning/observing will have taken place.
All the pieces of tech were now in place, just had to test them all. On the home network things worked fine, the Motion daemon runs at startup and everything was working as it should. Knowing the school use IOS devices, our next task was to do a bit more research to see if there was an app capable of streaming the video content from the Pi. Having discovered Internet Explorer/Chrome and Safari all hate streaming MPEG video from the Pi (Firefox works fine) I thought we were in for a tricky time. Luckily we found a FREE app called iCamViewer which does the job of streaming the video perfectly!
The next stage was to actually make the habitat that was going to become the Big Brother of the insect world. In true Geek style, we decorated the cereal box with graphics from Minecraft which we painstakingly cut out and stuck to the box. The camera was then nestled securely inside a Milky Bar Buttons Tube which was also camouflaged Minecraft-esque!
The biggest considerations at this point were how to weather protect the electrical equipment and also where best to place the camera to get the best possible viewing of our bugs! We decided that little plastic tubs would be suitable to shelter the Pi and its power source.
Once the habitat was completely decorated we secured all the technology in first so that we could then hide it with materials that would become the habitat.
We then went on the hunt for materials to put inside the habitat. Scissors and wires down and hats and coats on for this job.
We glued leaves to the base inside and then placed small plastic tubs “bottom to bottom” inside so grass could go in one and bamboo on the other. After letting it all dry out, a layer of thick cardboard was glued on the underside to strengthen the habitat as it was quite heavy.
Time to test it! We located a friendly little bug in the garden in the form of a snail that was hanging around outside, personally I think it had seen the construction work going on and had his/her eyes on moving in!!
The snail seemed to like it so now it was time for lights, camera, and action as the iCamViewer App was loaded up and the Raspberry Pi was switched on.
That was it, it was all complete, tested, and working. The last job was to get it connected to the network at Ysgol Bryn Hedydd. Thankfully the Head and Mrs Edge were very helpful and I managed to set it up the day before the closing date. Phew!
And here is Lincoln posing proudly with his certificate for 1st Place. He worked very hard on it and I now have a Coco Pops box waiting to be converted so we can have one at home too!
Does anyone know if there is a gap in the real-estate market for insect inhabited properties? If there is Heard & Son could be on to a winner!
Hope you enjoyed the post, feel free to get in touch if you would like to tackle a similar topic, I would be more than happy to help and give advice, particularly with the setting up of a Raspberry Pi etc.