Tag Archives: raspberry pi 3

How to mod your Etch A Sketch, or Toy Story in real life

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/mod-etch-a-sketch-toy-story/

We’d like to file this under ‘things we wish we’d had when we were younger’. Who else is envious of the kids of today and all the cool things they can make with our old classic toys?

Etch A Sketch Robot – Elephant

Read about how this works on my blog! http://sunnybala.com/2018/09/10/python-etch-a-sketch.html

To a wave of upvotes and comments, Sunny Balasubramanian shared their Etch A Sketch project on Reddit, including all the information and code you need to build your own. Thanks, Sunny!

Dismantling the toys of our childhoods

The physical set up of the automated Etch A Sketch is pretty simple: motors attached to couplers replace the original plastic nobs, and a connected Raspberry Pi 3 controls the motors as directed by the code.

Etch a Sketch modded with a Raspberry Pi

For stability, Sunny attached a wooden block to the plastic housing that keeps the motors in place.

Coding new life into an Etch A Sketch

Sunny explains:

There’s a few different ways to go about this portion of the project. When I started out, I googled to see if anyone had done things like this before. A few projects popped up. They seemed to approach the drawing in one of two ways. I wanted to do it in a fully automated way where the only input is a picture and the output is a cleanly drawn image.

The code Sunny ended up using first takes an image and simplifies it into a line drawing using Canny edge detection. It then turns each pixel to a node and draws a path between the nodes, connecting them one by one. So that the Etch A Sketch draws the picture, the Raspberry Pi then directs the motors to follow the connections and create uncannily precise sketches.

Raspberry Pi Etch-a-sketch
Raspberry Pi Etch-a-sketch

Head to Sunny’s website for more information about their project, and download the full code from GitHub.

Two down, more to go…

With this automated Etch A Sketch, and this talking Fisher Price Chatter Telephone, the Raspberry Pi community is well on the way to recreating the entire Toy Story cast, and we are fully on board with that!

A GIF of Toy Story characters

So what’s next? A remote-controlled Slinky? A falling with style flying Buzz Lightyear? What would you build?

The post How to mod your Etch A Sketch, or Toy Story in real life appeared first on Raspberry Pi.

The Goodbye Machine. NSFW…ish? See what you think

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/raspberry-pi-goodbye-machine/

Tired of saying goodbye? Show people how you really feel with 8 Bits and a Byte‘s Goodbye Machine.

Spoiler alert: no one wants to be at the receiving end of the red button.

The Goodbye Machine: automate your goodbyes

The Goodbye Machine, a machine to automate goodbyes using a Raspberry Pi, two servo’s, two massive buttons and a speaker. Shoe box not included. All our projects in one place: http://8bitsandabyte.com/ Keep posted on Instagram: https://www.instagram.com/8bitsandabyte/ Follow us on Twitter! @NicoleHorward Music: Allen, L. & Kurstin, G. (2009). Fuck You.

Not all amazing projects require line upon line of code, hour upon hour of build time, or sheer masses of components. Sometimes even the simplest of buttons will do, as Carrie Anne explains in issue 1 of Hello World.

Goodbye to you

With their Goodbye Machine, Brussels-based YouTube makers 8 Bits and a Byte found a simple, entertaining solution to their “inability to say goodbye” using two servos, two buttons, a Raspberry Pi 3, and some lollipop sticks. Oh, and British musical royalty, James Blunt and Lily Allen.

Raspberry Pi Goodbye machine

When the positive green button is pressed, a hand appears, waving goodbye to the dulcet tones of James Blunt singing Goodbye My Lover. So darling.

However, press the negative red button and your departing acquaintance will be flipped the bird, as Lily Allen sings F*ck You.

Goodbye machine Raspberry Pi

It’s a very simple network of wires and code. Each button is given a task and when pressed, the task is completed. Anyone can learn this easy set of code, and create incredible projects as a result. And no, not all projects have to be so insulting… but we’re a little sadistic here at Pi Towers, and this sort of humour fits us perfectly.

For more information on building your own Goodbye Machine, visit the hackster.io project page.

Button it!

If you’d like to learn more about using buttons in digital making projects, these free resources from our projects site should get you started:

GPIO music box – wire up buttons to your Raspberry Pi’s GPIO pins and then use them to play sounds with a simple Python application.

Whoopi cushion – make a whoopee cushion powered by a Raspberry Pi.

Push button stop motion – make a stop-motion animation using a Raspberry Pi and a Camera Module to take pictures, controlled by a push-button.

Goodbye, so long, farewell

Since watching the video above for the first time, I’ve been unable to get Goodbye My Lover out of my head. If, like me, you’re suffering from a James Blunt earworm, here are some other goodbye-themed songs to listen to:

Spice Girls – Goodbye

Vote for your favourite girl group here: https://www.udiscovermusic.com/stories/best-girl-groups/ Listen to more from the Spice Girls: http://spicegirls.lnk.to/Essentials Listen to some of the Spice Girls’ biggest hits here: http://playlists.udiscovermusic.com/playlist/spice-girls-best-of Follow the Spice Girls https://twitter.com/OfficialMelB/ https://twitter.com/MelanieCmusic https://twitter.com/EmmaBunton https://twitter.com/victoriabeckham https://twitter.com/gerihalliwell https://www.thespicegirls.com/ Music video by Spice Girls performing Goodbye.

The Beatles – Hello, Goodbye

The Beatles 1 Video Collection is Out Now. Get your copy here: http://thebeatles1.lnk.to/DeluxeBluRay When The Beatles began recording what would become their third single to be released in 1967, its working title was ‘Hello, Hello’. The single sat at No.1 in both the UK and America for the first three weeks of 1968.

Michelle Branch – Goodbye To You (Video)

© 2006 WMG Goodbye To You (Video)

Good Riddance (Time Of Your Life) [Official Music Video]

“Good Riddance” by Green Day from ‘Nimrod,’ available now. Directed by Mark Kohr. Watch the best Green Day official videos here: http://www.youtube.com/playlist?list=PL5150F38E402FACE8 http://www.greenday.com/ http://www.facebook.com/GreenDay http://twitter.com/greenday http://www.youtube.com/user/greenday (subscribe) http://itunes.apple.com/us/artist/green-day/id954266

Goodbye Yellow Brick Road (Remastered 2014)

Provided to YouTube by Universal Music Group International Goodbye Yellow Brick Road (Remastered 2014) · Elton John Goodbye Yellow Brick Road ℗ ℗ 2014 This Record Company Ltd.

The Hoosiers – Goodbye Mr A (Official Video)

The Hoosiers – Goodbye Mr A (Official Video) Listen on Spotify – http://smarturl.it/HoosiersBestOf_sp Get on iTunes – http://smarturl.it/Trickto_iTunes Amazon – http://smarturl.it/Trickto_Amazon Follow The Hoosiers Website – https://www.thehoosiers.com/ Facebook – https://www.facebook.com/thehoosiers Twitter – https://twitter.com/thehoosiersuk Instagram – https://instagram.com/thehoosiersuk Spotify – https://open.spotify.com/artist/4LlDtNr8qFwhrT8eL2wzH4 Soundcloud – https://soundcloud.com/thehoosiers Lyrics Goodbye Mr. A There’s a hole in

Ferris Bueller’s Day Off Soundtrack – Danke Schoen – Wayne Newton

No Description

 

The post The Goodbye Machine. NSFW…ish? See what you think appeared first on Raspberry Pi.

Beautiful and inspiring plinky-plonky conductivity

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/bare-conductive-installation-hwan-yun/

Recently shared by Bare Conductive, Hwan Yun‘s interactive installation, Intuition, uses a Raspberry Pi and Bare Conductive tech to transport you to the calm wonder of Icelandic nature.

Intuition (2017)

Interactive sound installation electric paint on paper Listhús Gallery

