Raspberry Pi Blog

This is the official Raspberry Pi blog for news and updates from the Raspberry Pi Foundation, education initiatives, community projects and more!

Another new Raspbian release

Some of you may have spotted that there is a new Raspbian release available for download. For most people, this is primarily updates and bug fixes to the existing Jessie image – but there’s one exciting new feature that might be of interest to some people…

But before we get to that, here’s a summary of the other changes.

New versions of applications

There are new versions of many of the standard applications.

Sonic Pi is now at version 2.9. A full list of changes can be found in the History section of the Info window in Sonic Pi, but the highlights include two new effects functions, a new logging system, and the inclusion of all of Sam Aaron’s articles for The Magpi magazine as part of the online tutorials.

Scratch is now at version 20160115. This has improved sound input capabilities, support for the CamJam EduKit 3 robotics board, basic PWM support in the GPIO server, and various improvements to the display, including font scaling.

Mathematica is now at version 10.3. This adds support for a larger set of the functionality detailed in Stephen Wolfram’s new “Elementary Introduction to the Wolfram Language” book. It also supports the use of the Sense HAT, adds interfacing to Arduino, and includes many new Mathematica functions.

Node-RED is now at version 12.5 – this adds no significant new functionality, but fixes a number of bugs and contains some internal performance improvements.

New versions of libraries

WiringPi has been updated to version 2.31, which allows GPIO pins to be accessed from applications that use the library without needing to use sudo. For more details, see the WiringPi website.

The RPi.GPIO Python library has been updated to version 0.6.1 which includes some bug fixes which affected the new GPIO Zero library.

The Java platform included has been updated to version 8, update 65.

Bug fixes

The volume/audio device icon on the taskbar is now compatible with a wider range of USB audio devices – people reported that it was impossible to set some USB sound devices as the default output. Due to the way the ALSA system works, it is very difficult to make this completely infallible, but the new version should work with a much wider selection of devices than before.

The Main Menu editor now allows new menus to be created. In earlier versions, due to an issue with the way the LXDE desktop environment interpreted its configuration files, creating a new menu caused all other menus to be hidden – this should now work correctly.

The GUI Raspberry Pi Configuration and command-line raspi-config applications now offer the correct overclocking options on all Pi 1, Pi 2 and Pi Zero boards. There are also some updated language translations submitted by the community – many thanks to the translators!

The Wastebasket is now consistently named as such everywhere when the desktop is set to British English. (It previously had a wide selection of names in different places, including Trash and Rubbish Bin…)

The ping command no longer requires sudo.

One more thing…

We hope the above changes are useful, but Raspbian will still look pretty much the same as it did for the last release in November. But we have been working on one other thing behind the scenes for this release: this won’t be of interest to most users, but for some, we hope it will be very useful.

In this release we are shipping an experimental OpenGL driver for the desktop which uses the GPU to provide hardware acceleration. This is turned off by default – if you want to enable it, you can find it in the command-line version of raspi-config, under Advanced Options->GL Driver. Due to memory requirements, this will not work on Pi 1 or Pi Zero boards – it is solely for Pi 2. (raspi-config will only allow it to be enabled on a Pi 2; be warned that if you enable it on a Pi 2 and then move that SD card into a Pi 1 or Pi Zero, the Pi will not boot.)

If you don’t use this option, the desktop does have OpenGL support, but it uses a very slow software renderer, which makes all but the most basic OpenGL applications pretty much unusable. The hardware-accelerated version is much faster, and makes some quite decent OpenGL games playable on the Pi.

As a quick demonstration of the effect of the driver, try installing the mesa-utils package with

sudo apt-get install mesa-utils

This installs a simple OpenGL demo program called glxgears which shows three rotating gear-wheels. To run it, type

glxgears

With the standard software renderer, this runs at around 23 frames per second, flickers a lot, and doesn’t actually show the correct colours. If you try it again with the new driver enabled, it runs at the screen refresh rate of 60 fps, with no flicker and the correct colours.

