Stock Looking PSP Hides A Raspberry Pi Zero

We don’t see that many PSP hacks around these parts, perhaps because the system never attained the same sort of generational following that Nintendo’s Game Boy line obtained during its heyday. Which is a shame, as it’s really a rather nice system with plenty of hacking potential. Its big size makes it a bit easier to graft new hardware into, the controls are great, and there’s no shortage of them on the second-hand market.

Hopefully, projects like this incredible “PiSP” from [Drygol] will inspire more hackers to take a second look at Sony’s valiant attempt at dethroning Nintendo as the portable king. With his usual attention to detail, he managed to replace the PSP’s original internals with a Pi Zero running RetroPie, while keeping the outside of the system looking almost perfectly stock. It wasn’t exactly a walk in the park, but we’d say the end definitely justifies the means.

The first half of the project was relatively painless. [Drygol] stripped out all the original internals and installed a new LCD which fit so well it looks like the thing was made for the PSP. He then added a USB Li-ion charger board (complete with “light pipe” made out of 3D printer filament), and an audio board to get sound out of the usually mute Pi Zero. He had some problems getting everything to fit inside of the case. The solution was using flat lithium batteries from an old Nokia cell phone to slim things down just enough to close up the PSP’s case with some magnets.

What ended up being the hardest part of the build was getting the original controls working. [Dyrgol] wanted to use the original ZIF connector on the PSP’s motherboard so he wouldn’t have to modify the stock ribbon cable. But it was one of those things that was easier said than done. Cutting out the section of PCB with the connector on it was no problem, but it took a steady hand and a USB microscope to solder all the wires to its traces. But the end result is definitely a nice touch and makes for a cleaner installation.

We’ve covered the exciting world of PSP homebrew, and even DIY batteries built to address the lack of original hardware, but it’s been fairly quiet for the last few years. Here’s hoping this isn’t the last we’ve seen of Sony’s slick handheld on these pages.

Continue reading “Stock Looking PSP Hides A Raspberry Pi Zero”

Dirty Video Mixing With The Raspberry Pi Zero

Don’t get too excited now, we aren’t talking about that kind of dirty video. There’s plenty of other places on the Internet you can go to find that sort of thing. No, this video mixer is “dirty” because it combines two composite video streams into one garbled up mess that’s best viewed on an old CRT TV. Why, you may ask? Because rock and roll, that’s why.

Created by [Luke Blackford] as a visual for his band’s performances, the “Dirty Pi” is an exceptionally simple way to create some wild imagery with two Raspberry Pi Zeros. It might not be the most practical of devices, but if you want so throw some creepy looking video up on screens all over the house (say for an upcoming Halloween party), this is a fantastic way to do it on the cheap.

The idea is simple: connect the oft-forgotten composite video outputs of two Pi Zeros to a potentiometer, which then leads to the display. Play different videos on the Pis with the media player of your choice, and twiddle the potentiometer to create ghosting and interference. If you want to get that true 1980’s retro feel, put the whole thing into an old VHS cassette like [Luke] did, and you’re ready to rock.

Those who’ve been around the block a few times might recognize this trick as a variation of the [Karl Klomp] Dirty Video Mixer, and [Luke] tells us he likes this project because he was able to pull it off without writing any code or even doing any complex wiring, though he does imagine a future version where he adds some remote control functionality.

If you like your video mixers with more smarts and less dirt, we’ve covered a very slick build using the LM1881 in the past.

Continue reading “Dirty Video Mixing With The Raspberry Pi Zero”

Pocket-size Pi Zero Desktop Features E-paper Display

[Ramin Assadollahi] uses his Raspberry Pi Zero W as a self-contained mobile desktop, connecting to it over VNC from another computer when he wants to hack away at some code or work on a new project. But he often found himself wishing there was some convenient way of displaying pertinent into right on the device, such as what IP address the Pi Zero had pulled. Then he found the 2.13 inch e-Paper HAT for the Pi Zero from Waveshare, and it all clicked into place.

The final device, which he refers to as the StickPi, combines a Pi Zero W, the Waveshare e-Paper display, and a strip of protoboard featuring a few tactile buttons, all inside of a 3D printed case. To really get the most out of the internal volume of his case, [Ramin] soldered the header pins to the Pi Zero in the middle, allowing him to create a space-saving “sandwich” out of all the components.

With the e-Paper display, [Ramin] now has a way to show information on the device itself without having to connect to it over the network. But thanks to the tactile switches on the back connected to the Pi’s GPIO, he also has six programmable buttons that could do anything he wants.