Incorporation Bare Conductive

Bare Conductive’s water-based Electric Paint allows users to incorporate safe conductivity into their projects. With the use of a Raspberry Pi 3 and the brand’s Touch Board and Pi Cap, this conductivity can be upgraded to take distance, as well as touch, into consideration.

bare conductive Hwan Yun Raspberry Pi

Intuition

For his installation, Hwan created several patterns on paper using Electric Paint, with six patterns connected to the Touch Board and a further six to the Pi Cap.

This irregularity allows users to experiment, further exploring the sounds of nature that inspired the installation.

bare conductive Hwan Yun Raspberry Pi

The sounds themselves are less actual recordings and more a tribute to the way in which Hwan believes the picturesque beauty of the island communicates within itself.

Getting done with #interactive #soundinstallation for #contemporaryart #exhibition. Using #bareconductive

7 Likes, 1 Comments – HWANYUN (@_hwanyun_) on Instagram: “Getting done with #interactive #soundinstallation for #contemporaryart #exhibition. Using…”

Follow Hwan

If you’d like to see more installations from Hwan Yun, including behind-the-scenes posts from the creation of Intuition, be sure to follow him on Instagram. You can also learn more about his past and future projects on his website.

Bare Conductive

Bare Conductive products are available through many of our Approved Resellers, as well as the Bare Conductive website. As mentioned, their Conductive paint is not only water-based but also non-toxic, making it an ideal addition to any maker cupboard. For more inspiration when using Bare Conductive products, check out their Make page.

Low-tech cardboard robot buggy

And for more Bare Conductive products and Raspberry Pi makery, check out this low-tech Raspberry Pi robot by Clément Didier, previously covered on our blog.

The post Beautiful and inspiring plinky-plonky conductivity appeared first on Raspberry Pi.

Rock, paper, scissors, lizard, Spock, fire, water balloon!

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/rock-paper-scissors-lizard-spock-fire-water-balloon/

Use a Raspberry Pi and a Pi Camera Module to build your own machine learning–powered rock paper scissors game!

Rock-Paper-Scissors game using computer vision and machine learning on Raspberry Pi

A Rock-Paper-Scissors game using computer vision and machine learning on the Raspberry Pi. Project GitHub page: https://github.com/DrGFreeman/rps-cv PROJECT ORIGIN: This project results from a challenge my son gave me when I was teaching him the basics of computer programming making a simple text based Rock-Paper-Scissors game in Python.

Virtual rock paper scissors

Here’s why you should always leave comments on our blog: this project from Julien de la Bruère-Terreault instantly had our attention when he shared it on our recent Android Things post.

Julien and his son were building a text-based version of rock paper scissors in Python when his son asked him: “Could you make a rock paper scissors game that uses the camera to detect hand gestures?” Obviously, Julien really had no choice but to accept the challenge.

“The game uses a Raspberry Pi computer and Raspberry Pi Camera Module installed on a 3D-printed support with LED strips to achieve consistent images,” Julien explains in the tutorial for the build. “The pictures taken by the camera are processed and fed to an image classifier that determines whether the gesture corresponds to ‘Rock’, ‘Paper’, or ‘Scissors’ gestures.”

How does it work?

Physically, the build uses a Pi 3 Model B and a Camera Module V2 alongside 3D-printed parts. The parts are all green, since a consistent colour allows easy subtraction of background from the captured images. You can download the files for the setup from Thingiverse.

rock paper scissors raspberry pi

To illustrate how the software works, Julien has created a rather delightful pipeline demonstrating where computer vision and machine learning come in.

rock paper scissors using raspberry pi

The way the software works means the game doesn’t need to be limited to the standard three hand signs. If you wanted to, you could add other signs such as ‘lizard’ and ‘Spock’! Or ‘fire’ and ‘water balloon’. Or any other alterations made to the game in your pop culture favourites.

rock paper scissors lizard spock

Check out Julien’s full tutorial to build your own AI-powered rock paper scissors game here on Julien’s GitHub. Massive kudos to Julien for spending a year learning the skills required to make it happen. And a massive thank you to Julien’s son for inspiring him! This is why it’s great to do coding and digital making with kids — they have the best project ideas!

Sharing is caring

If you’ve built your own project using Raspberry Pi, please share it with us in the comments below, or via social media. As you can tell from today’s blog post, we love to see them and share them with the whole community!

The post Rock, paper, scissors, lizard, Spock, fire, water balloon! appeared first on Raspberry Pi.

Some of the best bicycle projects for #CycleToWorkDay

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/bicycle-projects-cycletoworkday/

Avid followers of our Raspberry Pi Twitter account may be aware of just how bike-loving the residents of Pi Towers are. From the weekend cyclists to Cambridge-London-Cambridge racers, the flat land around our office calls us to jump on a bike and explore the fenlands.

#CycleToWorkDay

In celebration of #CycleToWorkDay, we’ve brought together a collection of some of our favourite bike-themed Raspberry Pi projects, perfect for those of you who enjoy a bike ride — or a pint!

Bicycle-powered beer dispenser

The Glaswegian company Bright Signals was tasked with a tasty project: create something for Menabrea that ties in with the Giro d’Italia cycle race passing close to the beer brewery in Biella, Northern Italy.

Menabrea Beer Bike Raspberry Pi #CycleToWorkDay

The result? This pedal- and Pi-powered beer dispenser that went on a 4-week celebratory tour ending in Glasgow.

You can learn more about this project here.

A rather dandy Pi-assisted Draisine

For a minute in the 1800s, before the introduction of pedal power, the balance bike, or Draisine, was the fun new way of getting from A to B.

Draisine 200.0

Uploaded by ecomentode on 2017-06-08.

A team at Saarland University, Germany, headed by Prof. Holger Hermanns modernised the Draisine, bringing this old vehicle up to date with power assistance thanks to the Raspberry Pi.

Read more about this Draisine here.

Raspberry Pi–powered cycle helmet

Jen Fox’s Raspberry Pi safety helmet prototype uses an accelerometer and a Raspberry Pi Zero to monitor impact force, notifying the cyclist whether or not the impact of their fall deserves medical attention.

Make an Impact Force Monitor!

Check out my latest Hacker in Residence project for SparkFun Electronics: the Helmet Guardian! It’s a Pi Zero powered impact force monitor that turns on an LED if your head/body experiences a potentially dangerous impact. Install in your sports helmets, bicycle, or car to keep track of impact and inform you when it’s time to visit the doctor.

While you should always seek medical attention if you have a bike accident, the notification LED on the helmet is a great way of reminding stubborn cyclists that their accident was more than just a tumble.

Learn more about Jen’s build here!

Matt’s smart bike light

This one comes up in conversation A LOT at Pi Towers. Matt Richardson’s smart bike light project uses a Raspberry Pi and hall effect sensor to determine the speed you’re cycling at; a project displays your speed in front of the bike.

Raspberry Pi Dynamic Bike Headlight Prototype and Test

Here’s the first prototype of the Dynamic Bike Headlight. I managed to get it out onto the street to try it out, too! My previous video about it: http://www.youtube.com/watch?v=UzRAcZq0imM View other videos on the vlog: http://www.youtube.com/playlist?list=PLOPvnSRDf2EuIYj18l7iBdgt-27ZnOAdP&feature=view_all Subscribe here: http://www.youtube.com/subscription_center?add_user=mrichardson23 Visit my site: http://mattrichardson.com/

For those who know Matt Richardson, we hope you appreciated this blast-from-the-past, beardless Matt. In fact, we know you did.

Find out more about this bike light here.

The Bicrophonic Sonic Bike

British sound artist Kaffe Matthews has created a new type of cycling experience. The cyclist divides a virtual map into zones, and the Bicrophonic Sonic Bike plays back music to the rider based on which zone they are in, courtesy of an on-board Raspberry Pi with GPS dongle and speakers.

