Tag Archives: Hackster

Using taxies to monitor air quality in Peru

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/air-quality-peru/

When James Puderer moved to Lima, Peru, his roadside runs left a rather nasty taste in his mouth. Hit by the pollution from old diesel cars in the area, he decided to monitor the air quality in his new city using Raspberry Pis and the abundant taxies as his tech carriers.

Taxi Datalogger – Assembly

How to assemble the enclosure for my Taxi Datalogger project: https://www.hackster.io/james-puderer/distributed-air-quality-monitoring-using-taxis-69647e

Sensing air quality in Lima

Luckily for James, almost all taxies in Lima are equipped with the standard hollow vinyl roof sign seen in the video above, which makes them ideal for hacking.

Using a Raspberry Pi alongside various Adafuit tech including the BME280 Temperature/Humidity/Pressure Sensor and GPS Antenna, James created a battery-powered retrofit setup that fits snugly into the vinyl sign.

The schematic of the air quality monitor tech inside the taxi sign

With the onboard tech, the device collects data on longitude, latitude, humidity, temperature, pressure, and airborne particle count, feeding it back to an Android Things datalogger. This data is then pushed to Google IoT Core, where it can be remotely accessed.

Next, the data is processed by Google Dataflow and turned into a BigQuery table. Users can then visualize the collected measurements. And while James uses Google Maps to analyse his data, there are many tools online that will allow you to organise and study your figures depending on what final result you’re hoping to achieve.

A heat map of James' local area showing air quality

James hopped in a taxi and took his monitor on the road, collecting results throughout the journey

James has provided the complete build process, including all tech ingredients and code, on his Hackster.io project page, and urges makers to create their own air quality monitor for their local area. He also plans on building upon the existing design by adding a 12V power hookup for connecting to the taxi, functioning lights within the sign, and companion apps for drivers.

Sensing the world around you

We’ve seen a wide variety of Raspberry Pi projects using sensors to track the world around us, such as Kasia Molga’s Human Sensor costume series, which reacts to air pollution by lighting up, and Clodagh O’Mahony’s Social Interaction Dress, which she created to judge how conversation and physical human interaction can be scored and studied.

Human Sensor

Kasia Molga’s Human Sensor — a collection of hi-tech costumes that react to air pollution within the wearer’s environment.

Many people also build their own Pi-powered weather stations, or use the Raspberry Pi Oracle Weather Station, to measure and record conditions in their towns and cities from the roofs of schools, offices, and homes.

Have you incorporated sensors into your Raspberry Pi projects? Share your builds in the comments below or via social media by tagging us.

The post Using taxies to monitor air quality in Peru appeared first on Raspberry Pi.

Hacker House’s gesture-controlled holographic visualiser

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/hacker-house-holographic-visualiser/

YouTube makers Hacker House are back with a beautiful Flick-controlled holographic music visualiser that we’d really like to have at Pi Towers, please and thank you.

Make a Holographic Audio Visualizer with Gesture Control

Find all the code and materials on: https://www.hackster.io/hackerhouse/holographic-audio-visualizer-with-motion-control-e72fee A 3D holographic audio visualizer with gesture control can definitely spice up your party and impress your friends. This display projects an image from a monitor down onto an acrylic pyramid, or “frustum”, which then creates a 3D effect.

Homemade holographic visualiser

You may have seen a similar trick for creating holograms in this tutorial by American Hacker:

How To Make 3D Hologram Projector – No Glasses

Who will know that from plastic cd case we can make mini 3d hologram generator and you can watch 3d videos without glasses.

The illusion works due to the way in which images reflect off a flat-topped pyramid or frustum, to use its proper name. In the wonderful way they always do, the residents of Hacker House have now taken this trick one step further.

The Hacker House upgrade

Using an LCD monitor, 3D-printed parts, a Raspberry Pi, and a Flick board, the Hacker House team has produced a music visualiser truly worthy of being on display.

Hacker House Raspberry Pi holographic visualiser

The Pi Supply Flick is a 3D-tracking and gesture board for your Raspberry Pi, enabling you to channel your inner Jedi and control devices with a mere swish of your hand. As the Hacker House makers explain, in this music player project, there are various ways in which you could control the playlist, visualisation, and volume. However, using the Flick adds a wow-factor that we highly approve of.

The music and visualisations are supplied by a Mac running node.js. As the Raspberry Pi is running on the same network as the Mac, it can communicate with the it via HTTP requests.

Sketch of network for Hacker House Raspberry Pi holographic visualiser

The Pi processes incoming commands from the Flick board, and in response send requests to the Mac. Swipe upward above the Flick board, for example, and the Raspberry Pi will request a change of visualisation. Swipe right, and the song will change.

Hacker House Raspberry Pi holographic visualiser

As for the hologram itself, it is formed on an acrylic pyramid sitting below an LCD screen. Images on the screen reflect off the three sides of the pyramid, creating the illusion of a three-dimensional image within. Standard hocus pocus trickery.