Rotating gears are all very well, but they aren’t that exciting, are they? So how about some actual games? One that is popular in the office is Neverball – try

sudo apt-get install neverball

This barely runs at all under the software renderer, but is quite slick and playable with the new driver.

neverball

Or try Oolite, which looks quite similar to another game that those of us of a certain age remember fondly.

sudo apt-get install oolite

oolite

There are various other OpenGL games and applications available in apt – to find them, try

apt-cache search opengl

Bear in mind that this is an experimental release of the driver which we are making available to the community as a public beta test; it is still slightly unstable, there will inevitably be some graphic glitches, and you shouldn’t expect every OpenGL program to run perfectly. It also has some side effects, notably in terms of making small changes to the way normal windows and menus are displayed. For this reason, we’d advise only enabling the driver if you know that it is going to be useful for some specific program you are using; if you’re not sure whether or not you should be using it, you probably shouldn’t be!

Also note, this experimental driver may break Raspberry Pi Camera and video playback support, and perhaps other GPU functionality.

How do I get it?

A full image and a NOOBS installer are available from the Downloads page on this website.

If you are running the current Jessie image, it can be updated to the new version by running

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install raspi-gpio

To add the experimental GL driver, you will also need to run

sudo apt-get install xcompmgr libgl1-mesa-dri

We strongly advise that if you are going to try out the experimental GL driver, that you backup your SD card first.

As ever, your feedback on the new release is very welcome – feel free to comment here or in the forums.

104 Comments

Astro Pi: 3D-Print Your Own Flight Case

Astro_Pi_Logo_WEB-300px

Background

Back in December, British ESA astronaut Tim Peake took two specially augmented Raspberry Pis, called Astro Pis, to the International Space Station (ISS) as part of his six-month mission. These Astro Pis are running experimental Python programs written by school-age students; the results will be downloaded back to Earth and made available online for all to see.

To satisfy the safety requirements that ESA and NASA have for small payloads aboard the ISS, we had to build the Astro Pi flight unit and put it through a rigorous qualification process.

Laser-etched Astro Pi

One of the two Astro Pi flight units

Ever since this case was announced back in May 2015, people have been asking, “Where can I get that case?”

At £3000 each, you can see why we only ever made eight of them. Why do they cost so much? Each half of the case is milled out of a solid block of aerospace-grade aluminium using a five-axis CNC mill. The two halves are then bead-blasted to give them a matt surface, then they’re anodised with a special coating to aid thermal radiation. After that, there’s some manual touch-up work, followed by installing the Raspberry Pi hardware and, finally, laser-etching the markings and logos.

That all adds up!

However, to quote from the original blog post where we announced it:

This will not be available to the public to buy because we’re only making a small number of them. We may however, in due course, release an object file so schools with a 3D printer can print one themselves.

With today’s blog post we’re making good on this promise!

The first attempt

Initially we just tried to 3D-print the original CAD files to see how hard it would be. The trouble with 3D printers is that they use hot thermoplastics, which can bend and sag under their own weight.

To avoid this, the printer creates what’s known as scaffolding and rafting to ensure the structural integrity of the object during the printing process. The user has to peel off this support material to get the original object they were trying to print. Any part of the object that overhangs will cause support structure to be built below it to prevent sagging. So the lower part of the flight case, with the grid of pins, came out chock full of the stuff:

astropi3d_attempt1a.jpg

Scaffolding and rafting that must be manually removed

After about 20 minutes with a pair of pliers, and accidentally snapping one of the corner pins, we decided this would be too frustrating for most users.

astropi3d_attempt1b

The base with scaffolding and rafting still remaining

The lid was slightly better. It was printed with the outer surface of the case facing downwards, to avoid support structure filling the internal cavity. But this meant that the outer surface came out with rafting all over it, and removing this resulted in a characteristic stringy finish that doesn’t look great.

astropi3d_attempt1c

The lid, printed with outer surface facing down

So we set about modifying the design so that even users with low-end 3D printers would be able to successfully print it, with minimal scaffolding and rafting.