What is Bicrophonics?

Bicrophonics is about the mobility of sound, experienced and shared within a moving space, free of headphones and free of the internet. Music made by the journey you take, played with the space that you move through. The Bicrophonic Research Institute (BRI) http://sonicbikes.net

As you can see from the video, the sound played can range from the calming peace of the countryside to the rather loud, disturbing buzz of the city.

Learn more about the tech behind the project here.

Hacked Kindle bike computer

David Schneider’s bike computer displays speed, distance, time and more on a Kindle he hacked with the help of a Raspberry Pi.

DIY: Build A Better Bike Computer

A Raspberry Pi and Kindle make vital information about your bicycle journey readable. Read more: http://spectrum.ieee.org/video/geek-life/hands-on/video-build-a-better-bike-computer

The experimental browser on the Kindle displays a web page hosted on the Raspberry Pi. And the glare-free E Ink display makes the screen easy to view regardless of light conditions — perfect for sunny weekend bike rides.

Find out more here.

Any others?

Have you hacked your cycling experience with a Raspberry Pi? Do you have a pedal-powered project in the works? Or would you simple like to boast about your bike and cycling achievements? Let’s get the cycle conversation going in the comments below. I’ll start!

The post Some of the best bicycle projects for #CycleToWorkDay appeared first on Raspberry Pi.

There’s Waldo! Finding the elusive traveller using AI

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/theres-waldo-wheres-wally/

Let me start by stating that here in the UK, we call Waldo Wally. And as I’m writing this post at my desk at Pi Towers, Cambridge, I have taken the decision to refer to the red and white-clad fellow as Wally moving forward.

Just so you know.

There’s Waldo is a robot that finds Waldo

There’s Waldo is a robot built to find Waldo and point at him. The robot arm is controlled by a Raspberry Pi using the PYARM Python library for the UARM Metal. Once initialized the arm is instructed to extend and take a photo of the canvas below.

The magical mind of Matt Reed

Both in his work and personal time, Matt Reed is a maker. In a nutshell, he has the job we all want — Creative Technologist — and gets to spend his working hours building interesting marketing projects for companies such as Redbull and Pi Towers favourite, Oreo. And lucky for us, he uses a Raspberry Pi in many of his projects — hurray!

Where’s Waldo Wally

With There’s Waldo, Matt has trained the AutoML Vision app, Google’s new image content analysis AI service, to recognise Wally in a series of images. With an AI model trained to recognise the features of the elusive traveller, a webcam attached to a Raspberry Pi 3B snaps a photo and the AI algorithm scans all faces, finding familiarities.

Matt Reed on Twitter

model is predicting WAAAYYY better than expected as this webcam image here wasn’t even part the training set. You can run from #ai but apparently can’t hide from #GoogleCloud

Once a match for Wally’s face is found with 95% or higher confidence, a robotic arm, controlled by the Pyarm Python library, points a comically small, plastic hand at where it believes Wally to be.

Deep learning and model training

We’ve started to discover more and more deep learning projects using Raspberry Pi — and with the recent release of TensorFlow 1.9 for the Pi, we’re sure this will soon become an even more common occurrence.

Adrian Rosebeck deep learning pokemon pokedex

For more projects using deep learning and the Raspberry Pi, check out Adrian Rosebrock’s deep learning Pokédex, and his Santa Detector.

And for more projects from Matt Reed and the redpepper team, you can follow Matt’s Twitter, visit his website, and check out his community profile in The MagPi.

The post There’s Waldo! Finding the elusive traveller using AI appeared first on Raspberry Pi.

Build your own NASA Curiosity rover

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/build-nasa-curiosity-rover/

Put together your own remote-controlled Curiosity rover with the help of the NASA Jet Propulsion Laboratory and a Raspberry Pi.

NASA JPL rover Raspberry Pi

Why wouldn’t you want one of these?!

NASA Jet Propulsion Laboratory

To educate the curious about the use of rovers in space, the Pasadena-based NASA Jet Propulsion Laboratory (JPL) built a mini-rover, ROV-E, to tour classrooms, museums, and public engagement events.

NASA JPL rover ROV-E Raspberry Pi

The original ROV-E comes with a much higher price tag, so the JPL engineers decided to scale it down for home makers

And so engaged was the public by the rover and its ability to manoeuvre harsh terrain, rocks, and small children, that the JLP engineers have published a building plan that allows rover-enthused makers to build their own for around $2500 using off-the-shelf parts.

Curiosity for the curious

The JPL open-source rover is a scaled-down model of Curiosity, the car-sized rover currently on day 2187 of its mission to explore the surface of Mars.

NASA JPL rover Raspberry Pi

The Mars rover sings Happy birthday to itself on 5 August every year, and this fact breaks out hearts!

And while the home-brew version of Curiosity may not be able to explore the Red Planet, project sponsor Tom Soderstrom believes it can offer plenty of opportunities to future STEM pioneers:

“We wanted to give back to the community and lower the barrier of entry by giving hands-on experience to the next generation of scientists, engineers, and programmers.”

A Pi at the heart of the rover

The rover uses a variety of tech makers may already have in their arsenal, including USB cameras and a Raspberry Pi. JPL’s design also gives you the option to swap out components with alternatives.

NASA JPL rover Raspberry Pi

Control the rover however you please: via a games controller, a smartphone, or a program of your own design

To control the rover, JPL decided to use a Raspberry Pi:

We chose a Raspberry Pi to be the ‘brain’ of this rover for its versatility, accessibility, simplicity, and ability to add and upgrade your own modifications. Any method with which you can communicate with a Raspberry Pi (Bluetooth, WiFi, USB devices, etc.) can be interfaced into the control system of the robot.

Full plans for the six-wheel rover are available on JPL’s GitHub, where they also list all parts required, final specs, and supporting info such as links to the project forum and parts suppliers. You can also visit the official project website to control your own rover on the surface of Mars…a simulated rover, of course, but one can dream!

The post Build your own NASA Curiosity rover appeared first on Raspberry Pi.

Happy Birthday, Harry Potter: wizard-worthy Pi projects

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/harry-potter-raspberry-pi/

Today marks Harry Potter’s 38th birthday. And as we’re so, so very British here at Raspberry Pi, we have no choice but to celebrate the birth of The Boy Who Lived with some wonderfully magical projects from members of the community.

Harry Potter birthday Raspberry Pi

Build your own Daily Prophet

After a trip to The Wizarding World of Harry Potter, Piet Rullens Jr wanted to build something special to remember the wonderful time he and his wife had at the amusement park.

Daily Prophet poster with moving object

Daily Prophet with moving object

Piet designed and printed his own front page of The Daily Prophet, and then cut out a photo and replaced it with our Official Touch Display. The Raspberry Pi hidden behind it runs a short Python script that responds to input from a motion sensor by letting the screen play video footage from their wizarding day whenever someone walks by.

Read more about Piet’s project on our blog here, and in The MagPi here.

Wizard duelling

Since Allen Pan is known for his tech projects based on pop culture favourites, it’s no surprise that he combined a Raspberry Pi and Harry Potter lore to build duelling gear. But where any of us expecting real spells with very real consequences such as this?

Real Life Harry Potter Wizard Duel with ELECTRICITY | Sufficiently Advanced

Harry Potter body shocking wands with speech recognition…It’s indistinguishable from magic! With the release of Fantastic Beasts and Where to Find Them, we took magic wands from Harry Potter to create a shocking new game. Follow Sufficiently Advanced! https://twitter.com/AnyTechnology https://www.facebook.com/sufficientlyadvanced https://www.instagram.com/sufficientlyadvanced/ Check out redRomina: https://www.youtube.com/user/redRomina Watch our TENS unit challenge!

