Tag Archives: Your Projects

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.

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.

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.

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.

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.

Build a social media follower counter

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/build-social-media-follower-counter/

In this tutorial from HackSpace magazine issue 9, Paul Freeman-Powell shows you how to keep track of your social media followers, and encourage subscribers, by building a live follower counter. Get your copy of HackSpace magazine in stores now, or download it as a free PDF here.

Issues 10 of HackSpace magazine is available online and in stores from tomorrow!

The finished build with all components connected, working, and installed in the frame ready for hanging on the wall

If you run a local business like an electronics shop or a café, or if you just want to grow your online following and influence, this project is a fun way to help you keep track of your progress. A counter could also help contribute to growing your following if you hang it on the wall and actively ask your customers to like/follow you to see the numbers go up!

You’ve probably seen those social media follower counters that feature mechanical splitflap displays. In this project we’ll build a counter powered by RGB LEDs that scrolls through four social profiles, using APIs to pull the number of followers for each account. I’m using YouTube, Twitter, Facebook, and Instagram; you can, of course, tailor the project to your needs.

This project involves a bit of electronics, a bit of software coding, and a bit of woodwork, as well as some fairly advanced display work as we transfer a small portion of the Raspberry Pi’s HDMI output onto the LED matrices.

Let’s get social

First, you need to get your Raspberry Pi all set up and talking to the social networks that you’re going to display. Usually, it’s advisable to install Raspbian without any graphical user interface (GUI) for most electronics projects, but in this case you’ll be actively using that GUI, so make sure you start with a fresh and up-to-date installation of full-fat Raspbian.

phpMyAdmin gives you an easy web interface to allow you to access and edit the device’s settings – for example, speed and direction of scrolling, API credentials, and the social network accounts to monitor

You start by turning your humble little Raspberry Pi into your very own mini web server, which will gather your credentials, talk to the social networks, and display the follower counts. To do this, you need to install a LAMP (Linux, Apache, MySQL, PHP) stack. Start by installing the Apache web server by opening a Terminal and typing:

sudo apt-get install apache2 -y

Then, open the web browser on your Pi and type http://localhost — you will see a default page telling you that Apache is working. The page on our little ‘website’ will use code written in the PHP language, so install that by returning to your Terminal and typing:

sudo apt-get install php -y

Once that’s complete, restart Apache:

sudo service apache2 restart

Next, you’ll install the database to store your credentials, settings, and the handles of the social accounts to track. This is done with the following command in your Terminal:

sudo apt-get install mysql-server php-mysql -y

To set a root password for your database, type the following command and follow the on-screen instructions:

sudo mysql_secure_installation

Restart Apache again. Then, for easier management of the database, I recommend installing phpMyAdmin:

sudo apt-get install phpMyAdmin -y

At this point, it’s a good idea to connect your Pi to a WiFi network, unless you’re going to be running a network cable to it. Either way, it’s useful to have SSH enabled and to know its IP address so we can access it remotely. Type the following to access Pi settings and enable SSH:

sudo raspi-config

To determine your Pi’s IP address (which will likely be something like 192.168.0.xxx), type either of the following two commands:

ifconfig # this gives you lots of extra info
hostname -I # this gives you less info, but all we need in this case

Now that SSH is enabled and you know the LAN IP address of the Pi, you can use PuTTY to connect to it from another computer for the rest of your work. The keyboard, mouse, and monitor can now be unplugged from the Raspberry Pi.

Social media monitor

To set up the database, type http://XXX/ phpmyadmin (where XXX is your Pi’s IP address) and log in as root with the password you set previously. Head to the User Accounts section and create a new user called socialCounter.

You can now download the first bit of code for this project by running this in your Terminal window:

cd /var/www/html

sudo apt-get update

sudo apt-get install git -y

sudo git clone https://github.com/paulfp/social- media-counter.git

Next, open up the db.php script and edit it to include the password you set when creating the socialCounter user:

cd ./social-media-counter

sudo nano db.php