In the most basic implementation, each button could execute a command or script on the Pi. But [Ramin] has something a little more advanced in mind. In the video after the break, he explains that his next step is going to be working on an actual user interface for the Pi’s e-Paper screen, making use of the roughly gamepad style layout of the rear buttons. A “paged” interface with scrolling options would allow the user to perform all sorts of functions quickly and easily, and we’re looking forward to seeing what he comes up with.

This isn’t the first time we’ve seen somebody try to turn the Pi Zero into a more mobile-friendly platform, and the construction method here actually reminds us of a much smaller version of the Zero Phone.

Continue reading “Pocket-size Pi Zero Desktop Features E-paper Display”

Graphing Calculator Dual Boots With Pi Zero

The nearly limitless array of consumer gadgets hackers have shoved the Raspberry Pi into should really come as no surprise. The Pi is cheap, well documented, and in the case of the Pi Zero, incredibly compact. It’s like the thing is begging to get grafted into toys, game systems, or anything else that could use a penguin-flavored infusion.

But this particular project takes it to the next level. Rather than just cramming the Pi and a cheap LCD into his Numworks graphing calculator, [Zardam] integrated it into the device so well that you’d swear it was a feature from the factory. By exploiting the fact that the calculator has some convenient solder pads connected to its SPI bus, he was able to create an application which switches the display between the Pi and the calculator at will. With just a press of a button, he’s able to switch between using the stock calculator software and having full access to the internal Pi Zero.

In a very detailed write-up on his site, [Zardam] explains the process of getting the Pi Zero to output video over SPI. The first part of the battle was re-configuring the GPIO pins and DMA controller. After that, there was the small issue of writing a Linux SPI framebuffer driver. Luckily he was able to find some work done previously by [Sprite_TM] which helped him get on the right track. His final driver is able to push 320×240 video at 50 FPS via GPIO, more than enough to kick back with some DOOM.

With video sorted out, he still needed a way to interface the calculator’s keyboard with the Pi. For this, he added a function in his calculator application that echoed the keys pressed to the calculator’s UART port. This is connected to the Pi, where a daemon is listening for key presses. The daemon then generates the appropriate keycodes for the kernel via uinput. [Zardam] acknowledges this part of the system could do with some refinement, but judging by the video after the break, it works well enough for a first version.

We’ve seen the Pi Zero get transplanted into everything from a 56K modem to the venerated Game Boy, and figured nothing would surprise us at this point. But we’ve got to say, this is one of the cleanest and most practical builds we’ve seen yet.

[Thanks to EdS for the tip]

Continue reading “Graphing Calculator Dual Boots With Pi Zero”

Pi Zero Gives Telescope Hands Free Focus

It seems like [Jason Bowling] never gets tired of finding new ways to combine the Raspberry Pi with his love of the cosmos. This time he’s come up with a very straightforward way of focusing his Celestron 127SLT with everyone’s favorite Linux SBC. He found the focus mechanism on the scope to be a bit fiddly, and operating it by hand was becoming a chore. With the Pi Zero and a stepper motor, he’s now able to focus the telescope with more accuracy and repeatability than clumsy human fingers will be able to replicate.

On this particular type of telescope, the focus knob is a small knob on the back of the scope (rather than on the eyepiece), which just so happens to be the perfect size to slide a 15mm bore pulley over. With a pulley on the focus knob, he just needed to mount a stepper motor with matching toothed pulley next to it and find a small enough belt to link them together. Through the magic of Amazon and McMaster-Carr he was able to find all the parts without having to make anything himself, beyond the bent piece of aluminum he’s using as a stepper mount.

To control the stepper, [Jason] is using an EasyDriver connected up to the Pi’s GPIO, which along with a 5V regulator (which appears to be a UBEC from the RC world) is held in a tidy weather proof box mounted to the telescope’s tripod. The regulator is necessary because the whole setup is powered by a 12V portable “jump start” battery pack for portability. Handy when you’re stargazing in the middle of a field somewhere.

[Jason] promises a future blog post where he details how he used Flask to create a web-based control for the hardware, which we’ll be keeping an eye out for. In the meantime, he reports that his automated focus system is working perfectly and keeps the image stable in the eyepiece even while moving (something he was never able to do by hand).

Last year this same scope had a Raspberry Pi camera mounted to it to deliver some very impressive pictures without breaking the bank. We’re interested in seeing how [Jason] ties these systems together going forward.