When a dueller correctly pronounces one of a collection of wizard spells, their opponent gets an electric shock from a Transcutaneous Electrical Nerve Stimulation (TENS) machine.

Learn more about how the Raspberry Pi controls this rather terrifying build here, and remember: don’t try this at home — wizard duels are reserved for the Hogwarts Great Hall only!

Find family members with the Weasley clock

Curious as to where your family members are at any one time? So was Pat Peters: by replacing magic with GPS technology, Pat recreated the iconic clock from the home of the Weasley family.

Harry Potter birthday Raspberry Pi

But how does it work? Over to Pat:

This location clock works through a Raspberry Pi, which subscribes to an MQTT broker that our phones publish events to. Our phones (running the OwnTracks GPS app) send a message to the broker whenever we cross into or out of one of our waypoints that we have set up in OwnTracks; this then triggers the Raspberry Pi to run a servo that moves the clock hand to show our location.

Find more information, including links to the full Instructables tutorial,  on our blog.

Play Wizard’s Chess!

Motors and gears and magnets, oh my! Bethanie Fentiman knows how to bring magic to Muggles with her Wizard’s Chess set.

Harry Potter birthday Raspberry Pi

We bet ten shiny Sickles that no one has ever finished reading/watching Harry Potter and the Philosopher’s Stone and not wanted to play Wizard’s Chess. Pieces moving by magic, Knights attacking Pawns — it’s entertaining mayhem for the whole family. And while Bethanie hasn’t managed to get her pieces to attack one another (yet), she’s got moving them as if by magic down to a fine art!

Learn more about Bethanie’s Wizard’s Chess set here, where you’ll also find links to the Kent Raspberry Jam community where Bethanie volunteers.

Find your house with the Sorting Hat

Whether you believe yourself to be a Gryffindor, Slytherin, Hufflepuff, or Ravenclaw, the only way to truly know is via the Hogwarts Sorting Hat.

Harry Potter birthday Raspberry Pi

Our free resource lets you code your own Sorting Hat to establish once and for all which Hogwarts house you really belong to.

I’m a Gryffindor, by the way. [Editor’s note: Alex is the most Gryffindor person I’ve ever met.]

Create a wand-controlled lamp

Visitors to The Wizarding World of Harry Potter may have found themselves in possession of souvenir interactive wands that allow them to control various displays throughout the park. Upon returning from a trip, Sean O’Brien and his daughters began planning how they could continue to use the wands at home.

They soon began work on Raspberry Potter, an automation project that uses an infrared camera and a Raspberry Pi to allow their wands to control gadgets and props around their home.



Find the full tutorial for the build here! And if you don’t have a wand to hand, here are Allen Pan and William Osman making their own out of…hotdogs?!

Hacking Wands at Harry Potter World

How to make your very own mostly-functional interactive wand. Please don’t ban me from Universal Studios. Links on my blog: http://www.williamosman.com/2017/12/hacking-harry-potter-wands.html Allen’s Channel: https://www.youtube.com/channel/UCVS89U86PwqzNkK2qYNbk5A Support us on Patreon: https://www.patreon.com/williamosman Website: http://www.williamosman.com/ Facebook: https://www.facebook.com/williamosmanscience/ InstaHam: https://www.instagram.com/crabsandscience/ CameraManJohn: http://www.johnwillner.com/

You’re a project theme, Harry

We’re sure these aren’t the only Harry Potter–themed Raspberry Pi makes in the wild. If we’ve missed any, or if you have your own ideas for a project, let us know! We will never grow tired of Harry Potter projects…

Harry Potter birthday Raspberry Pi

The post Happy Birthday, Harry Potter: wizard-worthy Pi projects appeared first on Raspberry Pi.

Automatic mazes with Raspberry Pi and recursive backtracking

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/raspberry-pi-recursive-backtracking/

Engineerish is back with another Raspberry Pi–based project that you didn’t know you needed until now.

PRINT MAZES WITH RASPBERRY PI

Don’t already have a device around your home that, at the press of a button, prints something cool? Build one! Mine prints randomly generated mazes but why stop there? Thermal printer: https://www.adafruit.com/product/597 Source code: https://github.com/mattiasjahnke/rpi-maze-printer Recursive backtracking algorithm: https://en.wikipedia.org/wiki/Maze_generation_algorithm#Recursive_backtracker ———— Consider subscribing to the channel so you don’t miss out!

Printed mazes

Mattias Jahnke, better known as Engineerish to his online followers, was asked by his nephew to draw labyrinth mazes for the youngster to complete. While the task was fun to do by hand, Mattias soon found himself wondering what code and technology he could use to automate it. He soon hit upon the idea of using a Raspberry Pi, a thermal printer, and the recursive backtracking algorithm to produce mazes.

What is recursive backtracking?

Engineerish offers a simplified explanation of recursive backtracking in the video above, and you can learn even more about this algorithm here, here, and here.

The latter of these links provides the following summary of backtracking:

Backtracking problems are solved one step at a time. Literally!  Here’s the general algorithm:

1) Is where I am a solution?
2) No. OK, where can I go from here? If I can go somewhere, choose a place to go.
3) Go there.
5) Was that a solution? If yes, return true!
5) If there are remaining places to go, choose one and go to #3.
6) Out of places to go. Return false.

Building an automated maze printer

To fit the Raspberry Pi and printer, as well as an arcade button and a power supply, Engineerish built a custom wooden box.

This is me – only seconds away from realizing how mankind first discovered how to make a fire. They’ve must have been trying a cut a whole in a wooden box with a Dremel for a maze-generating raspberry pi project.

492 Likes, 17 Comments – Engineerish (@engineerish) on Instagram: “This is me – only seconds away from realizing how mankind first discovered how to make a fire….”

The arcade button is wired to GPIO pin 16, and pressing it starts a Python script that runs the recursive backtracking algorithm and lets the thermal printer produce the finished maze.

Endless fun for the whole fam! Randomly generated mazes with adjustable difficulty at the click of a button. Even though that “button” is currently an ssh connection to a raspberry pi, the execution of two python scripts with passed process arguments to set difficulty and nanoing source code to set the maze size. I’ll try to go full Windows Vista on the user friendlyness another day. For now – it works!

689 Likes, 40 Comments – Engineerish (@engineerish) on Instagram: “Endless fun for the whole fam! Randomly generated mazes with adjustable difficulty at the click of…”

Engineerish has provided the complete code for the project on his GitHub account, allowing everyone to try their hand at printing (and completing) these awesome mazes.

Engineerish

If you’d like to see more from Engineerish, be sure to subscribe to his YouTube account and follow him on Instagram.

Engineerish recursive backtracking raspberry pi mazes

And be sure to also check out his Raspberry Pi Binary Clock, which we covered here on the blog in January.

The post Automatic mazes with Raspberry Pi and recursive backtracking appeared first on Raspberry Pi.

Synesthiser, an accessible electronic music instrument

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/synesthiser-an-accessible-electronic-music-instrument/

A Raspberry Pi is the beating heart of this accessible musical instrument, built by South Korean maker Jaewon “J. One” Choi to enable more people with hearing impairments to create music:

synesthiser.

experimental musical instrument, 2018 Raspberry Pi, Arduino, Pure Data, Python

Making music more accessible

J. One’s latest project, synesthiser, produces vibration alongside sound, and is an exploration into music production and performance for hearing-impaired people.

Its main objective is to make music producing/performing more accessible for those who have a hearing impairment. By producing not only vibration but also audible wave, it could widen the opportunity of designing sound for handicapped and non-handicapped people equally.

synesthiser

The build’s interface is a round surface that reacts to pressure and rotation. By turning it with the flat of their hand, users of synesthiser alter the frequency of sounds; by pressing on it, they manipulate the amplitude and modulation of the waveform.

J. One raspberry Pi synesthiser