The database, including tables and settings, is contained in the socialCounter.sql file; this can be imported either via the Terminal or via phpMyAdmin, then open up the credentials table. To retrieve the subscriber count, YouTube requires a Google API key, so go to console.cloud.google.com and create a new Project (call it anything you like). From the left-hand menu, select ‘APIs & Services’, followed by ‘Library’ and search for the YouTube Data API and enable it. Then go to the ‘Credentials’ tab and create an API key that you can then paste into the ‘googleApiKey’ database field.

Facebook requires you to create an app at developers.facebook.com, after which you can paste the details into the facebookAppId and facebookSecret fields. Unfortunately, due to recent scandals surrounding clandestine misuse of personal data on Facebook, you’ll need to submit your app for review and approval before it will work.

The ‘social_accounts’ table is where you enter the user names for the social networks you want to monitor, so replace those with your own and then open a new tab and navigate to http://XXX/socialmedia-counter. You should now see a black page with a tiny carousel showing the social media icons plus follower counts next to each one. The reason it’s so small is because it’s a 64×16 pixel portion of the screen that we’ll be displaying on our 64×16 LED boards.

GPIO pins to LED display

Now that you have your social network follower counts being grabbed and displayed, it’s time to get that to display on our screens. The first step is to wire them up with the DuPont jumper cables from the Raspberry Pi’s GPIO pins to the connection on the first board. This is quite fiddly, but there’s an excellent guide and diagram on GitHub within Henner Zeller’s library that we’ll be using later, so head to hsmag.cc/PLyRcK and refer to wiring.md.

The Raspberry Pi connects to the RGB LED screens with 14 jumper cables, and the screens are daisy-chained together with a ribbon cable

The second screen is daisy-chained to the first one with the ribbon cable, and the power connector that comes with the screens will plug into both panels. Once you’re done, your setup should look just like the picture on this page.

To display the Pi’s HDMI output on the LED screens, install Adafruit’s rpi-fb-matrix library (which in turn uses Henner Zeller’s library to address the panels) by typing the following commands:

sudo apt-get install -y build-essential libconfig++-dev

cd ~

git clone --recursive https://github.com/ adafruit/rpi-fb-matrix.git

cd rpi-fb-matrix

Next, you must define your wiring as regular. Type the following to edit the Makefile:

nano Makefile

Look for the HARDWARE_DESC= property and ensure the line looks like this: export HARDWARE_DESC=regular before saving and exiting nano. You’re now ready to compile the code, so type this and then sit back and watch the output:

make clean all

Once that’s done, there are a few more settings to change in the matrix configuration file, so open that up:

nano matrix.cfg

You need to make several changes in here, depending on your setup:

  • Change display_width to 64 and display_height to 16
  • Set panel_width to 32 and panel_height to 16
  • Set chain_length to 2
  • Set parallel_count to 1

The panel array should look like this:

panels = ( 
  ( { order = 1; rotate = 0; }, { order = 0; rotate = 0; } )
)

Uncomment the crop_origin = (0, 0) line to tell the tool that we don’t want to squish the entire display onto our screens, just an equivalent portion starting right in the top left of the display. Press CTRL+X, then Y, then ENTER to save and exit.

It ain’t pretty…but it’s out of sight. The Raspberry Pi plus the power supply for the screens fit nice and neatly behind the screens. I left each end open to allow airflow

Finally, before you can test the output, there are some other important settings you need to change first, so open up the Raspberry Pi’s boot configuration as follows:

sudo nano /boot/config.txt

First, disable the on-board sound (as it uses hardware that the screens rely on) by looking for the line that says dtparam=audio=on and changing it to off. Also, uncomment the line that says hdmi_force_hotplug=1, to ensure that an HDMI signal is still generated even with no HDMI monitor plugged in. Save and then reboot your Raspberry Pi.

Now run the program using the config you just set:

cd ~/rpi-fb-matrix

sudo ./rpi-fb-matrix matrix.cfg

You should now see the top 64×16 pixels of your Pi’s display represented on your RGB LED panels! This probably consists of the Raspberry Pi icon and the rest of the top portion of the display bar.

No screensaver!