Full details on the holographic visualiser, including the scripts, can be found on the hackster.io project page. And if you make your own, we’d love to see it.

Your turn

Using ideas from this Hacker House build and the American Hacker tutorial, our maker community is bound to create amazing things with the Raspberry Pi, holograms, and tricks of the eye. We’re intrigued to see what you come up with!

For inspiration, another example of a Raspberry Pi optical illusion project is Brian Corteil’s Digital Zoetrope:

Brian Corteil's Digital Zoetrope - Hacker House Raspberry Pi holographic visualiser

Are you up for the challenge of incorporating optical illusions into your Raspberry Pi builds? Share your project ideas and creations in the comments below!

The post Hacker House’s gesture-controlled holographic visualiser appeared first on Raspberry Pi.

Sean Hodgins’ Haunted Jack in the Box

Post Syndicated from Janina Ander original https://www.raspberrypi.org/blog/sean-hodgins-haunted-jack-box/

After making a delightful Bitcoin lottery using a Raspberry Pi, Sean Hodgins brings us more Pi-powered goodness in time for every maker’s favourite holiday: Easter! Just kidding, it’s Halloween. Check out his hair-raising new build, the Haunted Jack in the Box.

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!

Haunted jack-in-the-box?

Imagine yourself wandering around a dimly lit house. Your eyes idly scan a shelf. Suddenly, out of nowhere, a twangy melody! What was that? You take a closer look…there seems to be a box in jolly colours…with a handle that’s spinning by itself?!

Sidling up to Sean Hodgins' Haunted Jack in the Box

What’s…going on?

You freeze, unable to peel your eyes away, and BAM!, out pops a maniacally grinning clown. You promptly pee yourself. Happy Halloween, courtesy of Sean Hodgins.

Clip of Sean Hodgins' Haunted Jack in the Box

Eerie disembodied voice: You’re welco-o-o-ome!

How has Sean built this?

Sean purchased a jack-in-the-box toy and replaced its bottom side with one that would hold the necessary electronic components. He 3D-printed this part, but says you could also just build it by hand.

The bottom of the box houses a Raspberry Pi 3 Model B and a servomotor which can turn the windup handle. There’s also a magnetic reed switch which helps the Pi decide when to trigger the Jack. Sean hooked up the components to the Pi’s GPIO pins, and used an elastic band as a drive belt to connect the pulleys on the motor and the handle.

Film clip showing the inside of Sean Hodgin's Haunted Jack in the Box

Sean explains that he has used a lot of double-sided tape and superglue in this build. The bottom and top are held together with two screws, because, as he describes it, “the Jack coming out is a little violent.”

In addition to his video walk-through, he provides build instructions on Instructables, Hackaday, Hackster, and Imgur — pick your poison. And be sure to subscribe to Sean’s YouTube channel to see what he comes up with next.

Wait, how does the haunted part work?

But if I explain it, it won’t be scary anymore! OK, fiiiine.

With the help of a a Camera Module and OpenCV, Sean implemented facial recognition: Jack knows when someone is looking at his box, and responds by winding up and popping out.

View of command line output of the Python script for Sean Hodgins' Haunted Jack in the Box

Testing the haunting script

Sean’s Python script is available here, but as he points out, there are many ways in which you could adapt this code, and the build itself, to be even more frightening.

So very haunted

What would you do with this build? Add creepy laughter? Soundbites from It? Lighting effects? Maybe even infrared light and a NoIR Camera Module, so that you can scare people in total darkness? There are so many possibilities for this project — tell us your idea in the comments.

The post Sean Hodgins’ Haunted Jack in the Box appeared first on Raspberry Pi.

PlayerUnknown’s Battlegrounds on a Game Boy?!

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/playerunknowns-battlegrounds-game-boy/

My evenings spent watching the Polygon Awful Squad play PlayerUnknown’s Battlegrounds for hours on end have made me mildly obsessed with this record-breaking Steam game.

PlayerUnknown's Battlegrounds Raspberry Pi

So when Michael Darby’s latest PUBG-inspired Game Boy build appeared in my notifications last week, I squealed with excitement and quickly sent the link to my team…while drinking a cocktail by a pool in Turkey ☀️🍹

PUBG ON A GAMEBOY

https://314reactor.com/ https://www.hackster.io/314reactor https://twitter.com/the_mikey_d

PlayerUnknown’s Battlegrounds

For those unfamiliar with the game: PlayerUnknown’s Battlegrounds, or PUBG for short, is a Battle-Royale-style multiplayer online video game in which individuals or teams fight to the death on an island map. As players collect weapons, ammo, and transport, their ‘safe zone’ shrinks, forcing a final face-off until only one character remains.

The game has been an astounding success on Steam, the digital distribution platform which brings PUBG to the masses. It records daily player counts of over a million!