Several attempts later

Many thanks to Ben Martin from Solid Models in Cambridge for running off so many test prints for us, and to Jonathan Wells (who did the original CAD work) for the many tweaks and changes. Our own Creative Producer, Rachel Rayns, contributed lots of 3D printing experience which led to these decisions. It was most definitely an iterative process!

The first change we agreed on was to slice off the heat sink on the base, so that it could be printed in the opposite orientation. That way it would have nothing overhanging to cause support structure to be built between the pins.

astropi3d_attempt2a

The heat sink as a discrete part (click for 3D STL view)

We then sliced off the top of the lid so that it could be printed with the clean side facing upwards, meaning the stringy side would face down.

astropi3d_attempt2b

The lid as a discrete part (click for 3D STL view)

That was a lot nicer looking. So with the lid and heat sink sliced off, it meant the two original middle bits were left as discrete parts.

astropi3d_attempt2c

The middle as a discrete part (click for 3D STL view)

We also removed the pillars between the USB and Ethernet ports because these snapped off easily. Finally, for convenience, we changed the corner bolt enclosures from a sunken captive screw to a straight-through M4 nut-and-bolt design.

astropi3d_attempt2d

The base as a discrete part (click for 3D STL view)

You can use epoxy adhesive (or similar) to join the heat sink to the base and the lid to the middle. When the Raspberry Pi and Sense HAT are installed it’ll end up looking something like this:

IMG_3467

The assembled flight unit, still missing a few buttons

New resource

To guide you through the assembly process we’ve created a brand new educational resource that covers everything from downloading the STL files and getting the fixtures and fittings you need right through to testing that you’ve wired up the push buttons correctly. Click through and take a look:

3D Printed Astro Pi Flight Case | Raspberry Pi Learning Resources

The Astro Pi flight case is one of the most desirable cases in the history of the Raspberry Pi. With this resource you will learn how to 3D print your own case and install the Astro Pi hardware inside it.

We’re really looking forward to seeing the cases you make – please show us by tweeting pictures to @Astro_Pi and @Raspberry_Pi.

By far the most exciting benefit of owning an Astro Pi flight unit is the ability to prototype and test code that could be run on the International Space Station. Head over to the Astro Pi website now to get involved in the new coding challenges!

FAQ

Where are the STL files?

On GitHub.

Why are there four files, not two?

We sliced the case into four layers to minimise the amount of scaffolding and rafting that needs to be printed; it also keeps printing time down. The text of the blog post above explains this in more detail.

Can we modify the STL files?

Yes. They are released under the Creative Commons attribution license so you are welcome to modify them. Please note that GitHub has a great STL viewer and also has a 3D file diff, which could be useful for tracking changes.

Can we have the original CAD?

Currently, no. Raspberry Pi needs to retain the ability to be the sole manufacturer of the space-qualified Astro Pi flight unit. You are welcome to reverse-engineer the STL files we’ve released today, though.

How do you fit the hardware inside it?

The educational resource we’ve written covers this in great detail: check it out here.

I don’t have access to a 3D printer, but I really want this case. What can I do?

You may be able to find one at your local hackspace. You can also find local 3D-printing services through the 3D Hubs website.

18 Comments

Dr Who theme on a Pi Zero

I am an unabashed synthesiser nerd. I grew up in the 1980s on a rich diet of Gary Numan, the Pet Shop Boys and Erasure, and had my own Roland Juno 60 (approximately fourth hand and very battered) in my bedroom. And that, ladies and gentlemen, is how I learned about sine waves.

Phil Atkin, who you’ve read about before in these parts, has spent the last few years building some incredibly sophisticated synthesiser software for his Raspberry Pis. Recently, he has been working on a Pi Zero. I hate to get all Buzzfeed on you, but you won’t believe that a $5 computer can do this one weird thing. Click play, and pass out in AMAZEMENT.

Phil says:

Over 52 years ago, I heard the Doctor Who theme for the first time at my grandmother’s house in Sheffield, at the Stones brewery in Burton Road, Sheffield, the first ever episode. I was only 4 years old, the sounds terrified me, the whole family sat transfixed at the noises, which had been created some months previously by the awesome Delia Derbyshire at the BBC Radiophonic Workshop. No synthesizers, just wobulating oscillators, tapes and a shedload of patience, diligence and dazzling creativity.

That was 1963.

Now it’s 2016 (bloody hell, last time I looked it was 1978) – can you believe you can do all that AND MORE for £4.99 today? One Raspberry Pi Zero (£4), one 99p USB audio interface, and the difficult bit – a huge bunch of very specialized, hardcore, time-consuming software development.

This track has 8 Virtual Analog monosynths, one wavetable synth (polysynth but with polyphony set to 1 as I am somewhat lax with the noteOff messages throughout!) and a single sample replay synth for the Tardis takeoff effect.

The VAsynths are :
Channel 1 : kick/tom – noise, bandpass filtered slightly resonant, and an EG to shape the amplitude
Channel 2 : snare (same setting as 1 but up the scale)
Channel 3 : the old faithful ‘Martyn Ware Glitterclap’ – these 3 are not exactly canonical but I wanted to add in a blast of “Human League do Gary Glitter / Doctorin the Tardis” for the outro. This is a burst of noise modulated by a square wave LFO, shaped by an EG to become a decaying train of noise pulses, bandpass filtered and quite resonant to emphasise the clappiness
Channels 4/5 : a pair of Radiophonic Wobulators, sin waves which warm up (some Phase Distortion, some morphing to slightly square) under a slow ramping EG, which also ramps up the LFO amplitude that is FM and AMing them. These have a bend range of +- 24 semitones for the giant 2 octave swoops
Channel 6 : the diddly dum bass riff. This is really velocity sensitive, both in amplitude and in brightness. OSCB gets louder under velocity, and both OSCs sharpen up under hard bashing – the ‘fine pitch’ modulation output is hooked into a fast EG. So really hard hits sound like plucked strings, sharpening immediately under tension then going true very quickly
Channel 7 : a bass ‘slurp’ for the grace notes – a slightly less bright version of the riff, and with a larger reverb send amount to distance it
Channel 8 : a noise generator with a keyfollowed bandpass filter, with some resonance to be played manually (hence hamfisted noises throughout). Heavily feedback delay adds SFX swishy whooshy things to the mix – really spacey, dude!
Channel 9 : a wavetable synth for the ‘melodica’ melodic notes
Channel 10 : EXTERMINATE! Samples, for the heck of it

Plus there are 4 delays with low pass filters and independent LR settings for delay, levels and feedback levels, plus a stereoizing reverb engine.

Can you believe it – 10 whole synths, all of them awesome, 8 of them virtual analog, on £4.99 of computer hardware. Less than 5 quid!!! 2016 is an insane place to be.

Thanks for the awesome arrangement Delia. And thanks to the Timelords for “Doctorin’ The Tardis”, spotting the unholy glory that is the mashup of Delia Derbyshire and early 70s glitterpop. So glorious a mashup that Hell’s Bells, I just HAD to slap the tempo up from 140 to 143 BPM as the drums kick in. I go WHOO HOO every time that happens, and I don’t often get actually excited by something I’ve created.

p.s. major thanks to the team at dwtheme.com without whom my tone deaf / ‘cannot do intervals’ brain would have struggled to make sense of this – this would have taken a month rather than 2 days!!

Phil is looking for commercial support for the work he’s doing – you can drop him a line here if you think you can help.

43 Comments

Submersible Raspberry Pi drone

We found something rather fabulous on YouTube. Niels Affourtit has taken his home-made underwater drone (or ROV – Remotely Operated Underwater Vehicle) from bathtub tests to real-world deployment in a great big lake somewhere in the Netherlands.

Submersible