At this point it’s important to ensure that there’s no screensaver or screen blanking enabled on the Pi, as you want this to display all the time. To disable screen blanking, first install the xscreensaver tool:

sudo apt-get install xscreensaver

That will add a screensaver option to the Pi’s GUI menus, allowing you to disable it completely. Finally, you need to tell the Raspberry Pi to do two things each time it loads:

  • Run the rpi-fb-matrix program (like we did manually just now)
  • Open the web browser in fullscreen (‘kiosk’ mode), pointed to the Social Counter web page

To do so, edit the Pi’s autostart configuration file:

sudo nano ~/.config/lxsession/LXDE-pi/autostart

Insert the following two lines at the end:

@sudo /home/pi/rpi-fb-matrix/rpi-fb-matrix /home/ pi/rpi-fb-matrix/matrix.cfg\

@chromium-browser --kiosk http://localhost/ social-media-counter

Et voilà!

Disconnect any keyboard, monitor, or mouse from the Pi and reboot it one more time. Once it’s started up again, you should have a fully working display cycling through each enabled social network, showing up-to-date follower counts for each.

It’s now time to make a surround to hold all the components together and allow you to wall-mount your display. The styling you go for is up to you — you could even go all out and design and 3D print a custom package.

The finished product, in pride of place on the wall of our office. Now I just need some more subscribers…!

For my surround, I went for the more rustic and homemade look, and used some spare bits of wood from an internal door frame lining. This worked really well due to the pre-cut recess. With a plywood back, you can screw everything together so that the wood holds the screens tightly enough to not require any extra fitting or gluing, making for easier future maintenance. To improve the look and readability of the display (as well as soften the light and reduce the brightness), you can use a reflective diffuser from an old broken LED TV if you can lay your hands on one from eBay or a TV repair shop, or just any other bit of translucent material. I found that two layers stapled on worked and looked great. Add some hooks to the back and — Bob’s your uncle — a finished, wall-mounted display!

Phew — that was quite an advanced build, but you now have a sophisticated display that can be used for any number of things and should delight your customers whilst helping to build your social following as well. Don’t forget to tweet us a picture of yours!

The post Build a social media follower counter 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.

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 Android Things flower that smiles with you

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/android-things-expression-flower/

Smile, and the world smiles with you — or, in this case, a laser-cut flower running Android Things on a Raspberry Pi does.

Android Things flower Raspberry Pi Smile recognition Expression Flower

Expression Flower

The aim of the Expression Flower is to “challenge the perception of what robotics can be while exploring the possibility for a whimsical experience that is engaging, natural, and fun.”

Tl;dr: cute interactive flower. No Skynet.

Android Things

The flower is powered by Google’s IoT platform Android Things, running on a Raspberry Pi, and it has a camera mounted in the centre. It identifies facial expressions using the ML Kit machine learning package, also from Google. The software categorises expressions, and responds with a specific action: smile at the flower, and it will open up its petals with a colourful light show; wink at it, and its petals will close up bashfully.

Android Things flower Raspberry Pi Smile recognition Expression Flower

The build is made of laser-cut and 3D-printed parts, alongside off-the-shelf components. The entire build protocol, including video, parts, and code, is available on hackster.io, so all makers can give Expression Flower a go.

Android Things flower Raspberry Pi Smile recognition Expression Flower

Seriously, this may be the easiest-to-follow tutorial we’ve ever seen. So many videos. So much helpful information. It’s pure perfection!

Machine learning and Android Things

For more Raspberry Pi–based machine learning projects, see:

Adrian Rosebeck deep learning pokemon pokedex
Raspberry Pi Santa/Not Santa detector

And for more Android Things projects, we highly recommend:

Demonstation of Joe Birch's BrailleBox
Android Things Candy Dispenser Raspberry Pi
Lantern Raspberry Pi powered augmented reality projector lamp

Aaaand, for getting started with all things Android on your Raspberry Pi, check out issue 71 of The MagPi!

The post The Android Things flower that smiles with you 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.

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.

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.

A list of Raspberry Pi books for #BookLoversDay

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

While yesterday’s blog post covered YouTubers who create video tutorials about using the Raspberry Pi, today we want to focus on a more traditional medium in honour of #BookLoversDay.

