Tag Archives: Third-Party Products

How to set up OctoPrint on your Raspberry Pi

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/how-to-set-up-octoprint-on-your-raspberry-pi/

If you own a 3D printer, you’ll likely have at least heard of OctoPrint from the ever benevolent 3D printing online community. It has the potential to transform your 3D printing workflow for the better, and it’s very easy to set up. This guide will take you through the setup process step by step, and give you some handy tips along the way.

Octoprint

Before we start finding out how to install OctoPrint, let’s look at why you might want to. OctoPrint is a piece of open-source software that allows us to add WiFi functionality to any 3D printer with a USB port (which is pretty much all of them). More specifically, you’ll be able to drop files from your computer onto your printer, start/stop prints, monitor your printer via a live video feed, control the motors, control the temperature, and more, all from your web browser. Of course, with great power comes great responsibility — 3D printers have parts that are hot enough to cause fires, so make sure you have a safe setup, which may include not letting it run unsupervised.

OctoPrint ingredients

• Raspberry Pi 3 (or newer)
MicroSD card
• Raspberry Pi power adapter
• USB cable (the connector type will depend on your printer)
• Webcam/Raspberry Pi Camera Module (optional)
• 3D-printed camera mount (optional)

Before we get started, it is not recommended that anything less than a Raspberry Pi 3 is used for this project. There have been reports of limited success using OctoPrint on a Raspberry Pi Zero W, but only if you have no intention of using a camera to monitor your prints. If you want to try this with a Pi Zero or an older Raspberry Pi, you may experience unexpected print failures.

Download OctoPi

Firstly, you will need to download the latest version of OctoPi from the OctoPrint website. OctoPi is a Raspbian distribution that comes with OctoPrint, video streaming software, and CuraEngine for slicing models on your Raspberry Pi. When this has finished downloading, unzip the file and put the resulting IMG file somewhere handy.

Next, we need to flash this image onto our microSD card. We recommend using Etcher to do this, due to its minimal UI and ease of use; plus it’s also available to use on both Windows and Mac. Get it here: balena.io/etcher. When Etcher is installed and running, you’ll see the UI displayed. Simply click the Select Image button and find the IMG file you unzipped earlier. Next, put your microSD card into your computer and select it in the middle column of the Etcher interface.

Finally, click on Flash!, and while the image is being burned onto the card, get your WiFi router details, as you’ll need them for the next step.

Now that you have your operating system, you’ll want to add your WiFi details so that the Raspberry Pi can automatically connect to your network after it’s booted. To do this, remove the microSD card from your computer (Etcher will have ‘ejected’ the card after it has finished burning the image onto it) and then plug it back in again. Navigate to the microSD card on your computer — it should now be called boot — and open the file called octopi-wpa-supplicant.txt. Editing this file using WordPad or TextEdit can cause formatting issues; we recommend using Notepad++ to update this file, but there are instructions within the file itself to mitigate formatting issues if you do choose to use another text editor. Find the section that begins ## WPA/WPA2 secured and remove the hash signs from the four lines below this one to uncomment them. Finally, replace the SSID value and the PSK value with the name and password for your WiFi network, respectively (keeping the quotation marks). See the example below for how this should look.

Further down in the file, there is a section for what country you are in. If you are using OctoPrint in the UK, leave this as is (by default, the UK is selected). However, if you wish to change this, simply comment the UK line again by adding a # before it, and uncomment whichever country you are setting up OctoPrint in. The example below shows how the file will look if you are setting this up for use in the US:

# Uncomment the country your Pi is in to activate Wifi in RaspberryPi 3 B+ and above
# For full list see: https://en.wikipedia.org/ wiki/ISO_3166-1_alpha-2
#country=GB # United Kingdom
#country=CA # Canada
#country=DE # Germany
#country=FR # France
country=US # United States

When the changes have been made, save the file and then eject/unmount and remove the microSD card from your computer and put it into your Raspberry Pi. Plug the power supply in, and go and make a cup of tea while it boots up for the first time (this may take around ten minutes). Make sure the Raspberry Pi is running as expected (i.e. check that the green status LED is flashing intermittently). If you’re using macOS, visit octopi.local in your browser of choice. If you’re using Windows, you can find OctoPrint by clicking on the Network tab in the sidebar. It should be called OctoPrint instance on octopi – double-clicking on this will open the OctoPrint dashboard in your browser.

If you see the screen shown above, then congratulations! You have set up OctoPrint.

Not seeing that OctoPrint splash screen? Fear not, you are not the first. While a full list of issues is beyond the scope of this article, common issues include: double-checking your WiFi details are entered correctly in the octopi-wpa-supplicant.txt file, ensuring your Raspberry Pi is working correctly (plug the Raspberry Pi into a monitor and watch what happens during boot), or your Raspberry Pi may be out of range of your WiFi router. There’s a detailed list of troubleshooting suggestions on the OctoPrint website.

Printing with OctoPrint

We now have the opportunity to set up OctoPrint for our printer using the handy wizard. Most of this is very straightforward — setting up a password, signing up to send anonymous usage stats, etc. — but there are a few sections which require a little more thought.

We recommend enabling the connectivity check and the plug-ins blacklist to help keep things nice and stable. If you plan on using OctoPrint as your slicer as well as a monitoring tool, then you can use this step to import a Cura profile. However, we recommend skipping this step as it’s much quicker (and you can use a slicer of your choice) to slice the model on your computer, and then send the finished G-code over.

Finally, we need to put in our printer details. Above, we’ve included some of the specs of the Creality Ender-3 as an example. If you can’t find the exact details of your printer, a quick web search should show what you need for this section.

The General tab can have anything in it, it’s just an identifier for your own use. Print bed & build volume should be easy to find out — if not, you can measure your print bed and find out the position of the origin by looking at your Cura printer profile. Leave Axes as default; for the Hotend and extruder section, defaults are almost certainly fine here (unless you’ve changed your nozzle; 0.4 is the default diameter for most consumer printers).

OctoPrint is better with a camera

Now that you’re set up with OctoPrint, you’re ready to start printing. Turn off your Raspberry Pi, then plug it into your 3D printer. After it has booted up, open OctoPrint again in your browser and take your newly WiFi-enabled printer for a spin by clicking the Connect button. After it has connected, you’ll be able to set the hot end and bed temperature, then watch as the real-time readings are updated.

In the Control tab, we can see the camera stream (if you’re using one) and the motor controls, as well as commands to home the axes. There’s a G-code file viewer to look through a cross-section of the currently loaded model, and a terminal to send custom G-code commands to your printer. The last tab is for making time-lapses; however, there is a plug-in available to help with this process.

Undoubtedly the easiest way to set up video monitoring of your prints is to use the official Raspberry Pi Camera Module. There are dozens of awesome mounts on Thingiverse for a Raspberry Pi Camera Module, to allow you to get the best angle of your models as they print. There are also some awesome OctoPrint-themed Raspberry Pi cases to house your new printer brains. While it isn’t officially supported by OctoPrint, you can use a USB webcam instead if you have one handy, or just want some very high-quality video streams. The OctoPrint wiki has a crowdsourced list of webcams known to work, as well as a link for the extra steps needed to get the webcam working correctly.

As mentioned earlier, our recommended way of printing a model using OctoPrint is to first use your slicer as you would if you were creating a file to save to a microSD card. Once you have the file, save it somewhere handy on your computer, and open the OctoPrint interface. In the bottom left of the screen, you will see the Upload File button — click this and upload the G-code you wish to print.

You’ll see the file/print details appear, including information on how long it’ll take for the object to print. Before you kick things off, check out the G-code Viewer tab on the right. You can not only scroll through the layers of the object, but, using the slider at the bottom, you can see the exact pattern the 3D printer will use to ‘draw’ each layer. Now click Print and watch your printer jump into action!

OctoPrint has scores of community-created plug-ins, but our favourite, Octolapse, makes beautiful hypnotic time-lapses. What makes them so special is that the plug-in alters the G-code of whatever object you are printing so that once each layer has finished, the extruder moves away from the print to let the camera take an unobstructed shot of the model. The result is an object that seems to grow out of the build plate as if by magic. You’ll not find a finer example of it than here.

Satisfying 3D Prints TimeLapse episode 7 (Prusa I3 Mk3 octopi)

3D Printing timelapses of models printed on the Prusa i3 MK3! Here’s another compilation of my recent timelapses. I got some shots that i think came out really great and i hope you enjoy them! as always if you want to see some of these timelapses before they come out or want to catch some behind the scenes action check out my instagram!

Thanks to Glenn and HackSpace magazine

This tutorial comes fresh from the pages of HackSpace magazine issue 26 and was written by Glenn Horan. Thanks, Glenn.

