Sort Your Candy With A Raspberry Pi And Google Cloud Vision

If you have been off trick-or-treating and returned home with an embarassment of candy, what on earth can you do to mange the problem and sort it by brand?

Yes, it’s an issue that so many of us have had to face at this time of year. So much a challenge, that the folks at [Dexter Industries] have made a robotic candy-sorter to automate the task.

OK, there’s something of the tongue-in-cheek about the application. But the technology they’ve used is interesting, and worth a second look. Hardware wise it’s a Lego Mindstorms conveyor and hopper controlled by a Raspberry Pi through the BrickPi interface. All very well, but it’s in the software that the interest lies. They use the Raspberry Pi’s camera to take a picture to send off to Google Cloud Vision, which they then query to return a guess at the brand of the candy in question. The value returned is then compared to a list of brands to keep or donate to another family member, and the hopper tips the bar into the respective pile.  They provide full build details and code, as well as the video we’ve put below the break. So simple a child can explain it, sort of.

Continue reading “Sort Your Candy With A Raspberry Pi And Google Cloud Vision”

A Virtual Glimpse Into The Forest

Taking a stroll through the woods in the midst of autumn is a stunning visual experience. It does, however, require one to live nearby a forest. If you are one of those who does not, [Koen Hufkens] has recently launched the Virtual Forest project — a VR experience  that takes you though a day in a deciduous forest.

First off, you don’t need a VR apparatus to view the scenery. Web-browsers and most smart phones are capable of displaying the 360 degree images. The Raspberry Pi 2-controlled Ricoh Theta S camera is enclosed in a glass lamp cover and — with the help of some PVC pipe — mounted on a standard fence post. Power is delivered ingeniously via a Cat5e cable, and a surge protector has also been included in case of lightning strikes.  Depending on when you view the website, you could be confronted with a black screen, or a kaleidoscope of color.

Continue reading “A Virtual Glimpse Into The Forest”

Protecting Your Home Against Potato Invaders

Not sure where the potatoes were sneaking in, [24Gospel] did what any decent hacker would do: strapped a camera to a Raspberry Pi, hacked a bit on OpenCV, and built himself a potato detection system. Now those pesky Russets can’t get into the house without tripping the tuber alarm.

oku0kbr

OK, seriously. [24Gospel] works for a potato farm as a systems/software developer. (How big does a potato farm have to be to require a dedicated software guy?) His system is still a first step, but the goal is to grade the potatoes, record data about size and defects, and even tell different potato types apart. And he’s found decent success so far, especially for the money. We don’t often build projects that need to operate in hostile environments, but we appreciate the nice plastic case and rugged adjustable steel frame that supports the Pi and camera over the sorting bed.

Even more, we applaud the hacker spirit here. [24Gospel] is obviously working in a serious production environment, but still he’s trying out new things in an attempt to make it work better. While it would be impossible to quantify the impact of this kind of on-the-job ingenuity, we bet it’s not insignificant. Why don’t we see more documented workplace hacks around here? Would the unsung heroes please stand up?

[via /r/raspberry_pi]

Raspberry Pi Zero As A USB Stick

The Raspberry Pi Zero is small enough that it could almost be mistaken for a USB gadget, rather than a standalone computer. Maybe that was the inspiration that drove [Novaspirit] to completely “donglify” his Zero.

This is a great convenience hack if you’ve got a Zero just kicking around. With minimal soldering, he converted the Zero’s onboard female USB jacks into a male USB plug. From there on out, it’s all software, and the video (embedded below) takes you through all the steps on Windows.

Continue reading “Raspberry Pi Zero As A USB Stick”

The Animated Gif Camera, Brought To You By A Raspberry Pi

No one watches video anymore. Cable cutters are digging into Verizon’s profits, and YouTube is a shadow of its 2005 self. What are people consuming now? Animated gifs. This is the bread and butter of the meme economy. Personally, all my investments are sunk deep into Gandolf / Balrog gifs, with each character replaced with Trump and Hillary. I expect a tidy profit on November 9th.

With animated gifs being the de facto method of sharing moving pictures, the world will belong to those who can create them. Phones are fine, but strangely video cameras, DSLRs, and other high-end photography equipment are the norm. This is idiotic, of course, because high-definition images are just a fad, and audio is useless.

Finally, there’s an answer. [Nick Brewer] created a camera that only takes animated gifs. I cannot stress this enough: this animated gif cam is a serious contender for a technical Oscar. Kubrick wept.

For the hardware, [Nick] went with a Raspberry Pi and Raspberry Pi camera. A combination of software ranging from PiCamera, GraphicsMagick, and GifCam turns this tiny bit of hardware into a machine dedicated to content creation in the hippest new medium. Other hardware includes a battery – either a normal LiPo ‘pouch’ cell, or an 18650 cell. Other hardware includes an Adafruit Powerboost 500 charge controller and a neat illuminated push button.

The 3D-printed enclosure is where this project really shines. Hearkening back to an older time, this camera includes a real viewfinder for all your gonzo giffing. The camera is charged through a completely normal USB port, and even the Pi’s SD card is accessible without disassembling the camera. There are even some paper wrappers for this camera to give it a 90s disposable camera aesthetic.

Of course, this isn’t the first camera dedicated to the creation of animated gifs. Before the C.H.I.P., Next Thing Co released OTTO, a camera designed for gifs. [Nick]’s project, though, is a camera dedicated completely to gifs. It is the greatest technical achievement of our time, for the creation of content in the greatest artistic medium.

Amalgamate Is The Internet Of Compost

A lot of people are scared of composting. After all, if the temperatures or humidity go badly wrong, you can end up with dried-out trash or a stinking soup. Getting the balance right is a secret known to the ancients: toss it in a big pile in your backyard. But what if you don’t have a big backyard?

Amalgamate is a composting setup for the urban dweller, or for people who just don’t like bugs. [Jamie] built it as her first Raspberry Pi project, and that makes it a great entrée into the world of things. But it’s no lightweight: the software measures temperature and humidity, and lets you schedule watering and rotating the compost. And of course, if you’re a micromanager, you can get up-to-the-minute vitals on your cellphone and tweak everything to run just perfectly. Continue reading “Amalgamate Is The Internet Of Compost”

Impressive Pi System Controls Large Office

A pile of Raspberry Pis isn’t what would spring to mind for most people when building a system to control a large office, but most people aren’t [Kamil Górski]. He decided to use Pis to run the office of his company Monterail when they moved to a larger space. The system they built is one of the largest Pi installations we have seen, controlling the lights, TVs, speakers and door access. It can all be controlled through a web interface, so anyone on the network can turn the lights on or off, check if a room is occupied or send sound and video to the fancy AV system in the conference room. He even hacked a bunch of HDMI switches so that every TV can show the same image if everyone wants to watch the same event. Even the radio station that plays in the lounge is controlled remotely from an employee slack channel.

The system is run on five Pis, one of which acts as a master, while the others are connected to each of the TVs, running Chrome in console mode being remotely controlled through the Chrome Debugging Protocol.  That allows anyone on the network to control the display and send content to it. One interesting thing to note: [Kamil] freely admits that this is a bespoke system that couldn’t be easily sold as a product. Nothing wrong with that, but he decided to build in some backups: if the whole system fails, all of the lights, doors, and other devices can still be controlled through old-school switches, keys, and remote controls. Even a full system crash doesn’t render the office unusable. That’s a wide precaution that many people forget in systems like this.