Raspberry Pi books

Since we launched the Raspberry Pi back in 2012, staff and community members alike have been writing guides and projects books about our little green board, with some releasing them as free PDFs and others donating a portions of the revenue to the Raspberry Pi Foundation.

Here are a few of our favourite books, written by our colleagues and you, our glorious community.

Getting started

For beginners just entering the world of Raspberry Pi, there is no end of ‘Getting started’ resources available online. For those of you who want a physical reference work, or who plan on giving a Raspberry Pi as a gift, here are some of the best beginners’ guides available:

Raspberry Pi for Dummies - Raspberry Pi booksAlmost all of us will have at least one for Dummies book lying around at home. Easy to read and full of information, the series is a go-to for many. The third edition of the Raspberry Pi for Dummies book came out in late 2017, and you can read the first two chapters on co-author Sean McManus’s website.

The Raspberry Pi User GuideRaspberry Pi User Guide - Raspberry Pi books was co-written by Eben Upton, creator of the Raspberry Pi and co-founder of the Raspberry Pi Foundation. So it’s fair to say that the information in this guide comes directly from the horse’s mouth…so to speak. You can read an excerpt of the book on the publisher’s website.

Adventures in Raspberry Pi - Raspberry Pi booksFor younger users, Carrie Anne Philbin’s Adventures in Raspberry Pi is both an introduction guide and project book, taking young beginners from the basics of setting up and using their Raspberry Pi through to trying out coding and digital making projects. Now in its third edition, the book is available in both paperback and e-book format.

 

You may also like:

Projects

If you’re looking for some projects to try out, whether they be Scratch or Python, screen-based or physical, the following books will help you get making:

Simon Monk Raspberry Pi Cookbook - Raspberry Pi booksSimon Monk has been writing tutorials and producing Raspberry Pi kits for both beginners and advanced makers. With his Raspberry Pi Cookbook, Simon has written over 200 ‘practical recipes’ for you to try with your Raspberry Pi.

Raspberry Pi Electronics Projects for the Evil Genius - Raspberry Pi booksForget James Bond. If you’d rather be working for the dark side, try Donald Norris’ Raspberry Pi Electronics Projects for the Evil Genius* and build everything you need to take over the world.

*Swivel chair and fluffy white cat not included.

Creative Projects with Raspberry Pi - Raspberry Pi booksMore inspirational rather than instructive, Creative Projects with Raspberry Pi by Kirsten Kearney and Will Freeman is a gorgeous coffee table book of Raspberry Pi projects from across the globe. From small gadgets to art installations and robots to weather stations, if this book doesn’t get your creative juices flowing, nothing will.

 

 

You may also like:

Computer science

Computer science is more than just writing code and lighting LEDs. If you’d like to learn more about the history and science behind STEM, these books are marvelous resources for the inquisitive mind:

The Pragmatic Programmer - Raspberry Pi booksThose wishing to go deeper into learning programming should check out The Pragmatic Programmer: From Journeyman to Master by Andy Hunt and Dave Thomas. Some consider it the classic go-to for novice programmers, with many veterans returning to it when they need a reminder of best practices in the field.

Jacquard's Web - Raspberry Pi booksHistory buffs may want to look into Jacquard’s Web: How a Hand-Loom Led to the Birth of the Information Age by James Essinger. This book explores the development of technology, from the invention of the handloom by Joseph-Marie Jacquard in Napoleonic France to technological advancements of the digital age.

 

The Thrilling Adventures of Lovelace and Babbage - Raspberry Pi booksWith its lighthearted fun mixed with historical events, the Eisner Award–nominated The Thrilling Adventures Of Lovelace And Babbage by Sydney Padua is a Pi Towers favourite, and should be the staple of every STEM enthusiast’s book collection. In fact, we’re sure that even those with no interest in the field will find this collection of stories entertaining. So there’s really no reason not to try it.

 

 

You may also like:

Magazines