To get your copy of HackSpace magazine issue 26, visit your local newsagent, the Raspberry Pi Store, Cambridge, or the Raspberry Pi Press online store.

Fans of HackSpace magazine will also score themselves a rather delightful Adafruit Circuit Playground Express with a 12-month subscription. Sweet!

The post How to set up OctoPrint on your Raspberry Pi appeared first on Raspberry Pi.

Raspberry Pi capacitive-touch musical Christmas tree

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/capacitive-touch-musical-christmas-tree/

What, your Christmas tree ISN’T touch-enabled?

Capacitive Touch Christmas Tree How To | Raspberry Pi | Bare Conductive Pi Cap

Turn your Christmas tree into a capacitive touch-interactive musical instrument using a Raspberry Pi and a Bare Conductive Pi Cap. You’ll be rocking around the Christmas tree in no time! /* Bare Conductive */ Pi Cap: https://www.bareconductive.com/shop/pi-cap/ Touch Board: https://www.bareconductive.com/shop/touch-board/ Code: https://github.com/BareConductive/picap-touch-mp3-py #RasberryPi #BareConductive #Christmas

Using the Bare Conductive Pi Cap, Davy Wybiral hooked up his fairy lights and baubles to a Raspberry Pi. The result? Musical baubles that allow the user to play their favourite festive classics at the touch of a finger. These baubles are fantastic, and it’s easy to make your own. Just watch the video for Davy’s how-to.

The code for Bare Conductive’s Pi Cap polyphonic touch MP3 utility can be found in this GitHub repo, and you can pick up a Pi Cap on the Bare Conductive website. Then all you need to do is hook up your favourite tree decorations to the Pi Cap via insulated wires, and you’re good to go. It’s OK if your decorations aren’t conductive: you’ll actually be touching the wires and not the ornaments themselves.

And don’t worry about touching the wires, it’s perfectly safe. But just in this instance. Please don’t make a habit of touching wires.

Make sure to subscribe to Davy on YouTube (we did) and give him a like for the baubles video. Also, leave a comment to tell him how great it is, because nice comments are lovely, and we should all be leaving as many of them as we can on the videos for our favourite creators.

The post Raspberry Pi capacitive-touch musical Christmas tree appeared first on Raspberry Pi.

Raspberry Pi Christmas Shopping Guide 2019

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/raspberry-pi-christmas-shopping-guide-2019/

Stuck for what to buy your friends and family this Christmas? Whether you’re looking to introduce someone to Raspberry Pi and coding, or trying to find the perfect gift for the tech-mad hobbyist in your life, our Christmas Shopping Guide 2019 will help you complete your shopping list. So, let’s get started…

The good ol’ Raspberry Pi

They’ve asked for a Raspberry Pi but not told you which one they want? You know they like coding but don’t know where to start? They’re an avid baker and you think they may have spelt ‘pie’ wrong on their Christmas list? No problem, we’ve got you sorted.

Raspberry Pi 4 Desktop Kit

With everything you need to get started using Raspberry Pi 4, the Raspberry Pi 4 Desktop Kit contains our official mouse, keyboard with an integrated USB hub, USB-C power adapter, case, two micro HDMI leads, our Beginner’s Guide and, of course, the 4GB Raspberry Pi 4. Available from our Approved Resellers and the Raspberry Pi Store, Cambridge, the Desktop Kit is the perfect gift for anyone who’s wanting to get started with coding and digital making, or who’s simply looking to upgrade their current home computer to a smaller, less power-hungry setup.

Visit the Raspberry Pi Store, Cambridge, or find your nearest Approved Reseller online.

Raspberry Pi Zero W

Raspberry Pi Zero WH

The smallest Raspberry Pi still packs a punch despite its size and price. For $10, Raspberry Pi Zero W is perfect for embedding into projects and, with onboard Bluetooth and wireless LAN, there are fewer cables to worry about. Buy a Raspberry Pi Zero W with or without pre-soldered header pins, and pop it in someone’s stocking this Christmas as a great maker surprise.

Visit the Raspberry Pi Store, Cambridge, or find your nearest Approved Reseller online.

Get Started with Raspberry Pi 3A+

 

This isn’t just a book: it’s a book with a computer on the front. Getting Started with Raspberry Pi is a great gift for anyone curious about coding and, at £35, it’s a pretty affordable gift to give this festive season. Alongside the 116-page getting-started guide, the package also contains a Raspberry Pi 3A+, official case, and 16GB micro SD card pre-loaded with NOOBs. Raspberry Pi 3A+ can be powered with a good-quality micro USB phone charger, and it can be connected to any TV or computer display via standard HDMI. Grab a keyboard and mouse — you’ll be surprised how many people have a keyboard and mouse lying around — and you’re good to go!

Order your gift today from the Raspberry Pi Press online store, with international shipping available.

A full range of all Raspberry Pi variants, official accessories, and add-ons can be found on our products page.

A Raspberry Pie

Don’t be lazy, make your own!

Books

Raspberry Pi Press has released a small library’s worth of publications these last few months — have you ordered all your copies yet?





Pre-orders are now open for our glorious Code the Classics, so secure your copy now for the 13 December release date, with free UK shipping. And, while you’re on our Raspberry Pi Press page, check out our latest range of publications to suit all techy interests: Retro Gaming with Raspberry Pi will show the budding gamer in your life how to build their own Raspberry Pi retro arcade to play their Code the Classics favourites on, while Book of Making 2 and Raspberry Pi Projects Book 5 will inspire them to make all manner of amazing projects, from electronics and woodworking to crafts and rockets.


An Introduction to C and GUI programming by Simon Long

If they’re already full to the brim with Raspberry Pi, why not treat them to our Get Started with Arduino guide so they can expand upon their electronics skills. We also offer a host of established publications at discounted prices, including Sophy Wong’s Wearable Tech Projects, An Introduction to C & GUI Programming, and previous volumes of the Book of Making and the Raspberry Pi Projects Book.

Visit the Raspberry Pi Press online store, or head to the Raspberry Pi Store, Cambridge to find all our publications. You may also find a selection in your local WHSmith, Sainsbury’s, or Barnes & Noble.

Magazine subscriptions

Subscriptions are available for all of our magazines. 12-month subscribers to The MagPi magazine will receive a free Raspberry Pi, while a 12-month subscription to HackSpace magazine will net you a free Adafruit Circuit Playground Express.

Subscribers to Wireframe magazine, Custom PC magazine, and Digital SLR Photography will save up to 49% compared to newsstand prices, with many subscription options to choose from.

Babbage Bear

Everyone needs a Babbage Bear. Your new Babs will come complete with their own Raspberry Pi-branded shirt. And, with some felt, stuffing, and a stapler, you can make them as festive as ours in no time!

Order yours online, or buy Babbage at the Raspberry Pi Store, Cambridge.

Great third-party add-ons and essential kit

The Pi Hut’s 3D Xmas Tree

This newest iteration of The Pi Hut 3D Xmas Tree includes programmable RGB LEDs! Simply detach the two halves of the tree from their frame, slot them together, and place them onto the GPIO pins of your Raspberry Pi. With the provided libraries of code, the tree will be lit up and merry before you know it.

How about programming it to flash to your favourite Christmas song? Get yours today from The Pi Hut and the Raspberry Pi Store, Cambridge.

Pimoroni Pirate Radio

“Pirate Audio Speaker,” Pimoroni explain “is perfect for making a Lilliputian radio, sound effect player, or even as a teeny-weeny games console!”

Attach this HAT to any 40-pin Raspberry Pi and start creating a whole host of wonderful audio-visual projects — such as a Christmas #1 jukebox — to get you in the mood for your office party.

Available from the Pimoroni website and the Raspberry Pi Store, Cambridge.

PocketMoneyTronics GPIO Christmas Tree

This super-cute GPIO add-on allows users to write their own light shows via GPIO. Available for £4 from the Raspberry Pi Store, Cambridge, and the PocketMoneyTronics website, it’s a nice festive addition to any coders stocking.

Full instructions are provided with the kit, and are also available online. Buy the kit pre-soldered or loose, depending on your giftee’s soldering skills.

Visit the websites of all our Approved Resellers for more great Raspberry Pi gifts. Find your local Approved Reseller by selecting your country from the dropdown menu on any Raspberry Pi Products page.

Essential kit

Fill their maker kit this festive season, with a whole host of great components and tools. A soldering iron is a great way for coders to start bringing their projects out into the real world, allowing them to permanently add sensors, lights, buttons, etc. to their Raspberry Pi. They’ll also need one if they want to add header pins to the $5 Raspberry Pi Zero and $10 Raspberry Pi Zero W.

You can never have enough LEDs. Available in a variety of sizes and colours, you can find packs of LEDs online or in your local electronics store.