It’s a sophisticated build – the video below says that it uses an HD camera, the Raspberry Pi, some 3d-printed parts (propellers and a tilt system for the camera), a BOSCH BMP180 Atmospheric Pressure Sensor, and a ADXL345 Digital 3-Axis Gravity Acceleration Sensor. The whole assembly took around 250 hours and cost Niels €350. It’s been tested down to 12m, but is designed to go deeper. The unit updates a webpage with live data: tilt, roll, heading, temperature and internal pressure (leaks) sensor data are all displayed in real time.

Raspberry Pi Submarine ROV (underwater drone)

On a documentary of National Geographic about the salvage of the Costa Concordia I saw a VideoRay for the first time. I was impressed and started searching online to see if I could build one myself. I ended up at openrov.com and decided to build mine from scratch using their knowledge.

The drone is currently controlled via an Ethernet cable that keeps it tethered, so at the moment it has a limited range. Fish-spotters can watch a feed from the drone’s camera here:

ROV in hoofdvaart

My underwater ROV in Dutch channel (Hoofdvaart Nieuw Vennep). 50cm visibility (Gopro4)

There are more examples of the drone being tested on Niels’ YouTube channel. Last May, he wrote this on YouTube:

On a documentary of National Geographic about the salvage of the Costa Concordia I saw a VideoRay for the first time. I was impressed and started searching online to see if I could build one myself. I ended up at openrov.com and decided to build mine from scratch using their knowledge. I started Christmas 2014 and here you see the maiden trip in a sweet water lake in the Netherlands last week.

It’s a lovely build – we hope Niels documents the process somewhere. Thanks very much, Niels!

 

8 Comments

Astro Pi: Mission Update 8 – ISS Deployment

Astro_Pi_Logo_WEB

Ed and Izzy

On Monday this week we released the first of four short cartoons that tell the story of the Astro Pi mission. Part 1 introduces Ed and Izzy, the two Astro Pi flight units that are up in space right now.

You may recognise the voice-over: it’s TV science presenter Fran Scott from Absolute Genius and How to be Epic. Thanks Fran!

The Story of Astro Pi (Part 1)

British ESA Astronaut Tim Peake has joined the crew of the International Space Station for Mission Principia – and two specially equipped and tested Raspberry Pi computers are there with him. Find out more at https://astro-pi.org/about/mission/. Narration by Fran Scott: http://franscott.co.uk/

The idea to anthropomorphise the Astro Pis came from Tim Peake himself. He was a fan of what ESA had done previously with Rosetta and Philae’s social media accounts, and felt that this would be a great way to involve young people in the mission.

Ed @astro_pi_vis and Izzy @astro_pi_ir have their own Twitter accounts and will be tweeting about what they’re doing over the coming weeks. They’re named after the real-life friendship between Sir Isaac Newton (Izzy) and Edmond Halley (Ed) which resulted in the publication of the famous 17th-century physics book, Principia Mathematica, after which Tim’s mission is named.

Deployment

On the 4th of January Tim unpacked Ed and took this amazing picture in the Columbus module of the ISS. You can download the original from Tim’s Flickr account.

Tim Peake on Twitter

Look what turned up today…nearly time to start running your code in space! @astro_pi @Raspberry_Pi pic.twitter.com/Dmdjev2BPh

The Astro Pis were originally scheduled to be powered up on the 11th of January; however, it was postponed due to the spacewalks they recently undertook, which rightly take priority over anything educational.

It gives us great pleasure to announce that yesterday Ed was successfully deployed by Tim. He’s powered up and is now running the student experiments that won the 2015 Astro Pi competition.

Ed on Twitter

@astro_timpeake Running Crew Detector code from @cranmerefriends @rdhayler @codeclub

It takes several days to get images back from the ISS because they have to be screened by ESA and NASA for crew privacy reasons. So keep an eye on Tim’s social media accounts over the next few days for pictures of Ed online and working!

Ed is running most of the experiments, but the others will be run by Izzy who will be deployed in the Harmony node of the ISS on February 15th. Izzy needs to look through a hatch window, as she’ll be taking infrared pictures of the Earth – there are no windows in Columbus.