If you’re looking for a periodical or two, may we suggest:

 - Raspberry Pi booksThe MagPi, the official Raspberry Pi magazine. Available in both hardcopy and free digital PDF every month, The MagPi covers community projects and tutorials as well as Raspberry Pi–related add-on tech. You may also be interested in the MagPi Essentials Guides, written by community members to help you advance in various areas of Raspberry Pi creativity.

The front cover of Hello World Issue 3 - Raspberry Pi booksHello World, the magazine for educators, is released termly and includes articles and advice from STEM educators across the globe. UK-based educators can get Hello World delivered free to their door, and everyone can download the free PDFs from the Hello World website.

 - Raspberry Pi booksHackSpace magazine covers more than just the Raspberry Pi. Consider it the maker magazine, covering a wide variety of different topics, skills, and techniques. An interesting monthly read that your eager hobbyist mind will love…but your wallet and free space/time, not so much. It’s out in both hardcopy and as a free PDF each month.

 

You may also like:

  • AQUILA — while not specifically STEM-related, AQUILA will keep young minds engaged and inquisitive
  • WIRED — WIRED offers a broad taste of emerging technologies and more
  • The Beano — OK, so it’s not STEM, but c’mon, the Beano is awesome!

Add to the list

If you have a favourite book that we’ve left out, let us know so we can add it. Maybe you have a childhood classic that first got you into coding, or a reference guide you go back to again and again. So tell us in the comments which books we have missed!

The post A list of Raspberry Pi books for #BookLoversDay appeared first on Raspberry Pi.

10 YouTubers you should be following

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

When it comes to finding Raspberry Pi tutorials on the internet, many makers’ first port of call is YouTube. From professional content creators to part-time hobbyists, the video-sharing platform is full of makers documenting their projects for the world to see.

animated classic movie count down

Here are some of Youtube’s finest who use Raspberry Pi at the heart of many of their builds.

JenFoxBot

Jen’s channel is a collection of educational videos about computer science, explorations into the inner workings of tech, and build videos using Raspberry Pi. We’ve covered her work on the blog a few times, sharing her IoT Pet Monitor and her safety helmet, and we get excited about our subscriber notifications whenever she posts a new video.

Let’s Make a (Local) Internet Server!

What is the Internet and how does it work? Also, what the heck is a server?? Learn about all these awesome things & how you can make your very own with a Raspberry Pi computer! Hooray!

Sean Hodgins

Sean describes himself as someone who likes building, creating, and making, and his channel is brimming with examples of just how ingenious and interesting his makes are. From designing and creating his own PCBs for Kickstarter, to 3D-printing and Raspberry Pi project building, Sean’s channel has plenty to keep makers happy.

Haunted Jack in the Box – DIY Raspberry Pi Project

This project uses a raspberry pi and face detection using the pi camera to determine when someone is looking at it. Plenty of opportunities to scare people with it. You can make your own! Want to support these projects?

N-O-D-E

N-O-D-E tears Raspberry Pis to pieces and rebuilds them, turning them into mini servers, dongles, Pi slims, and more. N-O-D-E’s channel an interesting resource for those looking to modify their Pi, and it’s well documented and accessible, thanks to the supporting website.

The NODE Mini Server: A Computer For The Decentralized Age

More at N-O-D-E.net

Estefannie Explains It All

Estefannie started her video-making journey as a means to reassure herself that she knew what she was talking about. If she could successfully produce a tutorial video about algorithm analysis, this meant she had retained the information to begin with. Smart! From there, her channel has evolved into a kitchen table maker diary, with fun, entertaining tutorials on how to build using Raspberry Pi and Arduino.

ROBO SUIT | Halloween Build ft. Arduino + Raspberry Pi

I like making robots. So this Halloween I am going to be a robot. Check out the whole story and full tutorial on how to make your own Robo Suit here: https://www.hackster.io/estefanniegg/halloween-build-robosuit-c1a615 I used three Arduinos, one Raspberry Pi, servos, LEDs, and tons of wires to make this costume!

TucksProjects