A transducer within the unit provides vibrations that resonate throughout the entire device to let people with hearing impairments experience its sound via touch. And hence the project’s title, a portmanteau (or mashup!) of ‘synesthesia‘ and ‘synthesiser’.

Seoul

seoul.

installation / media art, 2017 Max 7, p5.js, Swift, Raspberry Pi filmed by Jaewon Choi special thanks to Gayeong Baek, Jongmin Jung The atmosphere of Seoul is sophisticated. A cold wind of the dawn, endless traffic, people yelling each other, and the rhythm of the footsteps. Everything vaporises to the noise.

You can find more of J. One’s projects on their website, including Seoul, a Raspberry Pi–powered sound exhibit that allows visitors to incorporate their own sounds into layers of real-time noise of Seoul.

Build a synth with Raspberry Pi

Musicians and Raspberry Pis make beautiful music together. This much we know to be true, and a quick search of the interwebs will confirm it for you. We and our community have created Raspberry Pi projects for even the most novice of programmers to try out.

Start with our guide to building a GPIO music box if you’re unsure how to hit the high notes with music and code, and then move on to our introduction to Sonic Pi, the open-source live coding environment.

And for a truly sensational music-based digital making project, have a look at the beautiful mix of sound and aesthetics that is Toby Hendricks’ Raspberry Pi Looper-Synth-Drum…Thing.

Toby Hendricks Raspberry Pi looper

Yes, that’s its actual name.

And if you’re more classically inclined, why not implement this Pi-powered AI algorithm to accompany you on the piano?

The post Synesthiser, an accessible electronic music instrument appeared first on Raspberry Pi.

Eight(ish) Raspberry Pi projects for the summer

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/raspberry-pi-summer-projects/

The sun is actually shining here in Cambridge, and with it, summer-themed Raspberry Pi projects are sprouting like mushrooms across our UK-based community (even though mushrooms don’t like hot weather…). So we thought we’d gather some of our favourite Pi-powered projects perfect for the sun-drenched outdoors.

Air quality monitors and solar radiation

With the sun out in all its glory, we’re spending far more time outside than is usual for UK summer. To protect yourself and your adventurous loved ones, you might want to build a Raspberry Pi device to monitor solar radiation.

Raspberry Pi summer project

“Solar radiation is the radiation, or energy, we get from the sun.” explains project designer Uladzislau Bayouski. “Measurements for solar radiation are higher on clear, sunny day and usually low on cloudy days. When the sun is down, or there are heavy clouds blocking the sun, solar radiation is measured at zero.”

To measure more health-related environmental conditions, you could build this air quality monitor and keep an eye on local pollution.

Particulater air quality Oliver Crask Raspberry Pi summer project

Maker Oliver Crask describes the project:

Data is collected by the particulates sensor and is combined with readings of temperature, humidity, and air pressure. This data is then transferred to the cloud, where it is visualised on a dashboard.

If you’ve been building your own hackable weather station using our free guide, these are also great add-ons to integrate into that project.

Build Your Own weather station kit assembled Raspberry Pi summer project

Automatic pet and plant feeders

While we’re spending our days out in the sun, we need to ensure that our pets and plants are still getting all the attention they need.

This automatic chicken feeder by Instructables user Bertil Vandekerkhove uses a Raspberry Pi to remotely control the release of chicken feed. No more rushing to get home to feed your feathered friends!

Raspberry Pi summer project

And while we’re automating our homes, let us not forget the plants! iPlanty is an automated plant-watering system that will ensure your favourite plant babies get all the moisture they need while you’re away from your home or office.

Planty Project

An automated Plant watering solution that waters my plant every day at 8:30

Electromagnetic bike shed lock

If, like me, you live in constant fear that your beloved bike may be stolen, this electromagnetic bike shed lock is the solution you need.

Raspberry Pi summer project

The lock system allows for only one user per lock at any one time, meaning that your bike needs to be removed before anyone else can use their RFID card to access the shed.

Time-lapse cameras

With so much sunlight available, now is the perfect time to build a time-lapse camera for your garden or local beauty spot. Alex D’s Zero W time-lapse HAT allows for some glorious cinematic sliding that’s really impressed us.

Slider Test Sunset

Slider settings: -960 mm drive distance -400 steps -28 seconds interval Camera settings (Canon EOS 550D): – Magic Lantern auto ettr – max ISO 1600 – max Exposure 10 seconds

If you don’t think you can match Alex’s PCB milling skills, you can combine our free Raspberry Pi timelapse resource and Adafruit’s motorised camera slider for a similar project!

Infrared laser tag

Raspberry Pi summer project

While it’s sunny and warm, why not make this Raspberry Pi Zero W laser tag for the kids…

…and then lock them outside, and enjoy a Pimms and a sit-down in peace. We’re here for you, suffering summer holiday parents. We understand.

Self-weighing smart suitcase

“We’re all going on a summer holiday”, and pj_dc’s smart suitcase will not only help you track of your case’s location, it’ll also weigh your baggage.

Raspberry Pi summer project

Four 50kg load cells built into the base of the case allow for weight measurement of its contents, while a GPS breakout board and antenna let you track where it is.

Our free resources

While they’re not all summer-themed, our free Raspberry Pi, Code Club, and CoderDojo resources will keep you and your family occupied over the summer months whenever you’ve had a little too much of the great outdoors. From simple Scratch projects through to Python and digital making builds, we’ve got something for makers of all levels and tastes!

Getting started with Raspberry Pi summmer projects

If you’re new to Raspberry Pi, begin with our Getting started guide. And if you’re looking for even more projects to try, our online community shares a sea of tutorials on Twitter every week.

The post Eight(ish) Raspberry Pi projects for the summer appeared first on Raspberry Pi.

Dialling into local stories with Jura whisky phones

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/local-stories-jura-whisky-phones/

Raspberry Pis? Check. Iconic phoneboxes? Check. Whisky? Check, check, check. Find out how Bright Signals incorporated all three for the launch of the latest range of Jura whisky.

Raspberry Pi Bright Signal Jura whisky

Jura whisky from Jura

When Jura, a distillery on the Scottish island of Jura — population 200 — wanted to promote their new range of whisky, they and creative agency Punk decided to install a series of phoneboxes on the island that tell the stories of locals.

Grant Gibson, Bright Signals’ Deputy Managing Director, has taken the time to explain the process of retrofitting UK pay phones with Raspberry Pis. Here’s a brief time-lapse of the process:

Building phones for Jura

In June 2018 I built three custom pay phones for Jura Whisky. You can read all about the build here.

Retrofitting phoneboxes

The process wasn’t as easy as the video would have you believe — Grant met a series of bumps in the road along the way.

I started by buying a standard UK pay phone. Made by Solitaire, it’s the kind of vandal-proof steel unit you might find in a shopping centre or airport. The good news is that it looked the part and was really sturdy. The bad news is that the whole inside of the phone was a single PCB, with everything from the LCD display to the on-hook sensor surface mounted.

Eventually, Grant decided to remove the PCB entirely and rebuild the innards using an Adafruit Membrane Keypad, a Raspberry Pi, and a Pimoroni Display-O-Tron.

Raspberry Pi Bright Signal Jura whisky

Motion sensor–triggered phone calls

“I mounted a Raspberry Pi to act as the brains of the device,” explains Grant. “The on-board sound from the headphone port does double duty, providing both the sound heard through the handset and the incoming ringtone, which is in turn triggered by a PIR sensor; the phone automatically starts ringing whenever anyone walks past the phone box.”

Raspberry Pi Bright Signal Jura whisky

The phone boxes will go on tour across the UK and the rest of the world, so if you’d like to see them in person, and try some Jura whisky, keep your eye on the Jura Twitter account.