If you enjoy watching the ISS Live Stream you may be able to spot them from time to time!

Flight Data Analysis

Once Ed and Izzy have finished running their student experiments, they will each begin a long-term ISS environmental monitoring experiment that you can all take part in.

They’ll enter a flight recorder mode where they save sensor readings to their own databases every ten seconds. Because the sensor readings are taken so often, there will be masses of data to search through, so we need your help to look through the data and find out what was going on. There could be strange, unexplained things, or just the normal day-to-day activities of the astronauts.

Check out the resource for this below. The data will not be available for several weeks yet, but there is some sample data here for you to practice with.

Astro Pi Flight Data Analysis | Raspberry Pi Learning Resources

Do strange, unexplained things happen on the International Space Station? With this resource you can help us find out. The Astro Pis will be watching… The two Astro Pi flight computers on board the ISS are programmed to run the competition-winning programs as part of an automatic sequence.

New Coding Challenge

It also gives us great pleasure to announce two new coding challenges, where the prize is to have your code uploaded and run by Ed or Izzy in space!

That’s right – your code in space!

The first requires you to write Python Sense HAT code to turn Ed and Izzy into an MP3 player, so that Tim can plug in his headphones and listen to music. The second requires you to code Sonic Pi music for Tim to listen to via the MP3 player. You may enter both challenges if you wish.

Head over to the Astro Pi website now, where you’ll find out everything you need to know.

2016 Coding Challenges – Astro Pi

We are pleased to announce that, from today (03/02/2016), we are running a new set of coding challenges for the Astro Pi mission. There are currently two challenges on offer. What do I have to do? To take part you’ll need to pick a challenge from the list below, read through what’s required, and then …

9 Comments

Do more with your #PiZero in The MagPi 42

Hi there, Rob from The MagPi again! It’s been a couple of months since we launched issue 40 with the Raspberry Pi Zero attached to the front of it. Since then we’ve seen some excellent projects flying around the internet as you all figure out amazing uses for the tiny Pi.

This picture doesn't do the cover justice, it's lurvly

This picture doesn’t do the cover justice, it’s luverly

To inspire you to do more we’ve put together another feature in The MagPi 42 of Raspberry Pi Zero projects. From useful things like adding a reset switch to more advanced projects to aspire to like a retro games console located entirely inside a SNES controller, there’s projects for everyone to have a go with.

#42 Cover Feature

Do more with your Raspberry Pi Zero with issue 42

As well as these #PiZero projects we also have a feature on the ten best HATs for your Raspberry Pi. Can’t find a HAT you like? Then we also have a tutorial on how to make your very own HAT. Here are some other highlights from this issue:

Highlights from issue 42:

  • Build a binary clock!
    A fun Sense HAT project involving a different style of telling the time
  • 4Borg reviewed
    We look at the new robot kit from the robo-masters over at PiBorg
  • Astro Pi
    What’s happened over the last month as Pi’s are sent to space
  • #PiZero Quadcopter
    We talk to the creator of Zoe the Zero, the first Zero-powered drone
  • And much, much more!

Free Creative Commons download
As always, you can download your copy of The MagPi completely free. Grab it straight from the front page of The MagPi’s website.

Don’t forget, though, that like sales of the Raspberry Pi itself, all proceeds from the print and digital editions of the magazine go to help the Foundation achieve its charitable goals. Help us democratise computing!

Buy in-store
If you want something more tangible to play with, you’ll be glad to hear you can get the print edition in more stores than ever:

WHSmith
Tesco
Sainsbury’s
Asda
And all good newsagents

Order online
Rather shop online? The Raspberry Pi Swag Store has copies that can be delivered practically anywhere in the world.

Subscribe today!
If you still want to start a new subscription with #40, with a free #PiZero and a free cable bundle, you can! Just make sure you select the right option when you sign-up online or over the phone.

See you next month for more MagPi goodness!

24 Comments

Hiatus

No proper blog post today. Why? We’re living out of boxes, I can’t find my coffee mug, and I’m having to use my phone to tether to the internet.

