Tiny Barcode Scanner Beeps Your Shopping List Together

Taking a paper list to the grocery store seems like a good idea, at least until you get there and try to use it. Did you remember to bring a pen? Great. How about a clipboard so you don’t punch through the paper when crossing something off? Apps are easier to use for this, especially the ones with checkboxes, but you’ll still have to enter everything manually. Wouldn’t it be easier (and way more fun) to just scan the barcodes of stuff you need into a list before you chuck the packaging?

That’s exactly the idea behind [DavidE281]’s barcode scanner, which is designed to work with the Bring! app. All he has to do is scan a barcode, and the product ends up in a tidy list on his phone. It’s a simple build that’s based around the M5StickC, which is an ESP32 dev kit that has a small display and a 6-axis IMU along with some other goodies. [David] combined it with a 2D barcode scanner that has a serial port and designed a printed case that joins them together.

Here’s how it works: the M5Stick sends the barcode over MQTT to an external Raspberry Pi that’s running Home Assistant. The Pi does a lookup in a spreadsheet and sends the data to the Bring! app over a community-built API. At the same time, it sends the product name back to the M5Stick’s display to confirm that it was added to the list. Check out bite-sized demo video after the break.

Scanning barcodes is super fun. So why not use an IoT barcode scanner to keep track of everything you own?

Continue reading “Tiny Barcode Scanner Beeps Your Shopping List Together”

Build This Cyberdeck In A Cave With A Box Of Scraps

Desktop 3D printing has been a big enabler for the cyberdeck community, as it’s allowed individuals to create unique frames and enclosures which would have been far more difficult and time consuming to produce using traditional methods. But what if you don’t have access to a well-stocked workspace, and need to do your building with the bare minimum of equipment? In that case, [ALX] recently put together a minimalistic design that can be assembled with off-the-shelf components and basic tools.

It’s the ideal cyberdeck for the neophyte, as all the parts are widely available and relatively inexpensive. While it might not be a customized as something with a fully 3D printed frame, we think it nails the look and utility that are the hallmarks of a proper deck.

The key to this build is the SmartiPi Touch case, which puts the Raspberry Pi and touch screen on a hinged panel. These hinges happen to be compatible with GoPro-style mounts, so with a few extension pieces, the panel can be lifted up high enough that it can be folded over the keyboard. The base of the SmartPi Touch case is then attached to the bottom of the keyboard with nothing more exotic than double-sided tape. Here [ALX] is using a Happy Hacking KeyBoard Lite 2, but you could substitute it with whatever you have handy.

On the other hand, if 3D printing out the frame isn’t a problem for you, this miniature cyberdeck we covered recently could be a great alternative if you’re looking to get started in the burgeoning world of bespoke mobile computers.

Bust Your Own Ghosts With A PKE Meter

You know, we wouldn’t be that surprised if aliens or ghosts show up for real before this year is out. If paranormal becomes part of the new normal, it might be nice to have a PKE meter that can detect spirits and help get a head start on figuring out what they want from us.

Yes, that’s right — instead of just lighting up whenever ghosts are near, [starscream205]’s meter goes the extra yard and translates spiritual energy into English words that scroll across the LED matrix. Inside is a Raspberry Pi 3B+ and a sense HAT, which takes spatial and environmental readings and assigns different words based on the results.

Now [starscream205] can go fearlessly into the night, guided by the night vision camera on the end, and watch for ghosts on the screen. Instead of a typical Pi-compatible screen, this is from a car back-up camera system and has been modified to work with the Pi.

We’ve seen a few PKE meters around here before, but they usually do things such as detect radiation. It’s nice to see one that’s faithful to the original purpose.

Automatic Planet Finder Is Out Of This World

When the world is on your shoulders, it can be relaxing to remember that we’re just hairless monkeys hurtling through space on a big rock alongside a lot of other rocks. If you find yourself wondering where exactly the other major rocks are instead of worrying, we think that’s a good sign.

Wherever [snowbiscuit] lives, there’s a large planet finder in a public square somewhere that stopped locating rocks a long time ago. Hungry to watch such a thing in action, [snowbiscuit] built a great-looking tabletop version that uses the Horizontal Coordinate System to locate planets. Inside is a Raspberry Pi 3, which queries NASA for azimuth and altitude data and combines that data with a predetermined north reading to point out whatever planet was selected by spinning the printed telescope on top. The telescope itself is non-working, and returns to north after a few seconds to wait for input.

This project is wide open for remixing if you want to make your own. As lovely as it is now, designing around a slip ring would eliminate all those long wires and make it more sleek. Take a peek after the break.

Don’t stop your desktop space toy collection there — build an ISS-tracking lamp to go with it.

Continue reading “Automatic Planet Finder Is Out Of This World”

Hackaday Podcast 070: Memory Bump, Strontium Rain, Sentient Solder Smoke, And Botting Browsers

Hackaday editors Elliot Williams and Mike Szczys bubble sort a sample set of amazing hacks from the past week. Who has even used the smart chip from an old credit card as a functional component in their own circuit? This guy. There’s something scientifically devious about the way solder smoke heat-seeks to your nostrils. There’s more than one way to strip 16-bit audio down to five. And those nuclear tests from the 40s, 50s, and 60s? Those are still affecting how science takes measurements of all sorts of things in the world.

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Direct download (60 MB or so.)

Continue reading “Hackaday Podcast 070: Memory Bump, Strontium Rain, Sentient Solder Smoke, And Botting Browsers”

Linux Fu: Raspberry Pi Desktop Headless

It seems to me there are two camps when it comes to the Raspberry Pi. Some people use them as little PCs or even laptops with a keyboard and screen connected. But many of us use them as cheap Linux servers. I’m in the latter camp. I have probably had an HDMI plug in a Pi only two or three times if you don’t count my media streaming boxes. You can even set them up headless as long as you have an Ethernet cable or are willing to edit the SD card before you boot the machine for the first time.

However, with the Raspberry Pi 4, I wanted to get to a desktop without fishing up a spare monitor. I’ll show you two ways to get a full graphical KDE desktop running with nothing more than a network connection.

The same principle applies to most other desktop environments, but I am using KDE and Ubuntu on the Pi, even though something lighter would probably perform better. But before we get there, let’s talk about how X11 has had a big identity crisis over the years.

The Plan

There are many ways to remotely access X programs, many of which are rarely used today. However, for this purpose, we are going to use SSH tunneling along with some special tricks to get the entire desktop running. It is easy to just run a single X program over SSH, and you’ve probably done that often. If so, you can skip to the next section.

Continue reading “Linux Fu: Raspberry Pi Desktop Headless”

Easy Internet For Retro Computers With The PiModem

Retro computers are great, but what really makes a computer special is how many other computers it can talk to. It’s all about the network! Often, getting these vintage rigs online requires a significant investment in dusty old network cards from eBay and hunting down long-corrupted driver discs to lace everything together. A more modern alternative is to use something like PiModem to do the job instead.

PiModem consists of using a Raspberry Pi Zero W to emulate a serial modem, providing older systems with a link to the outside world. This involves setting up the Pi to use its hardware serial port to communicate with the computer in question. A level shifter is usually required, as well as a small hack to enable hardware flow control where necessary. It’s then a simple matter of using tcpser and pppd so you can talk to telnet BBSs and the wider Internet at large.

It’s a tidy hack that makes getting an old machine online much cheaper and easier than using hardware of the era. We’ve seen similar work before, too!