PlayerUnknown's Battlegrounds Raspberry Pi

Yeah, I’d say one or two people seem to enjoy it!

PUBG on a Game Boy?!

As it’s a fairly complex game, let’s get this out of the way right now: no, Michael is not running the entire game on a Nintendo Game Boy. That would be magic silly impossible. Instead, he’s streaming the game from his home PC to a Raspberry Pi Zero W fitted within the hacked handheld console.

Michael removed the excess plastic inside an old Game Boy Color shell to make space for a Zero W, LiPo battery, and TFT screen. He then soldered the necessary buttons to GPIO pins, and wrote a Python script to control them.

PlayerUnknown's Battlegrounds Raspberry Pi

The maker battleground

The full script can be found here, along with a more detailed tutorial for the build.

In order to stream PUBG to the Zero W, Michael uses the open-source NVIDIA steaming service Moonlight. He set his PC’s screen resolution to 800×600 and its frame rate to 30, so that streaming the game to the TFT screen works perfectly, albeit with no sound.

PlayerUnknown's Battlegrounds Raspberry Pi

The end result is a rather impressive build that has confused YouTube commenters since he uploaded footage for it last week. The video has more than 60000 views to date, so it appears we’re not the only ones impressed with Michael’s make.

314reactor

If you’re a regular reader of our blog, you may recognise Michael’s name from his recent Nerf blaster mod. And fans of Raspberry Pi may also have seen his Pi-powered Windows 98 wristwatch earlier in the year. He blogs at 314reactor, where you can read more about his digital making projects.

Windows 98 Wrist watch Raspberry Pi PlayerUnknown's Battlegrounds

Player Two has entered the game

Now it’s your turn. Have you used a Raspberry Pi to create a gaming system? I’m not just talking arcades and RetroPie here. We want to see everything, from Pi-powered board games to tech on the football field.

Share your builds in the comments below and while you’re at it, what game would you like to stream to a handheld device?

The post PlayerUnknown’s Battlegrounds on a Game Boy?! appeared first on Raspberry Pi.

The Pronunciation Training Machine

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/pronunciation-training-machine/

Using a Raspberry Pi, an Arduino, an Adafruit NeoPixel Ring and a servomotor, Japanese makers HomeMadeGarbage produced this Pronunciation Training Machine to help their parents distinguish ‘L’s and ‘R’s when speaking English.

L R 発音矯正ギブス お母ちゃん編 Pronunciation training machine #right #light #raspberrypi #arduino #neopixel

23 Likes, 1 Comments – Home Made Garbage (@homemadegarbage) on Instagram: “L R 発音矯正ギブス お母ちゃん編 Pronunciation training machine #right #light #raspberrypi #arduino #neopixel”

How does an Pronunciation Training Machine work?

As you can see in the video above, the machine utilises the Google Cloud Speech API to recognise their parents’ pronunciation of the words ‘right’ and ‘light’. Correctly pronounce the former, and the servo-mounted arrow points to the right. Pronounce the later and the NeoPixel Ring illuminates because, well, you just said “light”.

An image showing how the project works - English Pronunciation TrainingYou can find the full code for the project on its hackster page here.

Variations on the idea

It’s a super-cute project with great potential, and the concept could easily be amended for other training purposes. How about using motion sensors to help someone learn their left from their right?

A photo of hands with left and right written on them - English Pronunciation Training

Wait…your left or my left?
image c/o tattly

Or use random.choice to switch on LEDs over certain images, and speech recognition to reward a correct answer? Light up a picture of a cat, for example, and when the player says “cat”, they receive a ‘purr’ or a treat?

A photo of a kitten - English Pronunciation Training

Obligatory kitten picture
image c/o somewhere on the internet!

Raspberry Pi-based educational aids do not have to be elaborate builds. They can use components as simple as a servo and an LED, and still have the potential to make great improvements in people’s day-to-day lives.

Your own projects

If you’ve created an educational tool using a Raspberry Pi, we’d love to see it. The Raspberry Pi itself is an educational tool, so you’re helping it to fulfil its destiny! Make sure you share your projects with us on social media, or pop a link in the comments below. We’d also love to see people using the Pronunciation Training Machine (or similar projects), so make sure you share those too!

A massive shout out to Artie at hackster.io for this heads-up, and for all the other Raspberry Pi projects he sends my way. What a star!

The post The Pronunciation Training Machine appeared first on Raspberry Pi.

PiCorder, the miniature camcorder

Post Syndicated from Janina Ander original https://www.raspberrypi.org/blog/picorder/

The modest dimensions of our Raspberry Pi Zero and its wirelessly connectable sibling, the Pi Zero W, enable makers in our community to build devices that are very small indeed. The PiCorder built by Wayne Keenan is probably the slimmest Pi-powered video-recording device we’ve ever seen.

PiCorder – Pimoroni HyperPixel