Cramming A Pi Zero Into A Cheap Handheld Game

At this point, we’ve seen the Raspberry Pi jammed into what amounts to every retro game system, handheld or otherwise, that was ever released. While they’re always fun builds, invariably somebody will come along who is upset that the original hardware had to be gutted to create it. It seems as if with each post, a classic gaming aficionado out there has his or her heart broken just a bit more. Will no one put an end to the senseless slaughter of Game Boys?

As it so happens, not all hardware modders are such unconscionable brutes. [Starfire] recently sent his latest creation into the tip line, and it’s designed specifically to address the classic gaming massacre in which Hackaday has so shamefully been a collaborator.  His build sacrifices a portable Genesis built by AtGames, and turns it into a Raspberry Pi Zero portable running RetroPie.

Opening up the back panel of his portable Pi shows an incredible amount of hardware smashed into the tiny package. Beyond the obvious Pi Zero, there’s a iUniker 2.8-inch LCD, a 2,200 mAh battery, a two-port USB hub, a Teensy microcontroller, a USB sound card, an audio amplifier, a LiPo charging module, and a boost converter. [Starfire] measured peak power consumption to be 500 mA, which should give about a 3.5 hour run time on the 2,200 mAh battery.

This is all the more impressive when you realize the original AtGames PCB is still in the system, albeit with the center cut out for the Pi’s LCD to fit in. Rather than having to figure out a new way to handle input, [Starfire] simply connected the existing inputs to the digital pins on the Teensy and used some code to convert that into USB HID for the Pi. A few case modifications were necessary, namely the removal of the battery compartment from the back panel and covering up the original SD card slot and ports; but otherwise the finished product looks completely stock.

If you don’t mind tearing into a real Game Boy to make your portable Pi, you can check out a few of the stand out examples which we’ve covered here in the past.

Continue reading “Cramming A Pi Zero Into A Cheap Handheld Game”

Color Changing Clock Gets A Pi Zero Heart

Hackaday reader [Don] dropped by the tip line recently to let us know about the latest version of his color-changing LCD clock project. This is his second version of the hardware which makes some pretty big improvements over the original, including moving from the Pi B to the Pi Zero and an internal simplification of the wiring. He mentions the next revision of the project will focus on Google Home integration, which should be interesting to see.

As a father of two pre-school age children, he was looking for a way to help his kids understand the concept of time and scheduled activities. Colors and shapes come fairly easy to children of this age, but time and how it relates to the day is a bit more difficult for them especially as their comprehension of numbers is still developing. [Don] reasoned that even if they couldn’t read the numbers on the clock yet, if he had the display change colors to indicate different periods of the day (sleep, play, cleanup, etc), it would not only keep them on schedule, but reinforce the meaning of the numbers on the screen.

ShiftBrite installed in the projector.

The project was made infinitely easier by a lucky find at a local retailer. For $10 he got a kid-friendly looking clock that utilized a simple projector to backlight the LCD display. This meant [Don] would just need to swap out the stock lighting module for a controllable RGB LED, and the hardware modifications would essentially be complete.

Even the Pi Zero fits perfectly inside the case of the clock, the only modification necessary was cutting a little hole in the back for the Pi’s micro USB port. His earlier version used an external Pi B connected to the clock via CAT5, so getting it all integrated into the one device is a huge improvement, especially when little kids are involved. Moving the Pi and its 5 V pins into the clock itself also allowed [Don] to drop the voltage regulator required previously.

With the basic hardware for a color changing LCD clock together, the rest of the project was just a matter of software. After some research, [Don] came across RPi-ShiftBrite by [Hive13] and made his own fork which added some features necessary for his project, namely the ability to quickly set the ShiftBrite to a specific color on the command line. To schedule the color changes, he used the very slick minicron: a web-based tool to create and monitor Linux cron jobs.

The Pi itself does not actually interface with the clock, and with no onboard RTC it’s necessary to keep it updated with NTP or else the times will become desynchronized. It can be necessary to sync the Pi’s clock to the Internet as often as every hour to make sure the colors shift at the appropriate times. The addition of a RTC module like the DS1307 could alleviate this issue and might be something to consider for a future revision.

All told, a fantastic project and something we’ll be sure to keep our eyes on as it progresses. We’ve seen our share of unique Raspberry Pi powered clocks, and even a few color changing ones, but this approach is easily the most straight-forward we’ve seen.

Continue reading “Color Changing Clock Gets A Pi Zero Heart”