Never underestimate the importance of a cutting mat. Not only will it save your tabletop from craft knife cuts and soldering iron burns, but they also look great in photos for when its time to show of their latest project!

Amazon Smile

If you plan on making online purchases via Amazon, please consider selecting the Raspberry Pi Foundation via Amazon Smile! Your items will still be the same cost to you, but Amazon will donate a portion of the purchase price to help us continue to make free computer science education available to adults  and young people everywhere.

  • Amazon Smile for the UK
  • Amazon Smile for the US
  • For those of you based elsewhere, we’re pretty sure that you just need to add smile. before amazon in the Amazon web address you use in your country, so give that a try. If that doesn’t work, try searching for Amazon Smile via your prefered search engine.

Our gift to you

We wanted to give you a gift this festive season, so we asked the incredibly talented Sam Alder to design an illustration for you to print or use as your desktop wallpaper.

The poster is completely free for you to use and can be opened by clicking on the image above. We just ask that you don’t sell it, print it onto a t-shirt or mug, tattoo it onto your body, or manipulate it. But do feel free to print it as a poster for your home, classroom, or office, or to upload it as your computer wallpaper. And, when you do, be sure to take a photo and share it with us on social media.

You can also download a wider version of the image.

Happy gift-giving this 2019!

The post Raspberry Pi Christmas Shopping Guide 2019 appeared first on Raspberry Pi.

Scratch 3 Desktop for Raspbian on Raspberry Pi

Post Syndicated from Martin O'Hanlon original https://www.raspberrypi.org/blog/scratch-3-desktop-for-raspbian-on-raspberry-pi/

You can now install and use Scratch 3 Desktop for Raspbian on your Raspberry Pi!

Scratch 3

Scratch 3 was released in January this year, and since then we and the Scratch team have put lots of work into creating an offline version for Raspberry Pi.

The new version of Scratch has a significantly improved interface and better functionality compared to previous versions. These improvements come at the cost of needing more processing power to run. Luckily, Raspberry Pi 4 has delivered just that, and with the software improvements in the newest version of Raspbian, Buster, we can now deliver a reliable Scratch 3 experience on our computer.

Which Raspberry Pi can I use?

Scratch 3 needs at least 1GB of RAM to run, and we recommend a Raspberry Pi 4 with 2GB+ RAM. While you can run Scratch 3 on a Raspberry Pi 2, 3, 3B+, or a Raspberry 4 with 1GB RAM, performance on these models is reduced, and depending on what other software you run at the same time, Scratch 3 may fail to start due to lack of memory.

The Scratch team is working to reduce the memory requirements of Scratch 3, so we will hopefully see improvements to this soon.

How to install Scratch 3

You can only install Scratch 3 on Raspbian Buster.

First, update Raspbian!

  • If you’ve yet to upgrade to Raspbian Buster, we recommend installing a fresh version of Buster onto your SD card instead of upgrading from your current version of Raspbian.
  • If you’re already using Raspbian Buster, but you’re not sure your running the latest version, update Buster by following this tutorial:

How to update Raspbian on your Raspberry Pi

How to update to the latest version of Raspbian on your Raspberry Pi.

Once you’re running the latest version of Buster, you can install Scratch 3 either using the Recommended Software application or apt on the terminal.

How to install Scratch 3 using the Recommended Software app

Open up the menu, click on Preferences > Recommended Software, and then select Scratch 3 and click on OK.

How to install Scratch 3 using the terminal

Open a terminal window, and type in and run the following commands:

sudo apt-get update
sudo apt-get install scratch3

What can I do with Scratch 3 and Raspberry Pi?

Scratch 3 Desktop for Raspbian comes with new extensions to allow you to control the GPIO pins and Sense HAT with Scratch code!

GPIO extension

GPIO extension is a replacement for the existing extension in Scratch 2. Its layout and functionality is very similar, so you can use it as a drop-in replacement.

The GPIO extension gives you the flexibility to connect and control a whole host of electronic devices.

Simple Electronics extension

If you are looking to add something simple, like an LED or button controller for a game, you should find the new Simple Electronics extension easier to use than the GPIO extension. The Simple Electronics extension is the first version of a beginner-friendly extension for interacting with Raspberry Pi’s GPIO pins. Taking lessons from the implementation of gpiozero for Python, this new extension provides a simpler way of using electronic components: currently buttons and LEDs.

In this example, an LED connected to GPIO pin 17 is controlled by a button connected between pin 2 and GND.

Sense HAT extension

We’ve improved the Sense HAT extension to take advantage of new features in Scratch 3, and the updated version of the extension also introduces a number of new blocks to allow you to:

  • Sense tilting, shaking, and orientation
  • Use the joystick
  • Measure temperature, pressure, and humidity
  • Display text, characters, and patterns on the LED matrix

micro:bit and LEGO extensions

The micro:bit and LEGO extensions will become available later on Scratch 3 Desktop. This is because Scratch Link, the software which allows Scratch to talk to Bluetooth devices, is not yet available for Linux-type operating systems like Raspbian. A version of Scratch Link for Raspbian is part of our plans but, as yet, we don’t have a release date.

A round of thanks

It has been a long ambition of both the Scratch and Raspberry Pi teams to have Scratch 3 running on Raspberry Pi, and it’s amazing to see it released!

A big thank you to Raspberry Pi engineer Simon Long for building and packaging Scratch 3, and to the Scratch team for their support in getting over some of the problems we faced along the way.

The post Scratch 3 Desktop for Raspbian on Raspberry Pi appeared first on Raspberry Pi.

Google AIY Projects Kit vs Star Wars Porgs

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/star-wars-porg-google-aiy-translator/

Here at Pi Towers, we have a love/hate relationship with the Star Wars creatures known as Porgs. Love, because anything cute and annoying will instantly get our attention; hate, primarily because of this GIF:

Star Wars Porg Raspberry Pi Google AIY Projects Kit translator

So when hackster.io tweeted about the following project, you can imagine the unfiltered excitement and fear with which I shared the link in the comms team Slack channel.

It looked a little something like this:

Star Wars Porg Raspberry Pi Google AIY Projects Kit translator

Google AIY Projects Kit

When we announced the Google AIY Projects Kit as a freebie included in issue 57 of The MagPi, I don’t think we realised how well it would do. OK, no, we knew it would do well. After we gave away a free $5 computer on the front cover of issue 40, we knew giving tech away with The MagPi would always do well. But the wave of projects and applications that started on the day of the release was a wonderful surprise, as community members across the world immediately began to implement voice control in their builds.

Star Wars Porg Raspberry Pi Google AIY Projects Kit translator

And now, twenty months later, we’re still seeing some wonderful applications of the kit, including this glorious Porg project.

Learn Spanish with a Porg — because of course

Hackster.io user Paul Trebilcox-Ruiz shared his Translation Toy project on the site yesterday, providing a step-by-step guide to hacking the motors of the Star Wars Porg toy so that it moves in time with verbal responses from the AIY kit. It’s all rather nifty, and apart from a Raspberry Pi you only need some wires and a soldering iron to complete the project yourself.

…some wires, a soldering iron, and the cold-heartedness to pull apart the innards of a stuffed toy, Paul, you monster!

“Hello” Translation Toy

Uploaded by Paul Trebilcox-Ruiz on 2018-12-10.

As soon as Paul realised that the Porg’s motors would run if he simply applied voltage, he extended the wires inside the Porg with the help of jumper leads and so attached the Porg to the GPIO pins on his Raspberry Pi.

For this setup, I hooked the two speaker wires from the Porg into the speaker connectors on the HAT, the button wires into the GPIO pin 24 and ground connectors under the ‘Servos’ heading, and for the motors I needed to hook up a relay for a 5V connection driven by the signal off of GPIO pin 26. The microphone that came with the AIY Voice Projects Kit was attached to the board using the pre-defined mic connector.

Then Paul wrote code that uses the AIY kit to translate any voice command it hears into Spanish.

For the full code and instructions, check out Paul’s hackster.io project page. And for more Porg love, here’s every Porg scene from The Last Jedi:

Porgs! Love Them Or Hate Them – Every Porg Scene in Star Wars: The Last Jedi HD

Porgs are now part of the Star Wars universe for better or worse thanks to director Rian Johnson. How do you feel about the tasty critters? Thanks for watching

Bonus facts

  • Porgs were introduced into the Star Wars universe as a means of hiding the many puffins that traipse the landscape of Skellig Michael, the location used for filming Luke Skywalker’s home, Ahch-To. Bless you.
  • A group of Porgs is called a murder.
  • A baby Porg is called a Porglet.
  • And no, you can’t get a physical copy of The MagPi issue 40 or issue 57. They’re gone now. Done. Forever. But you can still download the PDFs.

 

