Controlling A Game Room With Amazon Echo

If there are two things we love here at Hackaday, it’s games and automating mundane tasks by adding a lot of electronics and voice control. A game room is, therefore, the perfect sandbox for projects that get us excited in all of the right ways. Liberty Games, a UK-based games room company, already had a really impressive game room (as you might expect). They’ve just posted an awesome build log showcasing how they went about automating mundane game room tasks by adding a lot of electronics and voice control.

There were four tasks that Liberty Games wanted to be able to complete with voice control: releasing billiards balls on their pool table, adding credits to an arcade machine, releasing pinballs on a pinball machine, and control of a CD jukebox. For all of these tasks, they used an Amazon Echo, which already has built-in support for adding new “skills” (Amazon’s term for user-created Alexa commands). These skills allow the Echo to communicate with other devices using JavaScript Object Notation (JSON).

Continue reading “Controlling A Game Room With Amazon Echo”

DIYing A Raspberry Pi Power Bank

Over the last decade or so, battery technology has improved massively. While those lithium cells have enabled thin, powerful smartphones and quadcopters, [patrick] thought it would be a good idea to do something a little simpler. He built a USB power bank with an 18650 cell. While it would be easier to simply buy a USB power bank, that’s not really the point, is it?

This project is the follow-up to one of [patrick]’s earlier projects, a battery backup for the Raspberry Pi. This earlier project used an 14500 cell and an MSP430 microcontroller to shut the Pi down gracefully when the battery was nearing depletion.

While the original project worked well with the low power consumption Pi Model A and Pi Zero, it struggled with UPS duties on the higher power Pi 3. [patrick] upgraded the cell and changed the electronics to provide enough current to keep a high-power Pi on even at 100% CPU load.

The end result is a USB power bank that’s able to keep a Raspberry Pi alive for a few hours and stays relatively cool.

Low-cost Video Streaming With A Webcam And Raspberry Pi

Some people will tell you that YouTube has become a vast wasteland of entertainment like the boob tube before it. Live streaming doesn’t help the situation much, and this entry level webcam live-stream server isn’t poised to advance the art.

We jest, but only a little. [Mike Haldas] runs a video surveillance company that sells all manner of web-enabled cameras and wondered what it would take to get a low-end camera set up for live streaming. The first step was converting the Zavio webcam stream from RTSP (real-time streaming protocol) to the standard that YouTube uses, RTMP (real-time messaging protocol). Luckily, FFmpeg handles that conversion, so he compiled it for his MacBook Pro and set up a proof of concept. It worked, but he needed a compact solution that would free up his laptop. Raspberry Pi to the rescue – after loading a bunch of libraries and a four-hour build and install of FFmpeg, the webcam was streaming 1080p video of [Mike]’s sales office. He was worried that the Pi wouldn’t have the power needed for the job, and that it would be unstable. But as of this writing, the stream below has been active for six days, and it’s riveting stuff.

Raspberry Pis are a staple in the audio streaming world, like this pro-grade FM broadcast streaming rack or this minuscule internet radio streamer. And of course there’s this quick and dirty, warm and fuzzy streaming baby monitor.

Continue reading “Low-cost Video Streaming With A Webcam And Raspberry Pi”

Raspberry Pi Radio Makes The Sweet Music Of Bacteria

We’ve noticed a lot of musical groups are named after insects. Probably has something to do with the Beatles. (If you study that for a while you’ll spot the homophonic pun, and yes we know that the Crickets inspired the name.) There’s also Iron Butterfly, Adam Ant, and quite a few more. A recent art project by a Mexican team — Micro-ritmos — might inspire some musical groups to be named after bacteria.

The group used geobacter — a kind of bacteria found in soil — a Raspberry Pi, an Arduino, and a camera to build an interesting device. As it looks at the bacteria and uses SuperCollider to create music and lighting from the patterns. You can see a video of Micro-ritmos, below.

Continue reading “Raspberry Pi Radio Makes The Sweet Music Of Bacteria”

Faulty Parking Meter Tracking System? RFID To The Rescue!