For more information on the project, visit Grant’s website. And while you’re there, be sure to check out Bright Signal’s other Raspberry Pi-based builds: the bicycle-powered beer dispenser for Menabrea, the Magners #6Stringer guitar built of cans, and Rude-olf, the animatronic reindeer.

The post Dialling into local stories with Jura whisky phones appeared first on Raspberry Pi.

Your own Grand Theft Auto San Andreas radio

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/grand-theft-auto-radio/

Relive the San Andreas glory days with this Grand Theft Auto radio built by Raphaël Yancey.

Raphaël Yancey on Twitter

With the “tuned” status LED. https://t.co/PuIi6sY78V

…and now I have Barracuda stuck in my head.

The music of GTA

Anyone who has played Grand Theft Auto knows that one of the best parts of the series is the radio stations: a mix of classic tunes and often comical DJ interludes make driving haphazardly through the streets of San Andreas a joy.

GTA

And much like fans of the Fallout series, many of us GTA players are guilty of listening to the in-game music outside of gaming sessions.

Hacking a radio

Maker Raphaël Yancey loves the San Andreas tunes so much, he decided to build his own Grand Theft Auto radio, complete with the MP3s available from Rockstar, the game’s creators.

Raphaël used a 1970s Optalix TO100 portable radio for this project, along with a Raspberry Pi 3. While this would be enough to create a music player, he also added two potentiometers for volume control and frequency tuning, as shown in the video above.

GTA Radio

Python code allows the potentiometers to move within a virtual frequency range of 88.7Mhz to 108.0Mhz, with five stations to find along the way. A LED comes on whenever the player finds a station, and the Pi then plays the music.

You can find Raphaël’s complete code for building your own GTA radio here. We’re keen to see what other game-based music projects our community will come up with. Here at Pi Towers, we have a spare Fallout Pip-Boy that’s aching to play the sweet sounds of the post-apocalyptic Commonwealth…

Raspberry Pi and music

The integration of Raspberry Pi within music projects is a theme we’re very fond of. From rejuvenated jukeboxes such as Tijuana Rick’s 1960’s Wurlitzer, to The Nest, a USB music download system built into Table Mountain, we’ve seen a host of imaginative projects and are always eager to discover more.

So if you’ve used a Raspberry Pi in your music project, whether it be a jukebox, a guitar pedal, or an instrument, be sure to share it with us.

The post Your own Grand Theft Auto San Andreas radio appeared first on Raspberry Pi.

World Cup fever: Raspberry Pi football projects to try

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/raspberry-pi-football/

Rumour has it that there’s a worldwide football tournament on, and that England, surprisingly, are doing quite well. In celebration, here are some soccer-themed Raspberry Pi projects for you to try out at home between (or during) matches.

FutureLearn Football

Uploaded by Raspberry Pi on 2018-07-09.

Beat the goalie

Score as many goals as you can in 30 seconds with our code-it-yourself Beat the Goalie game for Scratch. You can access Scratch in any web browser, or offline with your Raspberry Pi.

Beat the goalie scratch raspberry pi

Start by coding a moving football in Scratch, and work through the project to build a game that tallies your successful attempts on goal within a time limit that you choose. Up the stakes by upgrading your game to include second-player control of the penguin goalie.

Table football

Once you’ve moved on from penalty practice, it’s time to recruit the whole team!

Table football Scratch

Our Table Football project – free, like all of our learning projects – comes with all the ingredients you need to recreate the classic game, including player sprites, graphics, and sounds.

Instant replay!

Scratch is all well and good, but it’s time we had some real-life table football, with all the snazzy upgrades you can add using a Raspberry Pi.

Foosball Instant Replay

Demo of Foosball Instant Replay system More info here: * https://github.com/swehner/foos * https://github.com/netsuso/foos-tournament Music: http://freemusicarchive.org/music/Jahzzar/Blinded_by_dust/Magic_Mountain_1877

Stefan Wehner’s build is fully documented, so you can learn how to add automatic goal detection, slow-motion instant replay, scorekeeping, tallying, and more.

Ball tracking with Marty

Marty is a 3D-printable educational robot powered by a Raspberry Pi. With the capacity to add the Raspberry Pi camera module, Marty is a great tool for practising object tracking – in this case, ball tracking – for some football fun with robots!

Teaching Marty the Robot to Play Football

In this video we start to program Marty The Robot to play football, using a camera and Raspberry Pi on board to detect the ball and the goal. With the camera, Marty can spot a ball, and detect a pattern next to the goal.

You can also check out Circuit Digest’s ball-tracking robot using a Raspberry Pi, and this ball tracking tutorial by amey_s on Instructables.

What did we miss?

Have you built a football-themed project using a Raspberry Pi? What projects did we miss in our roundup? Share them with us here in the comments, or on social media.

The post World Cup fever: Raspberry Pi football projects to try appeared first on Raspberry Pi.

Tired of queuing for the office toilet? Meet Occu-Pi

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/office-toilet-occu-pi/

This is the story of Occu-Pi, or how a magnet, a Raspberry Pi, and a barrel bolt saved an office team from queuing for the toilet.

Occu Pi Raspberry Pi toilet signal

The toil of toilet queuing

When Brian W. Wolter’s employer moved premises, the staff’s main concern as the dearth of toilets at the new office, and the increased queuing time this would lead to:

Our previous office had long been plagued by unreasonably long bathroom lines. At several high-demand periods throughout the day we’d be forced to wait three, four, five people deep while complaining bitterly to each other until our turn to use the facilities arrived. With even fewer bathrooms in our new office, concern about timely access was naturally high.

Faced with this problem, the in-house engineers decided to find a technological solution.

Occu-Pi

The main thing the engineers had to figure out was just how to determine the difference between a closed door and an occupied stall. Brian explains in his write-up:

There is one notable wrinkle: it’s not enough to know the door is closed, you need to know if the bathroom is actually in use — that is, locked from the inside. After considering and discarding a variety of ‘creative’ solutions (no thank you, motion sensors and facial recognition), we landed on a straightforward and reliable approach.

The team ended up using a magnet attached to the door’s barrel bolt to trigger a notification. Simply shutting the door doesn’t act as a trigger — the bolt needs to lock the door to set off a magnetic switch. That switch then triggers both LED notifications and updates to a dedicated Slack channel.

Occu-Pi Raspberry Pi toilet signal

For the technically-minded, Occu-Pi is a pretty straightforward build. And those wanting to learn more about it can find a full write-up in Brian’s Medium post.

We’ve seen a few different toilet notification projects over the years, for example this project from DIY Tryin’ using a similar trigger plus a website. What’s nice about Occu-Pi, however, is the simplicity of its design and the subtle use of Slack — Pi Tower’s favoured platform for office shenanigans.

The post Tired of queuing for the office toilet? Meet Occu-Pi appeared first on Raspberry Pi.

Track your speed and distance while skateboarding

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/speed-distance-tracking-skateboard/

Fight the urge to chant the Avril Lavigne song as you cruise the streets on Pieter Thomas’s speed- and distance-tracking skateboard.

Speed and distance tracking Raspberry Pi skateboard

Instant approval

“That is sweet!” exclaimed Ben Nuttall when I shared this project on the Raspberry Pi Slack channel. And indeed it is — a simple idea, perfectly executed, resulting in a final product that actually managed to coax a genuine and positive response from Ben!

Prove your worth ☑

Project creator Pieter Thomas, a student at Howest Kortrijk University, needed to show off his skills by building a ‘something’ for his course. His inspiration?

I came up with this idea because I like to skate and cruise around. While I’m cruising, it would be handy to see how much distance I’ve travelled and see my speed.

So he decided to incorporate an odometer, a speedometer, and an RFID reader into a skateboard to produce this neat build.

Make and skate

While Pieter has an Arduino manage the onboard RFID reader, he’s put a Raspberry Pi 3 in charge of everything else, including the speed and distance readings taken with the help of a hall effect sensor (a transducer that uses magnetic fields to manage voltage output).