The post Google AIY Projects Kit vs Star Wars Porgs appeared first on Raspberry Pi.

We tried out Valve’s Steam Link on Raspberry Pi and…

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

… it worked well!

tl;dr: really, really well.

But if “it worked really well” isn’t enough of a reason for you to give Steam Link on Raspberry Pi a go, here’s the rest of today’s blog post…

Steam Link on Raspberry Pi

The internet (mainly Reddit) was all aflutter last week due to the release of the Steam Link app beta version for the Raspberry Pi.

Steam Link, for the uninitiated, is a service that allowed users of the digital distribution platform Steam to stream video games from their PC to a display of choice — without the need to weave a mile-long HDMI cable between rooms and furniture to connect computer and television.

The original Steam Link

Up until now, if Steam users wanted to stream games to other displays, they had to do so with Valve’s own Steam Link device — a small black box available for purchase on the Valve website — and the device did pretty well. But with the new Steam Link app for Raspberry Pi, any Pi owner can get up and running with Steam Link using one single line of code.

And that’s all sorts of convenient!

Trying out Steam Link for ourselves

We didn’t just want to put out a blog post to let you folks know that the app’s beta version is now live. Instead, we wanted to collar one of our own to try the new app out at home and let us know exactly what they think. And since we knew that Simon, our Asset Management Assistant Keeper of the Swag, Organiser of the Stuff, Lord Commander of the Things, had a Steam Link at home, it made sense to ask him nicely to give the app a try over the weekend.

And he did, because Simon = ❤

One line of code later…

It took Simon all of five minutes to get Steam Link up and running on his TV. He even went so far as to copy and paste the short line of code via a Chromium search for the announcement, instead of typing it in for himself.

And then Simon just had to sign into his Steam account and boom, Bob’s your uncle, Sally’s your aunt, the process was complete.

“Took less than five minutes before I was investigating strange cults from the comfort of my sofa,” explained Simon, as we all nodded, inwardly judging him a little for his game of choice. But in case you’re interested, Cultist Simulator is made by Factory Weather, and there are currently some photos of a tiny kitten on their homepage, so go check it out.

User experience

Let us know if you’ve tried the Steam Link app on Raspberry Pi, and what you think of it. Oh, and what games you’re playing on it, especially if they include Cultist Simulator.

And to make your Steam Link setup process easier, type rpf.io/steamlinkblog into your Chromium browser on your Raspberry Pi to open this blog post, and then copy and paste the following into a terminal window to run install the app:

curl -#Of http://media.steampowered.com/steamlink/rpi/steamlink_1.0.7_armhf.deb
sudo dpkg -i steamlink_1.0.7_armhf.deb

The post We tried out Valve’s Steam Link on Raspberry Pi and… appeared first on Raspberry Pi.

The Raspberry Pi Christmas shopping list 2018

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/christmas-shopping-list-2018/

Looking for this year’s perfect something to put under the tree ‘from Santa’? Well, look no further than right here — it’s time for our traditional Christmas shopping list!

Woohoo!

Which Raspberry Pi?

As you are no doubt aware, the Raspberry Pi comes in more than one variety. And if you’re planning to give a Pi as a gift to a first-time user, you may be confused as to which one you should buy.

Raspberry Pi 3B+

For someone learning to write code for the first time, we recommend the Raspberry Pi 3B+. Anyone living in a home with an HDMI display, such as a computer monitor or television, will be able to plug directly into the 3B+, and in case they don’t already have a standard USB mouse and keyboard, these can both easily be acquired online, in many charity shops, or by sweet-talking a friend/neighbour/employer. You can even find some great Raspberry Pi starter kits that include many of the items needed to get started.

Raspberry Pi Zero W

The Raspberry Pi Zero W comes at a lower price, and with it, a smaller footprint than the 3B+. This makes the tiny Pi the perfect addition to any creator’s toolkit, ideal for projects that run on a Pi long-term, such as display builds, robots, or near-space HABs.

Pre-loaded micro SD card

Whatever Raspberry Pi you choose for the lucky receiver of your Christmas gift, we also recommend getting them a pre-loaded micro SD card. While it’s really easy to flash an operating system image onto one of the dusty old micro SD cards you have lurking in a drawer, pre-loaded cards allow new Pi owners to plug in and get started right off the bat. Plus, the ones with our operating system Raspbian on come in rather fancy, logo-adorned SD adapters. And who doesn’t like a rather fancy, logo-adorned SD adapter?

Books, books, books

We’re releasing two new books this week that are perfect for any Christmas stocking!

Code Club Book of Scratch Volume 1

Code Club Book of Scratch Volume 1

The Code Club team is buzzing over the release of the first Code Club book, available to buy from Friday. Primarily aimed at learners aged 9–13, the book focuses on teaching the Scratch programming language, and it’s jam-packed with fun projects, tips, and stickers. The book also comes with a pair of super-special computer science glasses that allow you to see secret hints hidden throughout the book. Very, very cool.

And since Scratch is pre-installed on Raspbian, the Code Club Book of Scratch is the perfect accompaniment to that Raspberry Pi you’re planning to get for the young person in your life!

The Official Raspberry Pi Beginner’s Guide

Raspberry Pi Beginner's Guide Book 2018

From setting up a Raspberry Pi to using Scratch and Python to create games and animations, the hot-off-the-press Official Raspberry Pi Beginner’s Guide has everything your loved one needs to get started and keep going.

And when we say ‘ hot-off-the-press’, we mean it — we only released the book this week!

Both the Raspberry Pi Beginner’s Guide and the Code Club Book of Scratch are available with free international shipping. And if you’d like to give either of them a ‘try before you buy’ test drive, they should both available soon as free PDFs for you to download and peruse at your leisure.

Magazine subscriptions

Alongside our books, we have an array of magazines, including the brand-new, twice-monthly, video game–focused Wireframe! As with the books, you can download all issues of our magazines for a test read before you commit to a subscription.

Twelve-month print subscriptions to HackSpace magazine or The MagPi will reward you with a technical treat: an Adafruit Circuit Playground or a Raspberry Pi 3A+.


So not only can you give a gift that will last the entirety of 2019, but you’ll also automatically provide your favourite creative person with something rather lovely to play with when they receive their first issue.

And if you sign them up now, you can give someone a six-issue subscription of Wireframe magazine for £12! Or save 49% on a twelve-month subscription of 26 magazines from £40.

So many choices, so many ways to make the creators and tech fans in your life happy this holiday season.

Accessories and such

Maybe the person you’re shopping for already has every Raspberry Pi on the market. And as for our publications, their mailbox is full of magazines and books every week, and their smartphone and tablets are crammed with every PDF we’ve ever produced. So what next?

Swag

What do you buy the Raspberry Pi fan who has all the Pis? Swag, of course!

Raspberry Pi Swag - enamel pin
Raspberry Pi Swag - travel card holder
Raspberry Pi Swag - Mug

From stickers and mugs, to coasters and pins, check out the Raspberry Pi swag store for some wonderful treats!

Add-ons

Whether it’s a HAT (Hardware Attached on Top) for the Raspberry Pi, or a full kit to make something rather spectacular, our Approved Resellers stock all manner of Pi add-ons.


Pimoroni Picade
Pi Hut LED Xmas Tree

You can find your nearest Raspberry Pi Approved Reseller by clicking on any item on our products page and then selecting your country.

This isn’t all!

We’ve been putting together a Raspberry Pi shopping list every year in response to the message we receive from you asking for gift ideas. So why not have a look back at our previous lists to get more inspiration for what to give, including more books, toolkit staples, non-Pi tech bits, and, of course, LEGO.

The post The Raspberry Pi Christmas shopping list 2018 appeared first on Raspberry Pi.

Raspberry Pi vs a Raspberry Pi–powered escape room

Post Syndicated from Christina Foust original https://www.raspberrypi.org/blog/raspberry-pi-escape-room/

A few Mondays ago, the Raspberry Pi North America team visited a very special, Raspberry Pi–powered Escape Room in San Francisco. Run by Palace Games, the Edison Escape Room is an immersive experience full of lights, sensors, and plenty of surprises. This is the team’s story of how they entered, explored, and ultimately escaped this room.

At World Maker Faire this year, our very own social media star Alex Bate met Jordan Bunker, one of the Production Artists at Palace Games. Emails were sent, dates arranges, and boom, the Raspberry Pi North America team had to face the Edison Escape Room!

Escape rooms

In case you’re not familiar, an escape room is a physical adventure game in which players solve a series of puzzles and riddles using clues, logic, and strategy to complete the game’s objectives. Many escape room designers use physical computing to control the many sensors and triggers involved in the player experience.