A simple Pi-camcorder using @pimoroni #HyperPixel, ZeroLipo, lipo bat, camera and #PiZeroW. All parts from the Pirates, total of ~£85. Project build instructions: https://www.hackster.io/TheBubbleworks/picorder-0eb94d

PiCorder hardware

Wayne’s PiCorder is a very straightforward make. On the hardware side, it features a Pimoroni HyperPixel screen, Pi Zero camera module, and Zero LiPo plus LiPo battery pack. To put it together, he simply soldered header pins onto a Zero W, and connected all the components to it – easy as Pi! (Yes, I went there.)

PiCorder

So sleek as to be almost aerodynamic

Recording with the PiCorder (rePiCording?)

Then it was just a matter of installing the HyperPixel driver on the Pi, and the PiCorder was good to go. In this basic setup, recording is controlled via SSH. However, there’s a discussion about better ways to control the device in the comments on Wayne’s write-up. As the HyperPixel is a touchscreen, adding a GUI would make full use of its capabilities.

Picorder screen

Think about how many screens you’re looking at right now

The PiCorder is a great project to recreate if you’re looking to build a small portable camera. If you’re new to soldering, this build is perfect for you: just follow our ‘How to solder’ video and tutorial, and you’re on your way. This could be the start of your journey into the magical world of physical computing!

You could also check our blog on Alex Ellis‘s implementation of YouTube live-streaming for the Pi, and learn how to share your videos in real time.

Cool camera projects

Our educational resources include plenty of cool projects that could use the PiCorder, or for which the device could be adapted.

Get your head around using the official Raspberry Pi Camera Module with this picamera tutorial. Learn how to set up a stationary or wearable time-lapse camera, and turn your images into animated GIFs. You could also kickstart your career as a director by making an amazing stop-motion film!

No matter which camera project you choose to work on, we’d love to see the results. So be sure to share a link in the comments.

The post PiCorder, the miniature camcorder appeared first on Raspberry Pi.

Estefannie’s GPS-Controlled GoPro Photo Taker

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/estefannie-gopro-selfie/

Are you tired of having to take selfies physically? Do you only use your GoPro for the occasional beach vacation? Are you maybe even wondering what to do with the load of velcro you bought on a whim? Then we have good news for you: Estefannie‘s back to help you out with her Personal Automated GPS-Controlled Portable Photo Taker…PAGCPPT for short…or pagsssspt, if you like.

RASPBERRY PI + GPS CONTROLLED PHOTO TAKER

Hey World! Do you like vacation pictures but don’t like taking them? Make your own Personal Automated GPS Controlled Portable Photo Taker! The code, components, and instructions are in my Hackster.io account: https://www.hackster.io/estefanniegg/automated-gps-controlled-photo-taker-3fc84c For this build, I decided to put together a backpack to take pictures of me when I am close to places that like.

The Personal Automated GPS-Controlled Portable Photo Taker

Try saying that five times in a row.

Go on. I’ll wait.

Using a Raspberry Pi 3, a GPS module, a power pack, and a GoPro plus GoPro Stick, Estefannie created the PAGCPPT as a means of automatically taking selfies at pre-specified tourist attractions across London.

Estefannie Explains it All Raspberry Pi GPS GoPro Camera

There’s pie in my backpack too…but it’s a bit messy

With velcro and hot glue, she secured the tech in place on (and inside) a backpack. Then it was simply a case of programming her set up to take pictures while she walked around the city.

Estefannie Explains it All Raspberry Pi GPS GoPro Camera

Making the GoPro…go

Estefannie made use of a GoPro API library to connect her GoPro to the Raspberry Pi via WiFi. With the help of this library, she wrote a Python script that made the GoPro take a photograph whenever her GPS module placed her within a ten-metre radius of a pre-selected landmark such as Tower Bridge, Abbey Road, or Platform 9 3/4.

Estefannie Explains it All Raspberry Pi GPS GoPro Camera

“Accio selfie.”

The full script, as well as details regarding the components she used for the project, can be found on her hackster.io page here.

Estefannie Explains it All

You’ll have noticed that we’ve covered Estefannie once or twice before on the Raspberry Pi blog. We love project videos that convey a sense of ‘Oh hey, I can totally build one of those!’, and hers always tick that box. They are imaginative, interesting, quirky, and to be totally honest with you, I’ve been waiting for this particular video since she hinted at it on her visit to Pi Towers in May. I got the inside scoop, yo!

What’s better than taking pictures? Not taking pictures. But STILL having pictures. I made a personal automated GPS controlled Portable Photo Taker ⚡ NEW VIDEO ALERT⚡ Link in bio.

1,351 Likes, 70 Comments – Estefannie Explains It All (@estefanniegg) on Instagram: “What’s better than taking pictures? Not taking pictures. But STILL having pictures. I made a…”