How often do you see problems that need fixing? How often do you design your own solutions to them — even if they won’t be implemented at scale? Seeing that many of the municipal parking lots in his native Sri Lanka use a paper ticketing system which is prone to failure, [Shazin Sadakath] whipped up his own solution: an efficient RFID tag logging system.

Digging out an HZ-1050 RFID reader — as well an RFID card and two tags — [Sadakath] set to work connecting it to his Raspberry Pi and cooking up a batch of code and a dashboard to work with. A Python script — using a PiGPIO library — reads the Wiegand Format RFID number, storing it in an SQLite3 database. A Bootstrap, Javascript, and JQuery trifecta make up the dashboard that pulls the RFID info from said server and organizes it into a functional format.

Continue reading “Faulty Parking Meter Tracking System? RFID To The Rescue!”

The Raspberry Pi 2 Gets A Processor Upgrade

A rumor that has been swirling around the Raspberry Pi hardware community for a significant time has proven to have a basis in fact. The Raspberry Pi 2 has lost its BCM2836 32-bit processor, and gained the 64-bit BCM2837 processor from its newer sibling, the Raspberry Pi 3. It seems this switch was made weeks ago without any fanfare on the release of the Pi 2 V1.2 board revision, so we are among many news sources that were caught on the hop.

The new board is not quite a Pi 3 masquerading as a Pi 2 though. The more capable processor is clocked at a sedate 900MHz as opposed to the Pi 3’s 1.2GHz and there is no Bluetooth or WiFi on board, but the new revision will of course benefit from the extra onboard cache and the 64-bit cores.

This move almost certainly has its roots in saving the cost of BCM2836 production in the face of falling Pi 2 sales after the launch of the Pi 3. It makes sense for the Foundation to keep the Pi 2 in their range though as the board has found a home in many embedded products for which the Pi 3’s wireless capabilities and extra power consumption are not an asset.

Avid collectors of Pi boards will no doubt be running to add this one to their displays, but given that the Pi 2 sells for the same price as a Pi 3 we suspect that most Hackaday readers will go for the faster board. It is still a development worth knowing about though, should you require a faster Pi that is a little less power-hungry. The full specification for the revised board can be found on the Raspberry Pi web site.

The Pi has come a long way since the morning in 2012 when our community brought down the RS and Farnell websites trying to buy one of the first models. This BCM2837 board joins a BCM2837-powered Compute Module as well as the Pi 3. It’s worth reminding you though that there are other players to consider, earlier this year we brought you a look at the Odroid C2, and of course the infamous Apple Device.

Pi 2 header image: Multicherry [CC BY-SA 4.0], via Wikimedia Commons.

Editorial Note: We originally covered this in Sunday’s Links article but thought it warranted another, expanded mention.

Stairwell Lights Keep Toddler With Night-Blindness Safe

A devastating diagnosis for a young child is every parent’s worst nightmare. All too often there’s nothing that can be done, but occasionally there’s a window of opportunity to make things better for the child, even if we can’t offer a cure. In that case even a simple hack, like a rapid response stairwell light to help deal with night-blindness, can make a real difference.

[Becca] isn’t yet a year old, but she and her parents carry a heavy burden. She was born with Usher Syndrome, an extremely rare genetic disease that affects hearing and vision to different degrees. In [Becca]’s case, she was born profoundly deaf and will likely lose her sight by the time she’s 10 or so. Her dad [Jake] realized that the soon-to-be-toddler was at risk due to a dark stairwell and the night-blindness that accompanies Usher, so he came up with a simple tech solution to the problem.

He chose Philips Hue LED light strips to run up the stringer of the stairs controlled by a Raspberry Pi. Originally he planned to use IFTTT for the job but the latency resulted in the light not switching on fast enough. He ended up using a simple PIR motion sensor which the Pi monitors and then uses the Hue API to control the light. This will no doubt give him a platform for future capabilities to help [Becca].

We’ve covered a few builds where parents have hacked solutions for their kids, like this custom media center for the builder’s autistic son. We suspect [Jake] has a few more tricks up his sleeve to help [Becca], and we’re looking forward to seeing how she does.