Palace Games Edison Escape Room

The team vs Edison

Upon entering the Edison Escape Room, my team and I quickly realized that we were within a complex system built like a giant computer! So even though it was our first-ever time in an escape room, that would not be a disadvantage for us.

Palace Games Edison Escape Room

Our goal was to accomplish a variety of tasks, including solving many puzzles, looking for hidden clues when anything could be a clue, completing circuits, moving with the floor, and getting a bit of a workout.

The true test, however, was how well we communicated and worked with each other — which we did an awesome job at: at times we split up the work to effectively figure out the many different puzzles and clues; there was a lot “try it this way”, “maybe it means this”, and “what if it’s supposed to go that way” being yelled across the room. Everyone had their Edison thinking hat on that day, and we were so ecstatic when we completed the last challenge and finally escaped!

Palace Games Edison Escape Room

The inner workings

After escaping the room, we got the chance to explore behind the scenes. We found a local network of many Raspberry Pis that are coordinated by a central Raspberry Pi server. The Python Banyan framework is the connective tissue between the Raspberry Pis and their attached components.

Palace Games Edison Escape Room

The framework facilitates the communication between the Pis and the central server via Ethernet. The Raspberry Pis are used to read various types of sensors and to drive actuators that control lights, open doors, or play back media. And Raspberry Pis also drive the control panels that employees use to enter settings and keep tabs on the game.

“Raspberry Pi keeps us going. It’s the heart and soul of our rooms.”  – Elizabeth Sonder, Design Engineer & Production Manager

We highly recommend heading over to Palace Games and exploring one of their many escape rooms. It’s a great team-building exercise and definitely allows you to learn a lot about the people you work with. Thank you to the Palace Games team for hosting us, and we hope to return and escape one of their rooms again soon!

The post Raspberry Pi vs a Raspberry Pi–powered escape room appeared first on Raspberry Pi.

From inspiration to innovation: Hands-On Coding blocks

Post Syndicated from Dana Augustin original https://www.raspberrypi.org/blog/hands-on-coding-marcos-navas-picademy/

Marcos Navas is a Union City Technology Facilitator with Union City school district in New Jersey and an active member of the maker, STEM, and coding communities. He was part of the first cohort of Raspberry Pi Certified Educators in the United States. Recently, he completed a fellowship with IDEO’s Teachers Guild and launched Hands-on Coding, a company that makes physical coding blocks for learners. Hands-On Coding blocks allow students to physically build computer programs and act out their code in the real world. They turn the human into a computer and teach children not only how to solve problems, but also how to express themselves.

In this blog post, Marcos shares how his experience at Picademy helped him successfully combine his skills as a teacher with an entrepreneurial drive.

Marcos Navas — Hands-On Coding

At Picademy North America

The day before my flight to San Jose Airport to the Computer History Museum in Mountain View, I was busy in my garage makerspace. It’s strange when and how inspiration strikes, but it did — at 1am while I was preparing for Picademy. While looking at the Raspberry Pi and all the coding languages, I began thinking, “Wouldn’t it be cool if I could hold the code in my hands and manipulate it?” So I began tinkering with the 3D printer and created a repeat block — and that’s how the story of Hands-On Coding begins.

A girl playing with hands-on coding blocks at a desk

The following day, I was part of the first cohort of Raspberry Pi Certified Educators (RCEs) in America. I walked into a room full of innovative and creative teachers from all over the country. Over the next two days, we were introduced to the world of Raspberry Pi and the coding basics we needed to create our first project. It was here that I understood the power of coding and how it is the language of the future. I truly believed then — and now! — how impactful coding could be if integrated into schools.

With so many talented people in attendance, I decided to share my 3D-printed coding blocks. After receiving many “oohs” and “aahs” from my peers along with several order requests, I realized that my idea could turn into something much bigger!

Marcos Navas selfie — Hands-On Coding

FAIL: First Attempt In Learning

One of the major takeaways from Picademy was Carrie Anne Philbin’s intro slide titled “FAIL: First Attempt In Learning.” But, for me, the word ‘fail’ turned into ‘fear’: being new to coding and the Raspberry Pi was daunting. Through persistence, though, I embraced growth, and worked my way out of those fears; I began to gain more confidence, which led to new ideas and experiences. And I learned that changing my perspective on failure was the key to embracing it. Some time after Picademy, this same message was repeated to me by Reshma Suajani, founder and CEO of Girls Who Code, who saw my coding blocks and said: “Don’t let the fear of failure get in your way.” So I let failure drive me instead.

kids playing with hands-on coding blocks

Hands-On Coding blocks

After Picademy, I met with Sam Patterson, another amazing RCE, at his local makerspace. During our conversation, I handed him one of my first coding block prototypes and asked for his thoughts. His words got me thinking about kinesthetic coding and the physical movements of acting out code to build understanding.

Two years later, in July 2018, after developing partnerships, distribution channels, and a fantastic shipping department (me), we delivered our first Hands-On Coding blocks! Hands-On Coding now consists of me and my partners Laura Fleming and Joann Presby, and our goal is to revolutionize coding by making it a more physical and tangible educational idea open to various types of learners. We hope to teach the fundamentals of computational thinking and computer science through the use of blocks and the absence of any technological device; you don’t need to learn coding in front of a screen. Our endgame is to help humanity learn to design solutions to problems in our world.

Kids playing with hands-on coding blocks

After Picademy

My experience at Picademy was just the start of my journey. I not only gained an understanding of the importance of coding in education and the versatility of the Raspberry Pi computer, but also grew out my shell and gained the confidence I needed to put ideas into actions. I became a TED Innovative Educator and an IDEO Teachers Guild Fellow, I launched Hands-on Coding, and I created numerous relationships and ambassadorships with an array of edtech companies. I understood that just because I am an educator or teacher that doesn’t mean I can’t follow my own dreams and aspirations and be a teacherpreneur! I do not have any secrets or magic to this process. Rather, a dream, action, and hard work can lead you to many worlds of possibilities.

Picademy and online training

Keep up to date with Picademy, including the release of 2019 dates, by following the #Picademy hashtag on Twitter. You’ll also find more information on our Picademy page.

Our free online training courses offer another way to learn about introducing coding into the classroom, and much more. And you can discover more stories and support from educators like Marcos in Hello World, the computing and digital making magazine for educators, which is available for free.

The post From inspiration to innovation: Hands-On Coding blocks appeared first on Raspberry Pi.

Can’t Drive This, the 4D arcade machine

Post Syndicated from Rob Zwetsloot original https://www.raspberrypi.org/blog/4d-arcade-machine/

A Raspberry Pi–powered arcade display with hidden interactive controls won over the crowds at Gamescom. Rosie Hattersley and Rob Zwetsloot got the inside scoop.

Pixel Maniacs is a Nuremberg-based games maker that started out making mobile apps. These days it specialises in games for PC, Xbox One, PlayStation, and Nintendo Switch. You Can’t Drive is its first foray into gaming with a Raspberry Pi.

If you’re going to add a little something extra to wow the crowd at the Gamescom video games trade fair, a Raspberry Pi is a surefire way of getting you noticed. And that’s the way Pixel Maniacs went about it.

The Nuremberg-based games developer retrofitted an arcade machine with a Raspberry Pi to showcase its intentionally silly Can’t Drive This precarious driving game at Gamescom.

This two-player co-operative game involves one player building the track while the other drives along it.

Complete with wrecking balls, explosions, an inconvenient number of walls, and the jeopardy of having to construct your road as you negotiate your way, at speed, across an ocean to the relative safety of the next lump of land, Can’t Drive This is a fast‑paced racing game.

Splash action

Pixel Maniacs then took things up a notch by providing interactive elements, building a mock 4D arcade game (so-named because they feature interactive elements such as motion cabinets). The fourth dimension, in this case, saw the inclusion of a water spray, fan, and console lights. For its Gamescom debut, Pixel Maniacs presented Can’t Drive This in a retro arcade cabinet, where hordes of gaming fans gathered round its four-way split screen to enjoy the action.

Getting to the heart of the matter and replacing the original 1980s kit with modern-day processors and Pi-powered additions

Adding Raspberry Pi gaming to the mix was about aiding the game development process as much as anything. Andy Holtz, Pixel Maniacs’ software engineer, told The MagPi that the team wanted an LED matrix with 256 RGB LEDs to render sprite-sheet animations. “We knew we needed a powerful machine with enough RAM, and a huge community, to get the scripts running.”

Pixel Maniacs’ offices have several Raspberry Pi–controlled monitors and a soundboard, so the team knew the Pi’s potential.

The schematic for the 4D arcade machine, showing the importance of the Raspberry Pi as a controller.