Make sure to follow her on YouTube and Instagram for more maker content and random shenanigans. And if you have your own maker social media channel, YouTube account, blog, etc, this is your chance to share it for the world to see in the comments below!

The post Estefannie’s GPS-Controlled GoPro Photo Taker appeared first on Raspberry Pi.

Get a free AIY Projects Voice Kit with The MagPi 57!

Post Syndicated from Rob Zwetsloot original https://www.raspberrypi.org/blog/free-aiy-projects-voice-kit-magpi-57/

We’re extremely excited to share with you the latest issue of The MagPi, the official Raspberry Pi magazine. It’s a very special issue bundled with an exclusive project kit from Google.

Called AIY Projects, the free hardware kit enables you to add voice interaction to your Raspberry Pi projects. The first AIY Projects kits are bundled free with the print edition of The MagPi 57.

Photo of the free AIY Projects kit bundled with The MagPi 57: HAT accessory boards, wires, button and custom cardboard housing

What you’ll find inside

Inside the magazine, you’ll find a Google Voice Hardware Attached on Top (HAT) accessory board, a stereo microphone Voice HAT board, a large arcade button, and a selection of wires. Last but not least, you’ll find a custom cardboard case to house it all in.

All you need to add is a Raspberry Pi 3. Then, after some software setup, you’ll have access to the Google Assistant SDK and Google Cloud Speech API.

AIY Projects adds natural human interaction to your Raspberry Pi

Check out the exclusive Google AIY Projects Kit that comes free with The MagPi 57! Grab yourself a copy in stores or online now: http://magpi.cc/2pI6IiQ This first AIY Projects kit taps into the Google Assistant SDK and Cloud Speech API using the AIY Projects Voice HAT (Hardware Accessory on Top) board, stereo microphone, and speaker (included free with the magazine).

We’ve got a full breakdown of how to set it all up and get it working inside the magazine. The folks at Google, along with us at The MagPi, are really excited to see what projects you can create (or enhance) with this kit, whether you’re creating a voice-controlled robot or a voice interface that answers all your questions. Some Raspberry Pi owners have been building AIY Projects in secret at Hackster, and we have their best voice interaction ideas in the magazine.

On top of this incredible bundle we also have our usual selection of excellent tutorials – such as an introduction to programming with Minecraft Pi, and hacking an Amazon Dash button – along with reviews, project showcases, and our guide to building the ultimate makers’ toolbox.

Two-page spread from The MagPi, titled "Makers' Toolkit"

Create the ultimate makers’ toolkit and much more with issue 57 of The MagPi

Subscribers should be getting their copies tomorrow, and you can also buy a copy in UK stores including WHSmith, Tesco, Sainsbury’s, and Asda. Copies have been shipped to North America, and are available at Barnes & Noble and other stores. Otherwise, you can get a copy online from The PiHut. Digital versions (without the AIY Projects kit) are available in our Android and iOS app. Finally, as always, there’s the free PDF download.

We really hope you enjoy this issue and make some amazing things with your AIY Projects kit. Let us know what you plan to make on social media, using the hashtag #AIYProjects, or on the Raspberry Pi forums.

The post Get a free AIY Projects Voice Kit with The MagPi 57! appeared first on Raspberry Pi.

JavaWatch automated coffee replenishment system

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/javawatch-automated-coffee-replenishment-system/

With the JavaWatch system from Terren Peterson, there’s (Raspberry Pi) ZERO reason for you ever to run out of coffee beans again!

By utilising many of the Amazon Web Services (AWS) available to budding developers, Terren was able to create a Pi Zero-powered image detection unit. Using the Raspberry Pi Camera Module to keep tabs on your coffee bean storage, it automatically orders a fresh batch of java when supplies are running low.

JavaWatch Sales Pitch

Introducing JavaWatch, the amazing device that monitors your coffee bean supply and refills from Amazon.com.

Coffee: quite possibly powering Pi Towers’ success

Here at Pi Towers, it’s safe to say that the vast majority of staff members run on high levels of caffeine. In fact, despite hitting ten million Pi boards sold last October, sending two Astro Pi units to space, documenting over 5,000 Code Clubs in the UK, and multiple other impressive achievements, the greatest accomplishment of the Pi Towers team is probably the acquisition of a new all-singing, all-dancing coffee machine for the kitchen. For, if nothing else, it has increased the constant flow of caffeine into the engineers…and that’s always a positive thing, right?

Here are some glamour shots of the beautiful beast:

Pi Towers coffee machine glamour shot
Pi Towers coffee machine glamour shot
Pi Towers coffee machine glamour shot

Anyway, back to JavaWatch

Terren uses the same technology that can be found in an Amazon Dash button, replacing the ‘button-press’ stimulus with image recognition to trigger a purchase request.

JavaWatch flow diagram

Going with the JavaWatch flow… 
Image from Terren’s hackster.io project page.

