Unique Pomodoro Timer Displays Quotes While You Work

[zorbash] came up with a great side project while designing a way to read notes and highlighted sections from e-books without having to use Good Reads or the Amazon tool: build a gadget to display a parade of quotes from favorite authors and their books. The project is called Brain because it’s built on an IoT platform called Nerves.

As a bonus, the gadget functions as a Pomodoro timer of sorts — that’s the time management method where you work for 25-minute periods and take 5-minute breaks in between, with a longer break every four Pomodoros. Brain displays a quote for 25 minutes and then flashes the screen to draw [zorbash]’s attention to the fact that time is up. We think this is a nice, unobtrusive way to do things. There are no breaks built in, but that’s just how [zorbash] rolls.

The quotes are fetched using Bookworm, a script [zorbash] wrote that’s available on GitHub. It uses a Raspberry Pi 2 B, an SD card to store the JSON’d quotes, and a Wi-Fi dongle to allow the fetching. If you’re wondering about the enclosure, it’s made of clay.

If you like your Pomodoro timers a little more physical, here’s one that starts as soon as you plug it in to a USB port.

Computer Vision Lets You Skip Songs With A Glance

Have you ever wished you could control your home automation devices with nothing more than a withering stare? Well then you’re in luck, as [Norbert Zare] has come up with a clever way of controlling an MP3 player with only your face. Though as you might imagine, the technique could be applied to a whole range of home automation tasks with some minor tweaks.

At the core of this project is the Raspberry Pi, specifically the 3 B+ model, though with the computational demands of computer vision you might want to bump it up to the latest-and-greatest Pi 4. From there you need to load up OpenCV and a model trained for face detection, which as luck would have it, tends to be a fairly common application for this technology.

With a relatively simple Python script, [Norbert] is able to determine when OpenCV detects he’s looking directly into the camera and fire off one of the Pi’s GPIO pins that’s been connected to the “Skip” button on a physical MP3 player. That’s right, you read that correctly. He’s using a dedicated MP3 player in the year 2021.

In all seriousness, we’re not really sure why [Norbert] went this route compared to simply playing the music on the Pi and controlling it through software, but this does serve as a good example of how you can interface with physical devices if need be. In any event, using the Python script he’s provided, you could easily modify the setup to control other tasks, virtual or otherwise.

While face recognition can be a scary thing out in the wild, we do think it has some interesting applications within the home, so long as the user is the one who is in control of where their data ends up.

Continue reading “Computer Vision Lets You Skip Songs With A Glance”

Hardware Project Becomes Successful Product For Solo Developer

[Michael Lynch] has been a solo developer for over three years now, and has been carefully cataloguing his attempts at generating revenue for himself ever since making the jump to being self-employed. Success is not just hard work; it is partly knowing when the pull the plug on an idea, and [Micheal] has been very open about his adventures in this area. He shares the good news about a DIY project of his that ended up becoming a successful product, complete with dollar amounts and frank observations.

About a year ago, we covered a project he shared called TinyPilot, which is an effective KVM-over-IP device, accessible over the web, that could be built with about $100 worth of parts. [Micheal] found it to be a fun and useful project, and decided to see if he could sell kits. However, he admits he didn’t have high expectations, and his thoughts are probably pretty familiar to most hardware types:

I questioned whether there was a market for this. Why would anyone buy this device from me? It was just a collection of widely available hardware components.

Well, it turns out that he was onto something, and the demand for his device became immediately clear. He’s since given TinyPilot more features, an attractive case, and even provides a support plan for commercial customers. This is an excellent reminder that sometimes, what is being sold isn’t the collection of parts itself. Sometimes, what’s being sold is a solution to a problem people have, and those people are time-poor and willing to pay for something that just works.

It’s great to see [Michael] find some success as a solo developer, but his yearly wrap-up covers much more than just the success of TinyPilot as a product, so be sure to check it out if you’re at all interested in the journey of working for yourself.

The Pi Zero 2 W Is The Most Efficient Pi

Last week we saw the announcement of the new Raspberry Pi Zero 2 W, which is basically an improved quad-core version of the Pi Zero — more comparable in speed to the Pi 3B+, but in the smaller Zero form factor. One remarkable aspect of the board is the Raspberry-designed RP3A0 system-in-package, which includes the four CPUs and 512 MB of RAM all on the same chip. While 512 MB of memory is not extravagant by today’s standards, it’s workable. But this custom chip has a secret: it lets the board run on reasonably low power.

When you’re using a Pi Zero, odds are that you’re making a small project, and maybe even one that’s going to run on batteries. The old Pi Zero was great for these self-contained, probably headless, embedded projects: sipping the milliamps slowly. But the cost was significantly slower computation than its bigger brothers. That’s the gap that the Pi Zero 2 W is trying to fill. Can it pull this trick off? Can it run faster, without burning up the batteries? Raspberry Pi sent Hackaday a review unit that I’ve been running through the paces all weekend. We’ll see some benchmarks, measure the power consumption, and find out how the new board does.

The answer turns out to be a qualified “yes”. If you look at mixed CPU-and-memory tasks, the extra efficiency of the RP3A0 lets the Pi Zero 2 W run faster per watt than any of the other Raspberry boards we tested. Most of the time, it runs almost like a Raspberry Pi 3B+, but uses significantly less power.