The arcade version of the game runs off a gaming laptop cunningly hidden within the walls of the cabinet, while the Raspberry Pi delivers the game’s surprise elements such as an unexpected blast from a water spray. A fan can be triggered to simulate stormy weather, and lights start flashing crazily when the cars crash. Holtz explains that the laptop “constantly sends information about the game’s state to the Raspberry Pi, via a USB UART controller. The Pi reads these state messages, converts them, and sends according commands to the fans, water nozzle, camera, and the LED light matrix. So when players drive through water, the PC sends the info to the Pi, and [the latter] turns on the nozzle, spraying them.”

Having played your heart out, you get a photo-booth-style shot of you in full-on gaming action.

The arcade idea came about when Pixel Maniacs visited the offices of German gaming magazine M! Games and spied an abandoned, out-of-order 1980s arcade machine lurking unloved in a corner. Pixel Maniacs set about rejuvenating it, Da Doo Ron Ron soundtrack and all.

Sustained action

Ideas are one thing; standing up to the rigours of a full weekend’s uninterrupted gameplay at the world’s biggest games meet is something else. Holtz tells us, “The Raspberry Pi performed like a beast throughout the entire time. Gamescom was open from 9am till 8pm, so it had to run for eleven hours straight, without overheating or crashing. Fortunately, it did. None of the peripherals connected to the Pi had any problems, and we did not have a single crash.”

A Raspberry Pi 3B+ was used to trigger the water spray, lights, and fans, bringing an extra element to the gameplay, as well as rendering the arcade machine’s graphics.

Fans were enthusiastic too, with uniformly positive feedback, and one Gamescom attendee attempting to buy the arcade version there and then. As Andy Holtz says, though, you don’t sell your baby. Instead, Pixel Maniacs is demoing it at games conventions in Germany this autumn, before launching Can’t Drive This across gaming platforms at the end of the year.

This article was printed in The MagPi issue 75. Get your copy of The MagPi in stores now, or download it as a free PDF here.

The post Can’t Drive This, the 4D arcade machine appeared first on Raspberry Pi.

Build your own robotic cat: Petoi returns

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/robotic-cat-petoi-nybble/

Who wouldn’t want a robot kitten? Exactly — we knew you’d understand! And so does the Petoi team, hence their new crowdfunding campaign for Petoi Nybble.

Petoi Nybble

Main campaign video. Back our Indiegogo campaign to adopt Nybble the robo kitten! Share with your friends who may love it! Indiegogo: https://igg.me/at/nybble A more technical post: https://www.hackster.io/RzLi/petoi-nybble-944867 Don’t forget to follow Twitter @PetoiCamp and subscribe to Petoi.com for our newsletters! Most importantly, enjoy our new kitten!

Petoi mark 2

Earlier this year, we shared the robotic cat project Petoi by Rongzhong Li. You all loved it as much as we did, and eagerly requested more information on making one.

Petoi Raspberry Pi Robot Cat

Rongzhong’s goal always was for Petoi to be open-source, so that it can be a teaching aid as much as it is a pet. And with his team’s crowdfunding campaign, he has made building your own robot cat even easier.

Petoi the laser-cut robotic cat

Laser kitty

In the new Nybble version of Petoi, the team replaced 3D-printed parts with laser-cut wood, and cut down the parts list to be more manageable: a Raspberry Pi 3B+, a Sparkfun Arduino Pro Mini, and the Nybble kit, available in the Nybble IndieGoGo campaign.

Petoi the laser-cut robotic cat

The Nybble kit! “The wooden frame is a retro design in honor of its popstick-framed ancestor. I also borrowed the wisdom from traditional Chinese woodwork (in honor of my ancestors), to make the major frame screw-free.”

But Nybble is more than just wooden parts and servo motors! The robotic cat’s artificial intelligence lets users teach it as well as control it,  so every kitty will be unique.

Nybble’s motion is driven by an Arduino-compatible micro-controller. It stores instinctive “muscle memory” to move around. An optional AI chip, such as a Raspberry Pi, can be mounted on top of Nybble’s back, to help Nybble with perception and decision. You can program in your favorite language, and direct Nybble to walk around simply by sending short commands, such as “walk” or “turn left”!

The NyBoard

For this version, the Petoi team has created he NyBoard, an all-in-one controller board for the Raspberry Pi. It’s available to back for $45 if you don’t want to pledge $200 for the entire cat kit.

Petoi the laser-cut robotic cat

Learn more

If you’d like to learn more about Nybble, visit its IndieGoGo campaign page, find more technical details on its Hackster.io project page, or check out the OpenCat GitHub repo.

Petoi the laser-cut robotic cat

And if you’ve built your own robotic pet, such as a K-9–inspired dog, or Raspberry Pi–connected android sheep, let us know!

The post Build your own robotic cat: Petoi returns appeared first on Raspberry Pi.

Argon ONE: a super case for your Raspberry Pi

Post Syndicated from Helen Lynn original https://www.raspberrypi.org/blog/argon-one-raspberry-pi-case/

The friendly people at Argon40, one of our Approved Resellers in Hong Kong, have an already-successful Kickstarter on the go for their Argon ONE Raspberry Pi case. I’ve got one of them on my desk at the moment. It’s a very pleasing object. “That’s quite nice,” enthuses Gordon, who isn’t very good at enthusing.

The Argon ONE: look at the shiny!

The Argon ONE is a nifty little aluminium-alloy case that offers well thought-through cable, power, and temperature management. We chatted to Joseph from Argon40 about the team’s development process, and he explained:

When we started the project, we initially designed the product to suit our needs based on our experiences of playing around with the Raspberry Pi. We wanted a case that is nice to look and at the same time has all the basic features that we loved about the Raspberry Pi: small footprint, access to GPIO, low power consumption. Then we looked into the nice-to-have stuff like good heat dissipation for better performance, a proper shut-down, and a form factor that is elegant but not extravagant.

Clicky magnets

What I find particularly satisfying about the Argon ONE is its GPIO access. It has a neat recess with clear pin labels and access to an inbuilt, colour-coded header that connects to your Pi’s GPIO pins. When you’re not using the pins, you probably want to keep them away from dust, spilled coffee, and the gross candy-corn M&Ms that Alex sometimes throws at you for literally no reason. The Argon ONE helps you out here: a cover fits perfectly over the GPIO recess, held in place by magnets that are just exactly strong enough for the job. Being a fidgeter, I find that this lends itself to compulsive clicking.

*click* *click* *click*

Injection moulding

We like the build quality here, especially at this price point (it’s HK$157, US$20, or GB£15, and early-bird pledges are cheaper). The Argon40 team was keen to use alumnium for the upper part of the case, for robustness and durability along with good looks; that proved a challenge, given that they wanted to keep the case affordable. “Fortunately, we found a factory that allowed us to do aluminum-alloy injection instead of going for the CNC option,” says Joseph.

“Have you tried turning if off and on again?”

The Raspberry Pi doesn’t have a power button, and we hear a lot from people who’d like it to. Happily, our community has come up with lots of ways to add one: this case, for example. Once you install Argon40’s shutdown script in Raspbian, pressing the case’s power button will run the script to shut the Pi down cleanly, then cut the power.

Find out more on Kickstarter — this campaign is well worth a look if you’re after a decent case. Back to Joseph for the last word, with which we heartily agree:

At the end of the day, our goal is for people to have their Raspberry Pis on top of their work desks, study tables, and workstations and in their living rooms, instead of keeping their barebones Pi tucked inside a drawer. Because as the saying goes, “Out of sight, out of mind,” which means that if they don’t see their Raspberry Pi, they won’t be able to tinker around with it or play with it to create projects.

The post Argon ONE: a super case for your Raspberry Pi appeared first on Raspberry Pi.

Watching VinylVideo with a Raspberry Pi A+

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

Play back video and sound on your television using your turntable and the VinylVideo converter, as demonstrated by YouTuber TechMoan.

VinylVideo – Playing video from a 45rpm record

With a VinylVideo convertor you can play video from a vinyl record played on a standard record player. Curiosity, tech-demo or art?

A brief history of VinylVideo

When demand for vinyl dipped in the early nineties, Austrian artist Gebhard Sengmüller introduced the world to his latest creation: VinylVideo. With VinylVideo you can play audio and visuals from an LP vinyl record using a standard turntable and a converter box plugged into a television set.

Gebhard Sengmüller original VinylVideo

While the project saw some interest throughout the nineties and early noughties, in the end only 20 conversion sets were ever produced.

However, when fellow YouTuber Randy Riddle (great name) got in touch with UK-based tech enthusiast TechMoan to tell him about a VinylVideo revival device becoming available, TechMoan had no choice but to invest.

Where the Pi comes in

