Author Archives: Helen Lynn

A live-streaming Raspberry Pi nest cam: your essential Easter Monday viewing

via Raspberry Pi

It’s Easter Monday, a public holiday here in the UK, and Pi Towers is still and silent. Even the continuous flight augering piler on the massive building site next door is, for a time, quiet. So here is the briefest of posts, to share with you a Raspberry Pi cam live-streaming from a blue tit nest in Alan McCullagh‘s parents’ garden in Kilkenny, Ireland. You’ll need to have Flash installed to watch.

BirdBoxKK1

BirdBoxKK1 @ USTREAM: . Birds

The eggs are expected to hatch 14 days after the last laid egg, and the mother was still laying on Thursday, so check in towards the end of the month to catch a first glimpse of the chicks. Alan’s set-up is based on our Infrared Bird Box learning resource; tell us in the comments if you’ve made something similar, or if you plan to.

The post A live-streaming Raspberry Pi nest cam: your essential Easter Monday viewing appeared first on Raspberry Pi.

An affordable ocular fundus camera

via Raspberry Pi

The ocular fundus is the interior surface of the eye, and an ophthalmologist can learn a lot about a patient’s health by examining it. However, there’s a problem: an ocular fundus camera can’t capture a useful image unless the eye is brightly lit, but this makes the pupil constrict, obstructing the camera’s view. Ophthalmologists use pupil-dilating eye drops to block the eye’s response to light, but these are uncomfortable and can cause blurred vision for several hours. Now, researchers at the University of Illinois at Chicago have built a Raspberry Pi-based fundus camera that can take photos of the retina without the need for eye drops.

Dr Bailey Shen and co-author Dr Shizuo Mukai made their camera with a Raspberry Pi 2 and a Pi NoIR Camera Module, a version of the Camera Module that does not have an infrared filter. They used a small LCD touchscreen display and a lithium battery, holding the ensemble together with tape and rubber bands. They also connected a button and a dual infrared/white light LED to the Raspberry Pi’s GPIO pins.

When the Raspberry Pi boots, a Python script turns on the infrared illumination from the LED and displays the camera view on the screen. The iris does not respond to infrared light, so in a darkened room the operator is able to position the camera and a separate condensing lens to produce a clear image of the patient’s fundus. When they’re satisfied with the image, the operator presses the button. This turns off the infrared light, produces a flash of white light, and captures a colour image of the fundus before the iris can respond and constrict the pupil.

This isn’t the first ocular fundus camera to use infrared/white light to focus and obtain images without eye drops, but it is less bulky and distinctly cheaper than existing equipment, which can cost thousands of dollars. The total cost of all the parts is $185, and all but one are available as off-the-shelf components. The exception is the dual infrared/white light LED, a prototype which the researchers explain is a critical part of the equipment. Using an infrared LED and a white LED side by side doesn’t yield consistent results. We’d be glad to see the LED available on the market, both to support this particular application, and because we bet there are plenty of other builds that could use one!

Read more in Science Daily, in an article exploring the background to the project. The article is based on the researchers’ recent paper, presenting the Raspberry Pi ocular fundus camera in the Journal of Ophthalmology. The journal is an open access publication, so if you think this build is as interesting as I do, I encourage you to read the researchers’ presentation of their work, its possibilities and its limitations. They also provide step-by-step instructions and a parts list to help others to replicate and build on their work.

It’s beyond brilliant to see researchers and engineers using the Raspberry Pi to make medical and scientific work cheaper and more accessible. Please tell us about your favourite applications, or the applications you’d develop in your fantasy lab or clinic, in the comments.

The post An affordable ocular fundus camera appeared first on Raspberry Pi.

International Women’s Day: Girls at Code Club

via Raspberry Pi

On International Women’s Day and every day, Raspberry Pi and Code Club are determined to support girls and women to fulfil their potential in the field of computing.

Code Club provides computing opportunities for kids aged nine to eleven within their local communities, and 40 percent of the children attending our 5000-plus UK clubs are girls. Code Club aims to inspire them to get excited about computer science and digital making, and to help them develop the skills and knowledge to succeed.

Big Birthday Bash Code Club Raspberry Pi Bag

Code Club’s broad appeal

From the very beginning, Code Club was designed to appeal equally to girls and boys. Co-founder Clare Sutcliffe describes how she took care to avoid anything that evoked gendered stereotypes:

When I was first designing Code Club – its brand, tone of voice and content – it was all with a gender-neutral feel firmly in mind. Anything that felt too gendered was ditched.

The resources that children use are selected to have broad appeal, engaging a wide range of interests. Code Club’s hosts and volunteers provide an environment that is welcoming and supportive.