Speed and distance tracking Raspberry Pi skateboard

Pieter added the RFID reader to identify different users, with databases allowing for session data collection — perfect for time and speed challenges among friends!

Home-brew casing

All the electronics live in a Tupperware-like container that Pieter screwed to the bottom of the board. Holes in the deck display an LCD screen, a potentiometer, and a buzzer.

Speed and distance tracking Raspberry Pi skateboard

To allow speed and distance calculations, Pieter drilled a hole into one of the wheels and inserted a magnet. Once per wheel rotation, the hall effect sensor recognises the passing magnet. The build records the time taken between passes, computes the speed and distance covered, and shows them on the LCD screen.

Pieter’s Instructables project page goes into a lot more detail of how to build your own skate-o-meter. If you’ve used a Pi for your skateboarding project, make sure to let us know!

Skateboard + Pi

Other impressive Raspberry Pi–based board builds include Tim Maier’s motorised skateboard, aka the first blog post I ever wrote for Raspberry Pi, and Matt ‘The Raspberry Pi Guy’ Timmons-Brown’s 30kmph longboard, aka the project that resulted in this video of Raspberry Pi’s Director of Software Engineering:

Sk8r Pi ft. The Raspberry Pi Guy… and Gordon

The Raspberry Pi Guy popped into Pi Towers to show off his new creation. While skating up and down the office on his Pi-powered skateboard, our Director of Software Engineering, Gordon Hollingworth, decided to have a go.

The post Track your speed and distance while skateboarding appeared first on Raspberry Pi.

How to build a competiton-ready Raspberry Pi robot

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/how-to-build-raspberry-pi-robot/

With the recent announcement of the 2019 Pi Wars dates, we’ve collected some essential online resources to help you get started in the world of competitive robots.

bbc robot wars raspberry pi robot

Robotics 101

Before you can strap chainsaws and flamethrowers to your robot, you need to learn some basics. Sorry.

As part of our mission to put digital making into the hands of people across the globe, the Raspberry Pi Foundation creates free project tutorials for hardware builds, Scratch projects, Python games, and more. And to get you started with robot building, we’ve put together a series of buggy-centric projects!



Begin with our Build a robot buggy project, where you’ll put together a simple buggy using motors, a Raspberry Pi 3, and a few other vital ingredients. From there, move on to the Remotely control your buggy tutorial to learn how to command your robot using an Android phone, a Google AIY Projects Voice Kit, or a home-brew controller. Lastly, train your robot to think for itself using our new Build a line-following robot project.

Prepare your buggy for battle

Put down the chainsaw — we’re not there yet!

raspberry pi robot

For issue 51, The MagPi commissioned ace robot builder Brian Cortiel to create a Build a remote control robot feature. The magazine then continued the feature in issue 52, adding a wealth of sensors to the robot. You can download both issues as free PDFs from The MagPi website. Head here for issue 51 and here for issue 52.

Pi Wars

To test robot makers’ abilities, previous Pi Wars events have included a series of non-destructive challenges: the balloon-popping Pi Noon, the minimal maze, and an obstacle course. Each challenge calls for makers to equip their robot with various abilities, such as speed, manoeuvrability, or line-following functionality.

Tanya Fish on Twitter

Duck shoot, 81 points! Nice one bub. #piwars https://t.co/UCSWaEOJh8

The Pi Wars team has shared a list of hints and tips from Brian Corteil that offer a great place to start your robotics journey. Moreover, many Pi Wars competitors maintain blogs about their build process to document the skills they learn, and the disasters along the way.

raspberry pi robot

This year’s blog category winner, David Pride’s Pi and Chips website, has a wealth of robot-making information.

If you’d like to give your robot a robust, good-looking body, check out PiBorg, robot-makers extraordinaire. Their robot chassis selection can help you get started if you don’t have access to a laser cutter or 3D printer, or if you don’t want to part with one of your Tupperware boxes to house your robot.

And now for the chainsaws!

Robot-building is a great way to learn lots of new skills, and we encourage everyone to give it a go, regardless of your digital making abilities. But please don’t strap chainsaws to your Raspberry Pi–powered robot unless you are trained in the ways of chainsaw-equipped robot building. The same goes for flamethrowers, cattle prods, and anything else that could harm another person, animal, or robot.

Pi Wars raspberry pi robot

Pi Wars 2019 will be taking place on 30 and 31 March in the Cambridge Computer Laboratory William Gates Building. If you’d like to take part, you can find more information here.

The post How to build a competiton-ready Raspberry Pi robot appeared first on Raspberry Pi.

Using E Ink displays with a Raspberry Pi

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/using-e-ink-raspberry-pi/

Are you interested in using an E Ink display in your next Raspberry Pi project? Let us help you get started!

Raspberry Pi E Ink Displays

Weather and new display using a Raspberry Pi Zero and Kindle e-reader by Luke Haas

E Ink displays

E Ink displays are accessible, they don’t need a lot of power, and they can display content without any power connection whatsoever — think Amazon Kindle if you’ve only a vague knowledge of the technology.

E Ink displays work using negative and positive charges. They contain tiny microcapsules suspended in a liquid within a film layer. The microcapsules consist of negatively charged black particles and positively charged white particles. By applying the correct charge, you control whether the black or white particles come to the surface.

</e_ink_101_with_alex>

E Ink displays for your Raspberry Pi projects

So how and why would you use an E Ink display in your project? Simple! Aside from their low power consumption and indefinite display time, E Ink displays are relatively cheap, light, and interesting to look at. Plus, they’re easy to read in sunny conditions, which isn’t always true of LCD screens. And with e-readers now in their teens, there are plenty of forgotten devices collecting dust in drawers, ready to be repurposed.

Repurposing old e-readers

If you’ve ever tried to use the ‘experimental browser’ on a Kindle device, you’ll have found yourself transported back to the glory days of dial-up refresh rates and half-downloaded images. The only thing missing is the screeching connection tone. However, by connecting your Kindle to the same network as your Raspberry Pi, you can create a web page accessible to the e-reader to display data to your E Ink screen.

This bike computer by David Schneider makes use of that trick:

DIY: Build A Better Bike Computer

A Raspberry Pi and Kindle make vital information about your bicycle journey readable. Read more: http://spectrum.ieee.org/video/geek-life/hands-on/video-build-a-better-bike-computer

Secondhand e-readers are fairly easy to pick up from websites such as eBay, from your local carboot/yard sale, or from book-loving friends or family members. If you have one to hand and want to get making, you’ll find an abundance of tutorials for notification displays and low-power minimalist computers using e-readers.

Brand-new E Ink displays

If you want to buy a smaller display, or don’t have access to an old e-reader, you’ll find many online hobby retailers selling E Ink screens in several sizes and colours. The Pi Supply PaPiRus comes in many shapes and sizes as an easy-to-use Raspberry Pi HAT (Hardware Attached on Top). Simply push it in place on the GPIO pins, download the library to your Pi, and you’re good to go.

Raspberry Pi E Ink Displays

In case you’re looking to add a little more colour to your display, the Pimoroni red, white, and black Inky pHAT is an add-on designed for the Raspberry Pi Zero.

Raspberry Pi E Ink Displays

A quick and effective project for a smaller display like this is a Raspberry Pi Zero name badge, and we’ve seen our share of them at tech events and Picademy training sessions.

Brian Corteil 🤖 on Twitter

@MKRaspberryJam Yes, just like this one, pHat badge is a case for showing of your pHats, look mum no power!

Once you’ve programmed your Pi and updated your E Ink screen, you can detach it from the Pi and wow those you meet with your magic power-free digital name badge!

And if you buy yourself an E Ink HAT, you can even have a go at this Monzo-powered money tracker.

Raspberry Pi E Ink Monzo Display