“The service was straightforward to get working,” Terren explains on his freeCodeCamp blog post. “The Raspberry Pi Camera Module captures and uploads photos at preset intervals to S3, the object-based storage service by AWS.”

The data is used to calculate the amount of coffee beans in stock. For example, the jar in the following image is registered at 73% full:

A jar which is almost full of coffee beans

It could also be 27% empty, depending on your general outlook on life.

A second photo, where the beans take up a mere 15% or so of the jar, registers no beans. As a result, JavaWatch orders more via a small website created specifically for the task, just like pressing a Dash button.

JavaWatch DRS Demo

Demonstration of DRS Capabilities with a project called JavaWatch. This orders coffee beans when the container runs empty.

Terren won second place in hackster.io’s Amazon DRS Developer Challenge for JavaWatch. If you are in need of regular and reliable caffeine infusions, you can find more information on the build, including Terren’s code, on his project page.

The post JavaWatch automated coffee replenishment system appeared first on Raspberry Pi.

TV Time Machine

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/tv-time-machine/

Back when home television sets were thin on the ground and programmes were monochrome, TV maintained a magical aura, a ‘how do they fit the people in that little box’ wonder which has been lost now that sets are common and almost everyone has their own video camera or recording device. Many older shows were filmed specifically to be watched in black and white, and, in much the same way that plugging your SNES into an HD monitor doesn’t quite look right, old classics just don’t look the same when viewed on the modern screen.

1954 brochure advert for Admiral TV sets

50’s televisions were so pretty. So, so pretty.

Wellington Duraes, Senior Program Manager for Microsoft and proud owner of one of the best names I’ve ever seen, has used a Raspberry Pi and some readily available television content to build a TV Time Machine that draws us back to the days of classic, monochrome viewing the best way he can.

He may not be able to utilise the exact technology of the old screen, but he can trick our mind with the set’s retro aesthetics.

TV Time Machine

You can see more information about this project here: https://www.hackster.io/wellington-duraes/tv-time-machine-d11b5f

As explained in his hackster.io project page, Wellington joined his local Maker community, the Snohomish County Makers in Everett, WA, who helped him to build the wooden enclosure for the television. By purchasing turquoise speaker grille fabric online, he was able to give a gorgeous retro feeling to the outer shell.

Wellington TV Time Machine

Wellington: “I can’t really keep it on close to me because I’ll stop working to watch…”

For the innards, Wellington used a cannibalised thrift store Dell monitor, hooking it up to a Raspberry Pi 2 and some second-hand speakers. After the addition of Adafruit’s video looper code to loop free content downloaded from the Internet Archive, plus some 3D-printed channel and volume knobs, the TV Time Machine was complete.

Wellington TV Time Machine Raspberry Pi inside view

The innards of the TV Time Machine

“Electronics are the easiest part,” explains Wellington. “This is basically a Raspberry Pi 2 playing videos in an infinite loop from a flash drive, a monitor, and a PC speaker.”

On a personal note, my first – and favourite – television was a black-and-white set, the remote long since lost. A hand-me-down from my parents’ bedroom, I remember watching the launch of Euro Disney on its tiny screen, imagining what the fireworks and parade would look like in colour. Of course, I could have just gone downstairs and watched it on the colour television in the living room, but there was something special about having my own screen whose content I could dictate.

euro disney opening logo

For anyone too young to remember the resort’s original name.

On weekend mornings, I would wake and give up my rights to colour content in order to watch Teenage Mutant Ninja Turtles, Defenders of the Earth, and The Wuzzles (my favourite) on that black-and-white screen, knowing that no one would ask for the channel to be changed – what eight-year-old child wanted to watch boring things like the news and weather?

The Wuzzles theme

intro

I think that’s why I love this project so much, and why, despite now owning a ridiculously large smart TV with all the bells and whistles of modern technology, I want to build this for the nostalgia kick.

The post TV Time Machine appeared first on Raspberry Pi.

Holidays with Pi

Post Syndicated from Matt Richardson original https://www.raspberrypi.org/blog/holidays-with-pi/

This column is from The MagPi issue 52. You can download a PDF of the full issue for free, or subscribe to receive the print edition in your mailbox or the digital edition on your tablet. All proceeds from the print and digital editions help the Raspberry Pi Foundation achieve its charitable goals.

When I was a kid, it felt like it took forever for the holidays to arrive. Now that I’m an adult, the opposite is true: it feels like the holidays come hurtling at us faster and faster every year. As a kid, I was most interested in opening presents and eating all of that amazing holiday food. As an adult, I mostly enjoy the opportunity to pause real life for a few days and spend time with my family – though I do still love eating all that amazing holiday food!

Invariably, the conversations with my extended family turn to Raspberry Pi at some point during the holidays. My relatives may have seen something in the news about it, or perhaps they have a friend who is creating their own retro gaming emulator with it, for example. I sometimes show off the Raspberry Pi projects that I’ve been working on and talk about what the Raspberry Pi Foundation is doing in order to put the power of digital making into the hands of people around the globe.