Two girls coding at Code Club

A crucial challenge for the future is to sustain an interest in computing in girls as they enter their teenage years. As in other areas of science, technology, engineering and maths; early success for girls doesn’t yet feed through into pursuing higher qualifications or entering related careers in large numbers. What can we all do to make sure that interested and talented young women know that this exciting field is for them?

The post International Women’s Day: Girls at Code Club appeared first on Raspberry Pi.

Astro Pi: Goodnight, Mr Tim

via Raspberry Pi

On Saturday, British ESA astronaut Tim Peake returned to Earth after six months on the International Space Station. During his time in orbit, he did a huge amount of work to share the excitement of his trip with young people and support education across the curriculum: as part of this, he used our two Astro Pi computers, Izzy and Ed, to run UK school students’ code and play their music in space. But what lies ahead for the pair now Tim’s mission, Principia, is complete?

Watch Part 4 of the Story of Astro Pi!

The Story of Astro Pi – Part 4: Goodnight, Mr Tim

As British ESA astronaut Tim Peake’s mission comes to an end, what will become of Ed and Izzy, our courageous Astro Pis? Find out more at astro-pi.org/about/mission/ Narration by Fran Scott: franscott.co.uk

Ed and Izzy will remain on the International Space Station until 2022, and they have exciting work ahead of them. Keep an eye on this blog and on our official magazine, The MagPi, for news!

The post Astro Pi: Goodnight, Mr Tim appeared first on Raspberry Pi.

Astro Pi: In Space, No One Can Hear You Code

via Raspberry Pi

British ESA astronaut Tim Peake has been on board the International Space Station with our Astro Pi units, Izzy and Ed, for exactly six months today. As Tim prepares to return to Earth this Saturday, we bring you the third part of their animated adventures: when our two spacefaring Raspberry Pi computers run into a problem even their hero Robonaut can’t fix, who can help them?

No Title

No Description

During his time in space, Tim has been using Ed and Izzy to run apps, carry out science experiments and play music designed and coded by UK school students, and he’s taken some great photos of them on the station:

Education

No Description

Both computers have also spent some weeks in a flight recorder mode, saving sensor readings to a database every ten seconds, and we’ve made these space data available to everyone to download and analyse. Take a look at our Flight Data Analysis resource to explore what they recorded as they orbited our planet.

Ed and Izzy will say goodbye to Tim when he returns from space this Saturday; you’ll be able to watch him land. Our Astro Pi units will stay on board the ISS until 2022, and we hope we’ll soon be able to share exciting news about what they’ll be doing next. Stay tuned!

The post Astro Pi: In Space, No One Can Hear You Code appeared first on Raspberry Pi.

Recantha’s Raspberry Pi music box

via Raspberry Pi

Mike Horne, aka Recantha, co-organises the Cambridge Raspberry Jam and Pi Wars, not to mention some amazing parties. He also makes things, most recently this excellent Pi-powered music box. It probably isn’t what you thought of when you read the words “music box”.

Raspberry Pi Music Box

A Raspberry Pi 2 with a whole load of buttons and plenty of Adafruit boards from makersify.com playing synthesized sounds via a FluidSynth Python library. Code at: https://github.com/recantha/musicbox

As you’ll know if you’re a regular reader of this blog, we’ve a particular soft spot for musical instruments that use a Raspberry Pi, and The Music Box is a lovely example. Inside that eBay-tacular wooden box is a Pi 2, an Adafruit Perma-Proto HAT, and a lot of wiring that Mike can’t get a better picture of because, as with many of the best hacks, it’ll all spill out if he opens the lid too far (but you can see a bit more of it in the video). Seven of the coloured buttons on the lid form a keyboard designed to fit Mike’s hand; the square one in the middle turns power to the instrument on and off, and the three potentiometers control volume, choice of instrumental sound effect, and the pitch of the music box’s range. A pair of buttons on the side of the box allow you to shut down or reboot the Pi.

You’ll find all Mike’s code for The Music Box on GitHub, so you can adapt it for your own creations. He writes,

The software is a mixture of GPIO Zero, standard Python and the pyFluidSynth library which communicates with FluidSynth, a synthesiser that plays sound fonts. I loaded thirty-two different sound fonts and it will be easy enough to add more as I can just drop them into the folder and the software will automatically load them… GPIO Zero is the hero here, with its built-in multi-threaded event handlers and MCP3008 support.

Read more on Mike’s blog, and tell us about your own favourite musical hacks – your own, or someone else’s – in the comments!

The post Recantha’s Raspberry Pi music box appeared first on Raspberry Pi.