Past predictions of Liz Upton

Back in 2013, our Director of Communication, Liz Upton, wrote a post about Max Ogden’s Kindleberry Pi build, commenting the following:

Here at the Foundation, we’re watching the development of e-ink products with great interest. At the moment it’s nigh-on impossible to buy an e-ink display as a consumer unless it comes bundled as part of an e-reader like a Kindle or a Nook; and that makes them very expensive. The technology has all kinds of potential for applications we want to see the Pi being used for: the low energy requirement makes an e-ink screen a perfect choice for places where you’re off the grid or reliant on solar power. We’re looking forward to seeing prices come down and displays becoming more easily available to consumers.

How lovely to be sat here in 2018, writing a post about the growing use of E Ink displays and the wide availability of the technology to hobbyists and digital makers! It shows how far the electronics industry for home builders has come, and we’re excited to see where it’s heading next.

The post Using E Ink displays with a Raspberry Pi appeared first on Raspberry Pi.

A working original Doctor Who K-9 prop

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/k-9-working-doctor-who-prop/

When Abertay University purchased some unwanted Doctor Who props from the BBC in 2011, they could never have known that their future computer science student Gary Taylor would transform a water-damaged robot corpse into a working K-9, the cutest (and snarkiest) of all the Doctor’s companions.

K-9 Doctor Who Raspberry Pi Prop

image c/o The Courier

K-9

If you’re unfamiliar with Doctor Who, you may not be aware of the Doctor’s robotic-canine best friend, K-9. I won’t wax lyrical about the long and winding history of this iconic science fiction character (though I could), but those of you who want to learn more can watch the video below.

History of K9 – History of Doctor Who

Hello and welcome to the Whoniverse and to another instalment of the History of Doctor Who series, this time I’m not looking at a universe conquering species but a tin dog. Yes the Doctor’s past travelling companion K9. There have been many versions of K9 and he has appeared alongside numerous Doctor’s and other companions.

Tl;dw: K-9 is basically a really clever, robotic dog invented in the year 5000.

Resurrecting a robotic dog

For his final-year dissertation, computer science student Gary Taylor decided to bring K-9 back to life, having discovered the prop damaged by a water leak in the university hackspace.

“I love robotics, I love programming, I love dogs, and I love Doctor Who.” Don’t we all, Gary. Don’t we all.
Image c/o The Courier

For his dissertation, titled Creating an Autonomous Robot Utilizing Raspberry Pi, Arduino, and Ultrasound Sensors for Mapping a Room, Gary used modern-day technology to rebuild K-9’s original and often unreliable radio-controlled electronics from the 1970s.

However, Gary’s K-9 is more than a simple remote-controlled robot. As the dissertation title states, the robot uses ultrasound sensors for room mapping, and this function is controlled by both an Arduino and Raspberry Pi.

A block diagram taken from Gary’s dissertation

An Arduino Mega 2560 controls the wheels and three ultrasound sensors located at the bottom of K-9’s body. It passes the sensor data to the onboard Raspberry Pi 3, and the Pi plots obstacles and walls to create a map of K-9’s surroundings.

The three ultrasonic sensors can be seen along the bottom of K-9’s body

The Raspberry Pi also connects to a smartphone via Bluetooth, where Gary runs a custome app to remotely control K-9 and view the map it creates.

More information? Affirmative!

The team at the Electronic Engineering Journal has written up a very thorough explanation of Gary’s dissertation. Those interested in the full details of the robot won’t be disappointed!

For a video of Gary and K-9 that refuses to embed itself in this blog post, head over to The Courier’s website.

And for more Doctor Who–related Raspberry Pi builds, check out Jeremy Lee’s remake of Captain Jack’s Vortex Manipulator, a synthesised rendition of the classic theme using a Raspberry Pi Zero, and a collection of builds and props in this Doctor Who roundup, including a sonic screwdriver, a Dalek, and a TARDIS in near-space.

Oh, and another thing…

BBC released some cool behind-the-scenes images and photos from season ten of Doctor Who, including this production art for Nardole’s tracking device:

The Pi Towers staff may have let out a little squee of delight when we noticed the Raspberry Pi included within.

The post A working original Doctor Who K-9 prop appeared first on Raspberry Pi.

Echoing the Newcastle of yesteryear with Pi-powered whistles

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/steve-messam-whistle/

Artist Steve Messam is celebrating the North of England’s historic role in railway innovation with 16 Raspberry Pi–controlled steam engine whistles around the city of Newcastle.

Steve Messam Raspberry Pi Whistle The Great Exhibition of the North

The Great Exhibition of the North

The Great Exhibition of the North is a summer-long celebration of the pioneering spirit of the North of England. Running over 80 days, the event will feature live performances, exhibitions, artworks, and displays of innovation from 22 June – 9 September 2018.

As part of the celebration, artist Steve Messam is introducing his Whistle project in Newcastle in honour of the North’s part in the innovation of the railway. “Listen out for the evocative sound of steam engine whistles once again echoing across the city of Newcastle,” states the project page of The Great Exhibition of the North. “The sound installation is designed to recall the role of the North in engineering and the invention of the railway, sparking memories and forging links between past and present.”

Whistle

Steve first developed the idea for Whistle as a pitch to the Loch Lomond and The Trossachs National Park back in 2014. He originally wanted to install a line of whistles along the 22-mile course of the old railway line between Callander and Glen Dochart, with whistles sounding off in one-second intervals, recreating the sound of the old line.

Below is a very nice roundup of the initial 2-mile test run, including the original whistle designs.

Steve Messam | Loch Lomond and The Trossachs National Park

The Artistic Reflections publication will be available from June 2017 For more information, or to order a copy, please contact: [email protected] Designed by Marco Scerri, edited by Susan Christie and supported by Creative Scotland Steve Messam Loch Lomond & The Trossachs National Park 186,340 hectares Project website: www.mistandmountains.wordpress.com Loch Lomond & The Trossachs National Park was designated in 2002 and covers 720 square miles of outstanding landscape adjacent to the central belt of Scotland.

Fast forward to 2018 and The Great Exhibition of the North, where Steve is surrounding the city of Newcastle with 16 newly casted brass whistles. The new installation follows the old city wall of Newcastle, with each whistle sounding at exactly 1pm on every day of the exhibition.

Steve Messam Raspberry Pi Whistle The Great Exhibition of the North

Original plans for the whistle

The William Lane Foundry cast the 16 whistles to match a design by William Armstrong based on measurements of an original whistle held by the North East Locomotive Preservation Group.

Steve Messam Raspberry Pi Whistle The Great Exhibition of the North

Whistle casting at the William Lane Foundry

Each whistle is equipped with a Raspberry Pi that controls the release of compressed air through the brass to replicate the sound of a steam whistle.

Steve Messam on Twitter

Another roof, another day of testing #whistle for #getnorth2018 https://t.co/j5Yszx1Crl

Each unit is powered by solar panels and registers the time from the National Physical Laboratory’s atomic clock in London to ensure accurate timings. As a fallback in case of WiFi issues, the whistles are also linked to the clock set on the Raspberry Pi itself.

Steve Messam on Twitter

The more I think about it the more I really like that ‘Whistle’ only really exists for about 20 seconds each day.

For more information on Whistle, check out this wonderful article by the Teesdale Mercury. You can also find out more about Steve Messam projects, such as his paper bridge that can support the weight of a Land Rover, on his website or by following his Twitter account.

Steve Messam Raspberry Pi Whistle The Great Exhibition of the North

A Whistle-stop tour of Newcastle

And if you’re in Newcastle while The Great Exhibition of the North is running and you spot one of the 16 whistles, be sure to tag us in your pics and videos on social media so we can see it in action.

The post Echoing the Newcastle of yesteryear with Pi-powered whistles appeared first on Raspberry Pi.