With only a few videos so far, Tucker Shannon’s channel is a promising collection of rather wonderful Raspberry Pi builds. We covered his DIY CNC wood burner on the blog last year, and sat patiently waiting for more. And boy, were we happy with what came next. Check out his Raspberry Pi laser turret, and spend the rest of your day trying to figure out when you can make time to build your own.

Raspberry Pi Laser Turret (Draws on wall!) Pt1.

Glow in the dark laser pi tutorial PT. 2 https://www.youtube.com/watch?v=rg1HivG02tw STL FILES https://www.thingiverse.com/thing:2965798

Tinkernut

OMG, LOL, ROFLCOPTER, animated baby GIF, animated baby JIF — if you like YouTube and Raspberry Pi, we’d be shocked if you haven’t come across Tinkernut yet. With his well-documented projects and live comment aftershows, Tinkernut beautifully bridges the gap between his love of making and the interests of the community devouring his content.

BUILD: Coke Bottle SPY CAM! – Tinkernut Workbench

Learn how to take a regular Coke Zero bottle, cram a Raspberry Pi and webcam inside of it, and have it still look like a regular Coke Zero bottle. Why would you want to do this? To spy on those irritating April Fooligans!!!

Blitz City DIY

Looking to build a Raspberry Pi thermal camera? Need a review about Android TV OS for the Pi? Whatever your Raspberry Pi needs, Blitz City DIY will likely have you covered. With a collection of fun digital making builds using various tech; 3D-printing experiments; and reviews aplenty, Blitz City DIY is a gem amongst the maker channels of YouTube.

webOS Open Source Edition for Raspberry Pi

After reading an article in MagPi about the availability of webOS OSE for Raspberry Pi, I was curious to check it out. I think it definitely has potential and it’s always exciting when a new open source OS is available for the Pi.

engineerish

We’ve covered a few of engineerish’s projects here on the blog. He’s the king of creating projects you didn’t know you needed until you saw them, such as a Raspberry Pi binary clock, and a maze generator. While engineerish’s channel is fairly new, we’re excited to see where his builds will take him in the future.

Build a Binary Clock with Raspberry Pi – And how to tell the time

In this video I’ll be showing how I built a binary clock using a Raspberry Pi, NeoPixels and a few lines of Python. I also take a stab at explaining how the binary number system works so that we can decipher what said clock is trying to tell us.

Frederick Vandenbosch

Members of the Raspberry Pi Twitter community, you’ll recognise Frederick, who is an active contributor that often answers maker queries and takes part in the general Pi conversation. And on YouTube, his contributions are just as plentiful and rewarding.

Raspberry Pi Connected Picture Frame with Resin.io

▼ Info and links below ▼ For this project, I created a digital picture from which downloads its pictures from a shared Dropbox folder. A simple user interfaces allows the user to navigate the pictures and optionally like them. Upon liking a picture, a notification is sent via the IFTTT service.

Explaining Computers

Christopher Barnatt’s Explaining Computers channel reminds us a little of the educational videos our science teachers would record for us to play back during exam prep season. His videos are easy-to-follow explanations of various computing topics, well-presented, and with a theme tune that’ll be stuck in your head for days!

Raspberry Pi 3 B+ Overclocking

Overclocking a Raspberry Pi 3 B+ using a Noctua cooling fan to stop it throttling. Here I show how to overclock a Pi 3B+, and steadily take the CPU speed as high as it can go . . . but how far is that?!

Shameless plug…

Not to be confused with this, a shameless pug:

Raspberry Pi YouTube

The MagPi magazine

Is this cheating? Never mind. The MagPi magazine’s YouTube channel is full of reviews of the latest third-party add-ons for your Pi. 99% hosted by Rob (the guy who accosts our blog once a month to talk about the magazine), the MagPi’s channel is a must subscription for any Raspberry Pi enthusiast.

DiddyBorg Raspberry Pi robot

The DiddyBorg v2 is the latest robot from the excellent PiBorg, complete with ThunderBorg motor controller. Is it as good as it looks? Get one here: http://magpi.cc/diddyborg Subscribe today to twelve months print subscription to never miss an issue and get a Raspberry Pi Zero W with accessories.

Raspberry Pi Foundation