All over the world there will be a lot of folks, both young and old, who may be receiving Raspberry Pis as gifts during the holidays. For them, hopefully it’s the start of a very rewarding journey making awesome stuff and learning about the power of computers.

The side effect of so many people receiving Raspberry Pis as gifts is that around this time of year we get a lot of people asking, “So I have a Raspberry Pi… now what?” Of course, beyond using it as a typical computer, I encourage anyone with a Raspberry Pi to make something with it. There’s no better way to learn about computing than to create something.

There’s no shortage of project inspiration out there. You’ll find projects that you can make in the current edition of The MagPi, as well as all of the back issues online, which are all available as free PDF files. We share the best projects we’ve seen on our blog, and our Resources section contains fantastic how-to projects.

Be inspired

You can also explore sites such as Hackster.io, Instructables, Hackaday.io, and Makezine.com for tons of ideas for what you can make with your Raspberry Pi. Many projects include full step-by-step guides as well. Whatever you’re interested in, whether it’s music, gaming, electronics, natural sciences, or aviation, there’s sure to be something made with Raspberry Pi that’ll spark your interest.

If you’re looking for something to make to celebrate the holiday season, you’re definitely covered. We’ve seen so many great holiday-related Raspberry Pi projects over the years, such as digital advent calendars, Christmas light displays, tree ornaments, digital menorahs, and new year countdown clocks. And, of course, not only does the current issue of The MagPi contain a few holiday-themed Pi projects, you can even make something festive with the cover and a few LEDs.

There’s a lot of stuff out there to make and I encourage you to work together with your family members on a project, even if it doesn’t seem to be their kind of thing. I think people are often surprised at how easy and fun it can be. And if you do make something together, please share some photos with us!

Whatever you create and whatever holidays you celebrate, all of us at Raspberry Pi send you our very best wishes of the season and we look forward to another year ahead of learning, making, sharing, and having fun with computers.

The post Holidays with Pi appeared first on Raspberry Pi.

Internet of Things Pregnancy Test

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/iot-pregnancy-test/

“The project idea came from this tongue-in-cheek Twitter post. But hey, why not try to make one? I read somewhere that the world needs more ridiculous smart devices”. These are the words of Eric Tsai, a maker of connected devices and home automation, on his website etsai.net. And while this website boasts many interesting and useful projects (plus a watermelon sea monster), it was his tongue-in-cheek ‘Too Much IoT’ project on hackster.io that had us chuckling. The aforementioned Twitter post?

Eric Tsai on Twitter

IoT pregnancy test: connects to phone via BLE, instantly tweets test results. Also text msg result to contacts name “mom”.

Eric did indeed create an IoT pregnancy test: it’s a Bluetooth-enabled digital pregnancy test that sends data to a Raspberry Pi which, in turn, sends a tweet of the result (as well as a special text message to your Mum).

To start his project, Eric turned to an unsuspecting customer service representative, quizzing her on the composition of a digital pregnancy test:

Does your test have an ON button? What kind of battery does it use? Do the different characters on the LCD overlap, or are they separated? Well, I mean, is “Pregnant” the same as “Not Pregnant”, but just without the “Not”? You need a serial number? No, I don’t have a serial number, I haven’t purchased it yet. Oh, well… I like to be prepared.

And after that, a search of YouTube provided the information he needed in order to hack the test.

IoT Pregnancy Test

After working his way through the internals of the test, the LCD pins, and the energy consumption, Eric was able to hijack the correct components and solder new wiring to gain control of the ‘not’ and ‘pregnant’ portions of the display, along with the clock function and, obviously, the ground.

IoT Pregnancy Test

Eric added header pins to the test, allowing him to connect a Light Blue Bean, which in turn provided Bluetooth and I/O functionality. He explains:

The Light Blue Bean provides the real world I/O and Bluetooth connectivity. The digital I/O monitors the “Not” and “Pregnant” pins on the LCD and compares them to the “clock”. When they don’t match, it means the corresponding icon is being displayed.

The Raspberry Pi runs Node-RED to receive data from the Bean. Using Twilio, the Pi can tweet, text, or email the information to any predetermined recipient, advising them of the test results.

IoT Pregnancy Test

As a home automation pro, Eric already had several lights in his house set up via MQTT and OpenHAB, so it wasn’t hard for him to incorporate them into the project, triggering them to light up to indicate a positive result.

Though the project was originally started as a joke, it’s clear to see that Eric enjoyed the process and learnt from the experience. And if that wasn’t enough, he also used the hackster.io project page as a means of announcing the news of his own impending bundle of joy. So congratulations to Eric and his family, and thank you for this brilliant project!

Too Much IoT on Twitter

Pregnant! Yay!

Connected Pregnancy Test – Long Version

A pregnancy test that tweets and text messages test results. https://www.hackster.io/projects/15076/

 

 