2016-02-01 11.43.06

Yes, that is a satellite dish.

asd

Roger is trying to use his brain to make the server work. It hasn’t worked yet.

We should be back to normal tomorrow!

33 Comments

Moving on out

A momentous day: after four years in Mount Pleasant House in Cambridge, we’ve finally outgrown all the available space (insofar as on some days we’re having to sit on each others’ knees), so we’re moving to bigger premises near Cambridge Station.

OLYMPUS DIGITAL CAMERA

Gordon, centre, has so far packed three Rubik’s Cubes and a mug.

A bit of housekeeping: we won’t have internet after about 11.30am today, and we don’t expect the network to be up and running first thing on Monday morning in the new digs. (We’re also going to be spending a lot of today and Monday, and some of the rest of next week, emptying all these boxes.) So if you’re trying to get in touch with someone at Raspberry Pi, please give us a few days to get settled!

OLYMPUS DIGITAL CAMERA

Amazing numbers of SD cards and lumps of Blu-tac have been found in our drawers

We’d like to say a big thank you to all of our friends at Mount Pleasant house for being such great neighbours over the years, and especially to the buildings manager Geoff Cooper, who we wish we could take with us.

41 Comments

Self-driving car

Full disclosure: This car is perhaps not quite as big as the car you envisioned when you read the headline.

img_8988 (1)

 

Zheng Wang from Bridgwater State University has used a Raspberry Pi and some other hardware to modify a remote-controlled (RC) car to follow a track, detect, understand and respond to stop signs and traffic lights, and to avoid collisions. Once scaled up and able to do parallel parking, you’ve got something that looks a bit like Google’s self-driving car project. (A bit.)

Here’s a rather neat technology demo.

OpenCV Python Neural Network Autonomous RC Car

Bridgewater State University COMP 502 Project, May 2015 Self driving RC car: OpenCV neural network – Steering Haar-cascade classifiers – Stop sign and traffic light detection Ultrasonic sensor – Front collision avoidance Raspberry Pi – Data streaming (video and sensor) Arduino – RC car control https://github.com/hamuchiwa/AutoRCCar https://zhengludwig.wordpress.com/projects/self-driving-rc-car/

So what’s happening here? The Pi is hooked up to a Raspberry Pi Camera Module and an ultrasonic sensor. Two client programs on the Pi are used to serve the information it gathers from those devices to another computer over WiFi, with streaming video. The RC controller for the car is given instructions by an Arduino which is hooked up to the computer doing the processing by USB.

Zheng has provided a very detailed writeup, which dives into the maths behind all of this, and provides a look at the neural network on the machine doing the processing.

distant

Geometric model for detecting distance with monocular vision

Head over to his website to have a look – it’s a fascinating read. Thanks Zheng – drop us a line if you take this project any further!

 

 

14 Comments

The MagPi hits 1 million downloads since relaunch!

It’s always tricky relaunching a product, especially one with an established fanbase. With The MagPi, we did so with the readers in mind, trying to create the best magazine we could for you folks while building off the excellent work of the first 30 issues. We’ve come a long way over the last 11 months; releasing in newsagents around the world and being the first magazine to put a computer on the cover.

The new look for The MagPi last February

The new look for The MagPi last February

Now we have a new milestone, and one that we’re very proud of: one million free downloads of the issues in that time period. It says to us that you like what we do, and that you like the magazine remaining available as a free PDF. This is very important to us, as we’re serving an open-source community dedicated to helping people learn computing and experiment with making.

#40_cover_physical_small

This issue did pretty well for some reason

As we push out physical copies to more countries this year, we’re still making sure that the PDF version of The MagPi is available for everyone. We hope you all enjoy The MagPi in 2016, and we look forward to your next million downloads!

Speaking of which, look out for the latest issue, out now! The MagPi 42 has more Raspberry Pi Zero projects for you to try out, a look at the ten best HATs and a tutorial on how to make your own HAT.

Now if you’ll excuse us, we’re going to go celebrate.

23 Comments