OK, this IS cheating, but it’s our blog post so we say it’s OK. The Raspberry Pi Foundation’s YouTube channel collects introduction videos for our free resources, live talks from events, portraits of your projects, and that one time our Director of Software Engineering decided to ride a Pi-powered motorised skateboard. Oh, and product releases like this…

A BRAND-NEW PI FOR π DAY

Raspberry Pi 3 Model B+ is now on sale now for $35.

Who did we miss?

If you run, or follow, a YouTube channel with Raspberry Pi–related content, share it with us in the comments! We’ll be watching.

The post 10 YouTubers you should be following 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.

Prepare yourself for winter with the help of squirrels

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

This article from The MagPi issue 72 explores Carsten Dannat’s Squirrel Cafe project and his mission to predict winter weather conditions based on the eating habits of local squirrels. Get your copy of The MagPi in stores now, or download it as a free PDF here.

The Squirrel Cafe on Twitter

Squirrel chowed down on 5.0 nuts for 3.16 min at 12:53:18 CEST. An #IoT project to predict how cold it’ll be next winter. #ThingSpeak

Back in 2012, Carsten Dannat was at a science summit in London, during which a lecture inspired him to come up with a way of finding correlations between nature and climate. “Some people say it’s possible to predict changes in weather by looking at the way certain animals behave,” he tells us. “Perhaps you can predict how cold it’ll be next winter by analysing the eating habits of animals? Do animals eat more to get additional fat and excess weight to be prepared for the upcoming winter?” An interesting idea, and one that Germany-based Carsten was determined to investigate further.

“On returning home, I got the sudden inspiration to measure the nut consumption of squirrels at our squirrel feeder”, he says. Four years later and his first prototype of the The Squirrel Cafe was built, incorporating a first-generation Raspberry Pi.

A tough nut to crack

A switch in the feeder’s lid is triggered every time a squirrel opens it. To give visual feedback on how often the lid has been opened, a seven-segment LED display shows the number of openings per meal break. A USB webcam is also used to capture images of the squirrels, which are tweeted automatically, along with stats on the nuts eaten and time taken. Unsurprisingly perhaps, Carsten says that the squirrels are “focussed on nuts and are not showing interest at all in the electronics!”

The Squirrel Cafe on Twitter

Squirrel chowed down on 4.5 nuts for 6.60 min at 14:23:55 CEST. An #IoT project to predict how cold it’ll be next winter. #ThingSpeak

So, how do you know how many nuts have actually been eaten by the squirrels? Carsten explains that “the number of nuts eaten per visit is calculated by counting lid openings. This part of the source code had been reworked a couple of times to get adjusted to the squirrel’s behaviour while grabbing a nut out of the feeder. Not always has a nut been taken out of the feeder, even if the lid has been opened.” Carsten makes an assumption that if the lid hasn’t been opened for at least 90 seconds, the squirrel went away. “I’m planning to improve the current design by implementing a scale to weigh the nuts themselves to get a more accurate measurement of nut consumption,” he says.

Squirrel Cafe Raspberry Pi The MagPi

Just nuts about the weather!

The big question, of course, is what does this all tell us about the weather? Well, this is a complicated area too, as Carsten illustrates: “There are a lot of factors to consider if you want to find a correlation between eating habits and the prediction of the upcoming winter weather. One of them is that I cannot differentiate between individual squirrels currently [in order to calculate overall nut consumption per squirrel].” He suggests that one way around this might be to weigh the individual squirrels in order to know exactly who is visiting the Cafe, with what he intriguingly calls “individual squirrel recognition” — a planned improvement for a future incarnation of The Squirrel Cafe. Fine-tuning of the system aside, Carsten’s forecast for the winter of 2017/18 was spot-on when he predicted, via Twitter, a very cold winter compared to the previous year. He was proven right, as Germany experienced its coldest winter since 2012. Go squirrels!

Follow The Squirrel Cafe

Track the eating habits of the squirrels through some utterly adorable photos on The Squirrel Cafe Twitter account, and learn more about the project on The Squirrel Cafe website.

The post Prepare yourself for winter with the help of squirrels 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.