After getting the VinylVideo converter box to work with an old Sony CRT unit, TechMoan decided to take apart the box to better understand how it works

You’ll notice a familiar logo at the top right there. Yes, it’s using a Raspberry Pi, a model A+ to be precise, to do the video decoding and output. It makes sense in a low-volume operation — use something that’s ready-made rather than getting a custom-made board done that you probably have to buy in batches of a thousand from China.

There’s very little else inside the sturdy steel casing, but what TechMoan’s investigation shows is that the Pi is connected to a custom-made phono preamp via USB and runs software written specifically for the VinylVideo conversion and playback.

Using Raspberry Pi for VinylVideo playback

For more information on the original project, visit the extremely dated VinylVideo website. And for more on the new product, you can visit the revival converter’s website.

Be sure to subscribe to TechMoan’s YouTube channel for more videos, and see how you can support him on Patreon.

And a huge thank you to David Ferguson for the heads-up! You can watch David talk about his own Raspberry Pi project, PiBakery, on our YouTube channel.

The post Watching VinylVideo with a Raspberry Pi A+ appeared first on Raspberry Pi.

You wouldn’t download a car…

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/you-wouldnt-download-car-telsa-hack/

You wouldn’t download a car…but is that just because none of us know how to? And OF COURSE none of us know how to: it’s a really hard thing to do!

Raspberry Pi Tesla

Dramatic reenactment using a Mini because, c’mon, as if I can afford a Tesla!

Nikola Tesla was in love with a pigeon 😍🐦

True story. He was also the true father of the electrical age (sorry, not sorry, Edison) and looked so much like David Bowie that here’s David Bowie playing Nikola Tesla:

David Bowie as Nicola Tesla — Raspberry Pi Tesla

Not even pigeon love

Which is the perfect segue, as here’s a Tesla playing David Bowie, and here’s also where our story truly begins…

Some people dislike Tesla (the car manufacturer, not the scientist) but we love them

But some people also dislike going to the dentist, so ¯\_(ツ)_/¯. (I also love going to the dentist.)

I’m pretty sure the reason some people have issues with Tesla is that electric cars still seem like a form of magic we’re not quite comfortable with.

Whatever people’s reason for holding a grudge against Tesla, recent findings at a university in Belgium this week have left the tech community aflutter: the academics announced that, with the aid of a “$35 computer”, they can clone your Tesla car key and steal. Your. Car.

If you haven’t guessed yet, we’re the ones behind the $35 computer. (Hi!)

Says WIRED: A team of researchers at the KU Leuven University in Belgium on Monday plan to present a paper at the Cryptographic Hardware and Embedded Systems conference in Amsterdam, revealing a technique for defeating the encryption used in the wireless key fobs of Tesla’s Model S luxury sedans. With about $600 in radio and computing equipment, they can wirelessly read signals from a nearby Tesla owner’s fob. Less than two seconds of computation yields the fob’s cryptographic key, allowing them to steal the associated car without a trace.

When I said that the tech community was all aflutter, what I meant was, on the whole, we find this hack somewhat entertaining but aren’t all that shocked by it. Not because we hate Tesla, but because these things happen. Technology is ever evolving, and that $600 worth of kit can do a thing to another thing isn’t all that unbelievable.

Sweet Cyber Jones on Twitter

The keys to my new Tesla https://t.co/jNViEZBxrB

The academics showed an example of the hack using “just” a couple of radios, a Raspberry Pi, some batteries, and your basic, off-the-shelf “pre-computed table of keys on a portable hard drive”. And through the magic of electric car IoT technology, Tesla instantly released a series of fixes to allow existing Tesla users to protect their cars against the attack, which is all kinds of cool.

Alex, why are you making such light of this?!

Because The Fast and the Furious isn’t real. And I highly doubt there’s a criminal enterprise out there that’s capable of building the same technology as well-funded university researchers.

Yes, this study from KU Leuven University is interesting. And yes, we all had a good laugh at the expense of Tesla and Elon Musk, but we don’t need academics to provide material for that. And I genuinely love Tesla and the work Elon is doing. True love.

Instead, we should be seeing this as a reminder that data encryption and online security are things we all need to take seriously in this digital world. So stop connecting your phone to whatever free WiFi network you can find, stop using PASSWORD123 for all your online accounts, and spend a little more time learning how you can better protect yourself and your family from nasty people on the internet.

And leave Britney Tesla alone!

The post You wouldn’t download a car… appeared first on Raspberry Pi.

Cabin Cloud: bump-free travel on the night bus

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/cabin-cloud-bump-free-travel-night-bus/

Planes, trains, and automobiles — we all have our preference. And at one company in California, the team is trying to smooth bus travel to broaden commuters’ options for a blissful night’s sleep.

Cabin bus Raspberry Pi Wired

Leaving on a jet plane

Not everyone wants to fly. While many enjoy the feel of take-off and landing and the high speed at which they can travel from A to B, others see planes as worrisome tin cans of doom, suspended in the air by unreliable magic. I consider myself mostly the former, with a hint of the latter for balance.

In truth, I’d rather catch a train, where the smooth ride sends me into blissful sleep, only occasionally interrupted by a snap of “Damn, did I miss my stop?!”.

But trains are limited to where their tracks lead, which is why so many people still opt to travel by bus. But who can sleep on a bus when the roads are dotted with potholes and cracks? I can’t, and neither can many of the 10000 passengers of the Cabin bus, an overnight service running between Los Angeles and San Francisco.

Cabin bus travel

To address complaints about the road conditions affecting costumers’ sleep, the Cabin team decided to challenge gravity using a Raspberry Pi and the electric motor from a hoverboard in their new venture Cabin Cloud.

Introducing the first active suspension system designed specifically with passenger sleep in mind. Combining patent-pending software and hardware, our technology mutes ‘road turbulence’ and dramatically reduces vibration, so you can get a good night’s sleep while on a moving vehicle.

“We can isolate a passenger’s body, and input frequencies that help people relax and fall asleep,” explains Cabin CTO Tom Currier. “We have a set of sensors that are measuring the acceleration of the vehicle, and also the bed, to compute in real time what we should be cancelling out.”

Cabin bus Raspberry Pi Wired

The sensors are accelerometers, two per bed, that measure the bumps from the road and adjust the bed accordingly — up to 1000 times a second. The Cabin Cloud beds only adjust for motion up and down: the team isn’t too concerned about back-and-forth movements due to breaking too hard or turning corners, since Cabin busses predominantly travel on wide, open highways.

Delve a little deeper

Check out this article from Wired for more about the project, and about how similar tech is implemented in trucks for long-haul drivers, and in aeroplanes for turbulence-free travel. You can also sign up for the Cabin Cloud newsletter here.

But the big question about Cabin Cloud is…

Does it have Bluetooth?

The post Cabin Cloud: bump-free travel on the night bus appeared first on Raspberry Pi.

Build a Raspberry Pi pocket projector…how awesome is that?!

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

YouTuber MickMake has been working hard on producing a Raspberry Pi pocket projector with the Raspberry Pi Zero W. We’re excited. We know you’re excited. So enough of us talking, here’s Mick with more!

#210 Build a Pi Zero W pocket projector! // Project

2 for 10 PCBs (48 hour quick turn around): https://jlcpcb.com/?ref=mickmake Make a pocket projector based on the DLP2000EVM and Raspberry Pi Zero W! Nice!

Sharing is caring

YouTuber Novaspirit Tech released a new video yesterday, reviewing MickMake’s Raspberry Pi Zero W pocket projector, and the longer the video ran on, the more we found ourselves wanting our own!

Thank you, Novaspirit Tech, for reminding us to subscribe to MickMake. And thank you, MickMake, for this awesome project!

The Pi Zero W pocket projector of your dreams

In his project video, Mick goes into great detail about the tech required for the project, along with information on the PCB he’s created to make it simpler and easier for other makers to build their own version.

raspberry pi pocket pi projector mickmakes

The overall build consists of the $10 Raspberry Pi Zero W, a DLP2000 board, and MickMake’s homemade $4 PCB, which allows you to press-fit the projector together into a very tidy unit with the same footprint as a Raspberry Pi 3B+ — perfectly pocket-sized.

Specs and things

While the projected images obviously aren’t as clear as those of high-end projectors, MickMake’s projector is definitely good enough to replace a cheap desktop display, or to help you show off your projects on the go at events such as Raspberry JamsCoolest Projects, and Maker Faire. And due to its low power consumption, the entire unit can run off the kind of rechargeable battery pack you may already be carrying around for your mobile phone. Nice!

In his review video, NovaSpirit Tech goes through more of the projector’s playback and spec details, and also does a series of clarity tests in various lights. So why read about it when you can watch it? Here you go:

Pi Projector by MickMake | The Raspberry Pi Zero Pocket Projector

this is a small footprint low power consumption raspberry pi zero powered projector using DLP2000 by mickmake ○○○ LINKS ○○○ MickMake PiProjector Video ► https://www.youtube.com/watch?v=XFciR-U7yhc MickMake Channel ► https://youtube.com/mickmake DLP2000 digikey ► https://www.digikey.com/product-detail/en/texas-instruments/DLPDLCR2000EVM/296-47119-ND/7598640 raspberry pi zero ► https://amzn.to/2Q8h1Hz ○○○ SHOP ○○○ Novaspirit Shop ► https://goo.gl/gptPNf Amazon Store ► http://amzn.to/2AYs3dI ○○○ SUPPORT ○○○ patreon ► https://goo.gl/xpgbzB ○○○ SOCIAL ○○○ novaspirit tv ► https://goo.gl/uokXYr twitter ► https://twitter.com/novaspirittech discord chat ► https://discord.gg/v8dAnFV FB Group Novaspirit ► https://www.facebook.com/groups/novas…

Custom PCBs

We see more and more makers designing their own custom PCBs to make everyone’s life that little bit easier.

Raspberry Pi pocket pi projector mickmakes

If you’ve created a custom PCB for your Raspberry Pi project, feel free to use the comments section as free advertising space for one day only! You’re welcome.

The post Build a Raspberry Pi pocket projector…how awesome is that?! appeared first on Raspberry Pi.

PiPod: the Raspberry Pi Zero portable music player

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/pipod-pi-zero-music-player/

We’ve seen many Raspberry Pi-powered music players over the years. But rarely are they as portable (and snazzy) as the PiPod by Hackaday user Bram.

PiPod Raspberry Pi music player

Portable music

My biggest regret in life? Convinced I wouldn’t need my 160GB iPod Classic anymore thanks to Spotify, I sold it to CEX for a painfully low price. But not only was I mistaken as to how handy it would have been to hold on to, the money I made doesn’t seem to justify parting ways with such an iconic piece of technology no longer available to purchase anew.

Which is why the PiPod project from Netherlands-based Hackaday user ‘Bram’ caught my attention instantly.

The PiPod

I made this music player because I wasn’t satisfied with the current playback methods that are available. The music streaming services available started to feel like radio stations with the same music repeating, they are also depended on an online internet connection while there might be offline functionality it is still limited by the available storage on your phone.

We hear ya, Bram.

With his mind set on creating a music player of their own to overcome the limitations on offer without having to pay hundreds of Euros for high-end portable devices, Bram got to work.

The PiPod, now in its third iteration, offers users a range of functionality and can be made fairly cheaply using Bram’s custom PCB.

PiPod Raspberry Pi music player

For the display, Bram uses a 2.2″ TFT screen connected to a Raspberry Pi Zero. As can be seen above, the screen offers all the information you could ever require of your media player despite the low 320 by 240 resolution.

For music playback, the PCB also includes the PCM5102A a 24-bit I2S DAC that offers a high-quality audio output accessible via a 3.5mm jack. And for power, Bram has done his homework, incorporating a series of components to protect the device from overcurrent, thermal overload and various other power-related concerns.

PiPod Raspberry Pi music player

The music interface itself uses VLC for backend playback and PyGame at the frontend, and all information and code for the project can be found on the Hackaday project page, including the 3D-printable files for the rather snazzy casing and its fantastic dock.

PiPod Raspberry Pi music player

Such snazziness

We’re sure Bram’s PiPod isn’t the only portable music device with a Pi inside. What have we missed? Share yours with us in the comments or on social media so we may bathe in their glory and give them the attention they deserve.

 

The post PiPod: the Raspberry Pi Zero portable music player 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.

Astronaut-made virtual co-pilot

Post Syndicated from Liz Upton original https://www.raspberrypi.org/blog/virtual-co-pilot-solar-pilot-guard/

This project features several of our favourite things. Astronauts! Machine learning! High-altitude danger! Graphs! (It could only get slightly better with the addition of tap-dancing centaurs.) Read on to have your nerdliest pleasure centres tickled.

Solar Pilot Guard - wing of a plane in flight

Your interest should be focussed on the strange fin with the red tip. Although we agree the mountains look nice too.

Solar Pilot Guard, a Foale family project

Michael Foale is a former astronaut with dual British/American citizenship; and thanks to that dual citizenship was revered by British kids like me as some kind of Superman when he spent time on the Russian Mir space station back in the 1990s. It’s always great to see one of our heroes using the Raspberry Pi, but it’s doubly great when the use it’s being put to is so very, very cool.

Foale’s daughter Jenna is a PhD candidate in computational fluid dynamics, and together they have engineered a machine-learning system called Solar Pilot Guard to help prevent aircraft crashes, using the Wolfram Language on a Raspberry Pi. A solar-powered probe (that fin in the image above) detects changes in acceleration and air pressure to spot potential loss-of-control (LOC) events in flight, calculating the probability of each pressure/acceleration event representing a possible LOC event.

Solar Pilot Guard schematic cross-section

Click to embiggen

If it detects a possible LOC event, the system issues a voice command to the pilot over Bluetooth speakers, using machine learning to tell the pilot what corrective measures they should take.

Here it is in action:

Solar Pilot Guard use in-flight

An example of in-flight operation of the Solar Pilot Guard (SPG), issuing commands for correction of flight behavior that could lead to loss of control (LOC). Demonstrated commands: Push, Power – Left, Left – Right, Right Submitted to EAA AirVenture, Oshkosh 2017.

Losing control to generate training data

In order to train the network, Michael Foale had to feed the machine data about what LOCs and normal flight look like — which meant flying the kit in ways which would make the plane lose control, not just once, but over and over, until the neural net had the data it needed to differentiate different sorts of LOC events. Told you he was a superhero.

A stack of different machine learning functions at different levels of abstraction are working together here. This is a training set from one of the (presumably terrifying) training flights:

Solar Pilot Guard training set

The Pi processes and learns from this data; if you’re interested in a very deep dive into the way this all works, and how you can build your own neural networks using the Wolfram Language, there’s a very comprehensive treatment over at the Wolfram blog.

We love seeing projects like this that recognise just how robust and powerful a little Raspberry Pi can be. Jenna and Michael: thank you for sharing what you’ve been working on here. It’s one of the coolest and most audacious projects we’ve seen in a long time.

The post Astronaut-made virtual co-pilot appeared first on Raspberry Pi.

The affordable Raspberry Pi night vision goggles of your dreams

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/raspberry-pi-zero-night-vision-goggles/

I just searched online for night vision goggles, and the prices seem to vary between £600 and £27000. That’s a little bit higher than my budget of ‘as cheap as humanly possible’, but lucky for me (and you!), Redditor Mtnbikerdunn has created a set of Raspberry Pi Zero–powered night vision goggles that come in at around $100. Nice. Finally my Silence of the Lambs cosplay is complete!

Silence of the Lambs night vision GIF

Dreamspiration

“They came to be in a dream.” begins Redditor mtnbikerdunn in his r/raspberrry_pi post. “I woke up to my idea whiteboard full of notes and diagrams drawn by a half-asleep version of myself”

night vision goggles raspberry pi zero

A view through the night vision goggles

A Raspberry Pi Zero and…

mtnbikerdunn goes on to explain how the few pieces of tech required to build the goggles came in at less than $100/£78. The results are impressive!

It’s basically a first-person viewdrone headset with a Raspberry Pi Zero mounted within, some infrared LED lights, an infrared camera, and a few 18650 Lithium-ion batteries to power it all. Charges with a standard micro USB cable and doesn’t require anything to get it running except an on/off switch.

The headset in this project is the Yuneec SkyView FPV HDMI, used by drone pilots to gain a first-person view while flying. And since the headset has HDMI connectivity, mtnbikerdunn was able to hook it up directly to the Pi Zero. The camera is a third-party Raspberry Pi fisheye camera, while the rest of the tech consists of the standard gubbins any maker should have lying around, such as a micro SD card, a $5 Raspberry Pi Zero, and a button.

night vision goggles Raspberry Pi Zero

The power pack contains two 18650 Lithium-ion batteries, providing the goggles with roughly three hours of runtime. To make the charge last longer, mtnbikerdunn stripped down Raspbian Stretch Lite, removing any unnecessary programs that could run in the background and eat up juice.

night vision goggles Raspberry Pi Zero

Dream big

All that’s left is for me to sit and hope that mtnbikerdunn has a dream about how to make a working TARDIS using a Pi Zero, and then I’ll be the talk of the town at next year’s London Film and Comic Con!

The post The affordable Raspberry Pi night vision goggles of your dreams appeared first on Raspberry Pi.