Along the way, we found some interesting patterns in Raspberry Pi power usage. Indeed, the clickbait title for this article could be “We Soldered a Resistor Inline with Raspberry Pis, and You Won’t Believe What Happened Next”, only that wouldn’t really be clickbait. How many milliamps do you think a Raspberry Pi 4B draws, when it’s shut down? You’re not going to believe it.

Continue reading “The Pi Zero 2 W Is The Most Efficient Pi”

Raspberry Pi Reads What It Sees, Delights Children

[Geyes30]’s Raspberry Pi project does one thing: it finds arbitrary text in the camera’s view and reads it out loud. Does it do so flawlessly? Not really. Was it at least effortless to put together? Also no, but it does wonderfully illustrate the process of gluing together different bits of functionality to make something new. Also, [geyes30]’s kids find it fascinating, and that’s a win all on its own.

The device is made from a Raspberry Pi and camera and works by sending a still image from the camera to an optical character recognition (OCR) program, which converts any visible text in the image to its ASCII representation. The recognized text is then piped to the espeak engine and spoken aloud. Getting all the tools to play nicely took a bit of work, but [geyes30] documented everything so well that even a novice should be able to get the project up and running in an afternoon.

Sometimes a function like text-to-speech is an end result in and of itself. This was also true of another similar project: Magic Mirror, whose purpose was to tirelessly indulge children’s curiosity about language.

Seeing other projects come to life and learning about new tools is a great way to get new ideas, and documenting them helps cross-pollinate among creative types. Did something inspire you recently, or have you documented your own project? We want to hear about it and so do others, so let us know via the tips line!

Continue reading “Raspberry Pi Reads What It Sees, Delights Children”

New Raspberry Pi Zero 2 Upgrades To Quad-Core Processor

Over the years, we’ve seen a steady stream of updates for the Raspberry Pi Foundation’s flagship single-board computer (SBC), with each new release representing a significant boost in processing power and capability. But the slim Raspberry Pi Zero, released all the way back in 2015, hasn’t been quite so fortunate. Beyond the “W” revision that added WiFi and Bluetooth in 2017, the specs of the diminutive board have remained unchanged since its release.

That is, until now. With the introduction of the $15 USD Raspberry Pi Zero 2 W, the ultra-compact Linux board gets a much-needed performance bump thanks to the new RP3A0 system-in-package, which combines a Broadcom BCM2710A1 die with 512 MB of LPDDR2 SDRAM and a quad-core 64-bit ARM Cortex-A53 CPU clocked at 1 GHz. In practical terms, the Raspberry Pi Foundation says the new Zero 2 is five times as fast as its predecessor with multi-threaded workloads, and offers a healthy 40% improvement in single-threaded performance. That puts it about on par with the Raspberry Pi 3, though with only half the RAM.

Otherwise, the new Zero 2 isn’t much different from the original. It’s the same size and shape, meaning existing cases or mounts should work fine. You’ll also find the micro SD slot, CSI camera connector, dual micro USB ports, and mini HDMI port in the same places they were in 2015.

Frankly we’re a little surprised they didn’t switch over to USB-C (at least for the power port) and micro HDMI to bring it in line with the Pi 4, but of course, they presumably didn’t want to break compatibility with existing Zero projects. At least we won’t have to wait for a second edition to add wireless, as the Zero 2 W offers 2.4 GHz 802.11 b/g/n WiFi and Bluetooth 4.2 out of the box.

We’ll have samples of the new Zero 2 W in hand shortly, so keep an eye out for a detailed overview of this highly anticipated new member of the Pi family. In the meantime, let us know what you think about the new hardware in the comments. Is it a worthy successor to the original $5 Pi Zero?

Surfsonar shows the depth of water while surfing

Surf Sensor Adds Depth To Finding The Ultimate Wave

To say that the ocean is a dynamic environment would be a gross understatement, especially when coastlines are involved. Waves crash, tides go in and out, and countless variables make even the usual conditions a guessing game. When [foobarbecue] goes surfing, he tries to take into account all of these things. The best waves at his local beach are directly over an ever-moving sand bar, and their dynamics are affected by depth, another constant variable. [foobarbecue]’s brilliant solution to understanding current conditions? Build a depth finder directly into his surf board!

At the heart of the “surfsonar” is the Ping Sonar Echosounder, a sonar transducer designed for AUV’s and ROV’s. [foobarbecue] embedded the transducer directly into the board. Data is fed to a Raspberry Pi 4b, which displays depth and confidence (a percentage of how sure it is of the measurement) on a 2.13 inch e-Paper Display Hat.

Power is provided by a PiSugar. Charging is done wirelessly, which we’d say is pretty important considering that the whole device is sealed inside a modified surfboard.

While it’s not a low budget build, and there’s yet room for improvement, early reports are positive. Once away from the breaking waves, the device confidently shows the depth. More testing will show if the surfsonar will help [foobarbecue] find that ever-moving sandbar!

Surf hacks are always welcome, we’ve featured the LED Strip Lit Surfboard as well as the Surf Window, which tells its owner if the surf is up. Be sure to let us know about any cool hacks you find when you’re out surfing the ‘net via our Tips Line!