SSH Enters The Mosh Pit

With so many systems depending on Linux, the secure shell SSH has become a staple for many developers. If you are connected to your Raspberry Pi via a cable or a wireless router a few feet away, SSH can provide you with an encrypted connection straight to the box. However, if you have a system out in a swamp somewhere with intermittent slow network access, SSH can be a real pain. When your IP address can change (for example, roaming on a cellular network), SSH has problems, too.

To combat these and other problems, you might consider an open source program called Mosh (mobile shell). There’s two parts to Mosh. One part works as a server while the other is the client application. Neither of these require root access. You can see a video about Mosh below.

Continue reading “SSH Enters The Mosh Pit”

Pi Cart: 2,400 Games In One

What’s the quickest way to turn one game into 2,400? Cram a Raspberry Pi Zero running RetroPie into an NES cartridge and call it Pi Cart.

This elegant little build requires no soldering — provided you have good cable management skills and the right parts. To this end, [Zach] remarks that finding a USB adapter — the other main component — small enough to fit inside the cartridge required tedious trial and error, so he’s helpfully linked one he assures will work. One could skip this step, but the potential for couch co-op is probably worth the effort.

Another sticking point might be Nintendo’s use of security screws; if you have the appropriate bit or screwdriver, awesome, otherwise you might have to improvise. Cutting back some of the plastic to widen the cartridge opening creates enough room to hot glue in the USB hub, a micro USB port for power, and an HDMI port in the resulting gap. If you opted to shorten the cables, fitting it all inside should be simple, but you may have to play a bit of Tetris with the layout to ensure everything fits.

Continue reading “Pi Cart: 2,400 Games In One”

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.