The post Internet of Things Pregnancy Test appeared first on Raspberry Pi.

Hands-free with the Alexa Voice Service

Post Syndicated from Alex Bate original https://www.raspberrypi.org/blog/hands-free-alexa-voice-service/

The recent update to the Alexa Voice Service (AVS) API allows makers to incorporate hands-free functionality into their builds, a feature previously missing from all but the official Amazon Echo and Dot models. 

Diagram of the Amazon Alexa Voice Service

While adverts for the Echo represent owners calling out to Alexa with a request or question — “Alexa, what is the time?”, “Alexa, order me a pizza”, “Alexa, how do you get red wine out of the carpet?” — any digital maker using the free API from the Amazon Developer team had to include a button within their build, putting a slight dampener on the futuristic vibe of the disembodied Alexa. (We know about this dampening effect, because a bunch of you complained vocally about it.)

With the update removing the press-a-button limitation, anyone using the AVS can now ‘wake’ Alexa with a ‘wake word’, calling out to Alexa, Echo, or Amazon. Thankfully, at least in my household, this choice of wake word means the device won’t be listening whenever anyone calls my name.

We’ve seen no end of builds over the last year as makers begin to incorporate the AVS into their home automation projects and robots. There’s been everything from boats to kids’ builds, retro radios and more, and we even co-hosted the Internet of Voice Challenge with Amazon and Hackster.io this summer.

Winners of the challenge received various awards including Amazon vouchers, Echos, and trophies. A full list of winners can be seen here, but we thought you’d like to see some of the most noteworthy builds, like Roxie the Voice-Activated Pitching Robot by Terren Peterson:

Using a Voice Activated Pitching Machine to Teach

Using the Robot Roxie Alexa Skill to have a voice activated pitching machine. Full details on Hackster.io

Or this Voice Controller K’nex Car by Auston Mathuw:

Voice Controlled Raspberry Pi K’nex Car

Uploaded by Austin Mathuw on 2016-08-31.

And the favourite of sleep-deprived social media editors everywhere, The Coffee Machine by Bastiaan Slee:

Alexa Raspberry Coffee Machine – Introduction

Coffee Machine: Amazon Alexa & Raspberry Pi, my Internet of Voice project. If you want to develop a project like this, read the following site for instructions: https://www.hackster.io/bastiaan-slee/coffee-machine-amazon-alexa-raspberry-pi-cbc613

Other winners include the Mystic Mirror by Darian Johnson and Ping Pong Showdown by Dana Young

One thing I’m looking forward to is integrating the AVS into situations where hands-free truly is the only option. Not only will we begin to see an increase of Alexa-pimped cars, bikes, and drones, but I also see great advances in the use of the service for those with accessibility issues, such as those with mobility concerns or visual impairments. The Smart Cap, winner of the Intermediate Alexa Skill Set category, is a great example. Get in touch if you create something yourself!

The post Hands-free with the Alexa Voice Service appeared first on Raspberry Pi.

Alexa internet of boat things – anchors aweigh!

Post Syndicated from Liz Upton original https://www.raspberrypi.org/blog/alexa-internet-boat-things-anchors-aweigh/

Before we get to the meat of today’s post, which involves both Hackster and Alexa, we would be remiss if we didn’t remind you all that Hackster’s Internet of Voice competition to create voice-controlled Raspberry Pi projects is open until August 31 2016. It’s open worldwide – go and check it out!

We’re seeing Raspberry Pi users turn all kinds of things into Internet of Things devices: lorries, cat flaps, beer fridges – and now a boat.

imonaboat

Being able to hook your Raspberry Pi up to Amazon’s Alexa means that it’s increasingly easy to use a voice-trigger to set off a physical task. In Ufuk Arslan’s case, he was interested in automating some of the functions of his boat.

prototype boat

Testing a prototype

Ufuk had a bad habit of leaving lights on when going home for the night, which drained the boat’s batteries overnight. This project was initially intended as a quick and easy way to turn all the lights off at once, but has grown in scope. Ufuk’s now engineering it to work as a disembodied deck hand, and his first step in doing that has been to wire the system up to his anchor winch. A somewhat fiddly task. Ufuk says:

Pay attention to cables, colors and poles. You could easily end up wiring wrong cables and cause short-circuits or always running winches (both of which happened to me).

The results? Easy voice-command control of different systems on the boat. We forgive the portrait format video.

AlexaBoat

AlexaBoat Project https://www.hackster.io/ufuk-arslan/alexaboat-7f1a7e

This is just a start – we’d love to see where Ufuk is going with this project next. There are already lots of other projects out there for boat owners – navigation projects are a great way to take expense out of your own setup. Ufuk has documented the build all the way from creating an Alexa skill to rewiring his boat over on Hackster.

 

The post Alexa internet of boat things – anchors aweigh! appeared first on Raspberry Pi.