GameGirl: A Better Portable Raspberry Pi

For better or worse, the most popular use for the Raspberry Pi – by far – is media centers and retro game consoles. No, the great unwashed masses aren’t developing Linux drivers for their Pi peripherals, and very few people are tackling bare metal ARM programming. That doesn’t mean creating a handheld console based on the Pi isn’t a worthy pursuit.

For their entry for the 2016 Hackaday Prize, [David] and [Jean-André] are building a portable Pi console that’s much better than an old Bondo-encrusted Game Boy enclosure stuffed with hot glue and wires. They’re doing this project the right way with a hardware accelerated display, custom software, and a high quality case.

[David] is in charge of the hardware, and that means making a very, very small handheld console. The design of this GameGirl is extremely similar to the old-school Game Boy Pocket (or Game Boy Light). There’s a D-pad, four buttons, select, start, and two ‘shoulder’ buttons on the back. The build is based on the Raspberry Pi Zero, and thanks to the Pi’s standard 40-pin header, [David] is able to configure the display to use an RGB565 DPI interface. This means the display is stupidly cheap while still leaving a few GPIO pins left over for the SPI, buttons, backlight, and PWM audio.

[Jean-André] is the other half of the team, and his contributions to open source software make him exceptionally qualified for this project. He’s the main developer for Lakka, a DIY retro emulation console, and the #5 RetroArch contributor. No, this project isn’t using RetroPie – and there’s a reason for that. Emulator hackers are spending a lot of time optimizing emulators for the Raspberry Pi, only because of RetroPi. If these emulator hackers spent their time optimizing for an API like LibRetro, you could eventually play a working version of Pilotwings 64 on the Raspberry Pi and every other platform LibRetro is available for. All the effort that goes into making a game work with a Raspberry Pi is effort that goes into making that game work for the PSP, Wii, iOS, and a PC. Yes, its philosophical pissing in the wind while saying, ‘this is what the community should do’; this is open source software, after all.

With the right ideas going into the hardware and software, [David] and [Jean-André] have an amazing project on their hands. It’s one of the most popular entries and are near the top of the charts in the community voting bootstrap effort where every like on a project gets the team a dollar for their project. GameGirl is shaping up to be a great project, and we can’t wait to see the it in action.

The HackadayPrize2016 is Sponsored by:

Designing A 360 Degree All Metal Hinge

Looking for a 360 degree hinge that had no slop was harder than [Mr. LeMieux] thought it would be. Add to the fact it had to be made completely out of metal with no plastic components — and basically fireproof. He was coming up blank.

You see, [Mr. LeMieux] is casting metal components, and needed a hinge to close two halves of a mold. When he couldn’t find anything commercially available, he decided to design his own. Using aluminum, he machined the two halves with an interlocking mechanism between the two. Essentially, it’s a 3-bar linkage, but if he stopped there, it would have too much slop. So he actually designed in two fixed gears that roll over each other — this ensures the hinge stays perfectly smooth throughout its entire range of movement — it’s actually quite ingenious.

Continue reading “Designing A 360 Degree All Metal Hinge”

Hackaday Links: April 17, 2016

There have been really cool happenings in the CNC world for the past few years. There is a recent trend of portable, handheld CNC machines. Yes, you read that correctly. This SIGGRAPH paper demonstrated a handheld router with a camera and a few motors that would make slight corrections to the position of the router. Load in a .DXF or other vector file, and you become the largest CNC machine on the planet. We saw it at one of the Maker Faires, and about a year ago the team soft launched. Apparently, the Shaper router is gearing up for production and [Ben Krasnow] got the first look with a full 17-minute demonstration of [Ben] fabricating parts out of aluminum. It looks like a great tool, and we can’t wait to see this thing in production.

Octoprint is the best way to give a 3D printer a web interface. The dev for Octoprint, [Gina Häußge] used to have a sponsor for developing Octoprint. They’re gone now, which means it’s time for [Gina] to start a Patreon. If you use Octoprint, you know it’s worth more than a dollar a month.

Really bad USB power supplies are nothing new around these parts. There are cheap USB supplies that don’t have any fuses, don’t have any circuit protection, and are noisy as hell. This is the worst USB power supply the Internet has to offer. It’s from one of the relatively new designs of USB power supplies that steps down mains voltage to five USB A ports. [bigclive]’s teardown revealed this was passing half wave mains voltage to the USB ports. It can light up a light bulb. It can kill your phone. The fault? A pinhole in the insulation between the windings of the transformer.

Electronic conference badges are getting excessive, but they can be so much cooler. Here’s Atmel’s take on a high-end conference badge. It has a display, sensors, WiFi, Bluetooth, runs Android, and has 512MB of RAM, 4GB of Flash. It’s a freakin’ mini tablet meant to last for three days.

Speaking of Atmel, they’re having a few growing pains in the merger with Microchip. Employees coming to Microchip from Atmel are getting their severance benefits cut in half. Apparently, the severance benefits given to Atmel employees were not communicated to Microchip before the merger.

Raspberry Pi Zeros are back in production. There’s also going to be a mysterious new feature. Is it WiFi? No, it’s confirmed not to be WiFi. How about Ethernet? Bluetooth? an RTC? Full size HDMI port? Actual pin headers? Audio port? Improved CPU / RAM? No, children. It’s none of these.

C.H.I.P., the nine dollar computer that made some waves last summer, has on-board Flash storage. That means you don’t need to put an image on an SD card. The folks behind C.H.I.P. have recently improved the method for flashing a new OS onto their tiny board: a Chrome plugin. Yes, this sounds completely bizarre, but Chrome plugins are becoming increasingly popular for USB gadget wizardry. You can program an Arduino with Chrome and log USB power profiles with a USB tester and Chrome. You will ride eternal, shiny and chrome.

RFID Lock Keeps Your Bike Safe

What do you do with an RFID chip implanted in your body? If you are [gmendez3], you build a bike lock that responds to your chip. The prototype uses MDF to create a rear wheel immobilizer. However, [gmendez3] plans on building a version using aluminum.

For the electronics, of course, there’s an Arduino. There’s also an RC522 RFID reader. We couldn’t help but think of the Keyduino for this application. When the system is locked, the Arduino drives a servo to engage the immobilizer. To free your rear wheel, simply read your implanted chip. The Arduino then commands the servo to disengage the immobilizer. You can see the system in operation in the video below.

Continue reading “RFID Lock Keeps Your Bike Safe”

Are You In Bed?

If you’re building an omniscient home-automation system, it’s ability to make decisions is only as good as the input you give it. [Petewill]’s self-made panopticon now knows when someone is in bed. That way, the [petewill]’s automatic blinds won’t open when he’s sleeping late on weekends.

[Petewill] didn’t take the easy way out here. (In our mind, that would be a weight sensor under one of the bed’s feet.) Instead, his system more flexible and built on capacitive sensing. He’d tried force sensors and piezos under the mattress, but none of them were as reliable as capacitance. A network of copper tape under the mattress serves as the antenna.

Continue reading “Are You In Bed?”

Building The First Digital Camera

While the official history of the digital camera begins with a Kodak engineer tinkering around with digital electronics in 1975, the first digital camera was actually built a few months prior. At the Vintage Computer Festival East, [William Sudbrink] rebuilt the first digital camera. It’s wasn’t particularly hard, either: it was a project on the cover of Popular Electronics in February, 1975.

Cromemco catalog page for the Cyclops, the first digital camera
Cromemco catalog page for the Cyclops, the first digital camera

[William]’s exhibit, Cromemco Accessories: Cyclops & Dazzler is a demonstration of the greatest graphics cards you could buy for S-100 systems and a very rare, very weird solid-state TV camera. Introduced in the February, 1975 issue of Popular Electronics, the Cyclops was the first digital camera. This wasn’t a device that used a CCD or a normal image sensor. The image sensor in the Cyclops was a 1 kilobit DRAM from MOS, producing a digital image thirty-two pixels square.

The full description, schematic, circuit layout, and theory of operation are laid out in the Popular Electronics article; all [William] had to do was etch a PCB and source the components. The key part – a one kilobit MOS DRAM in a metal can package, carefully decapsulated – had a date code of 1976, but that is the newest component in the rebuild of this classic circuit.

To turn this DRAM into digital camera, the circuit sweeps across the rows and columns of the DRAM array, turning the charge of each cell into an analog output. This isn’t a black or white camera; there’s gray in there, or green if you connect it to an oscilloscope.

This project in Popular Electronics would be manufactured by Cromemco in late 1975 and was released as their first product in January, 1976. The Cromemco was marketed as a digital camera, designed to interface with the MITS Altair 8800 computer, allowing anyone to save digital images to disk. This was the first digital camera invented, and the first digital camera sold to consumers. It’s an amazing piece of history, and very happy [William] was able to piece this together and bring it out to the Vintage Computer Festival this weekend.

Save A Spaceship With Spacehack!

York Hackspace needed a demonstration piece to grace their stand at Maker Faires and similar events. Their solution was Spacehack, a multi-player control console based starship emergency simulator game. Each Spacehack player has console with a selection of displays, switches, dials, and levers. Players must operate their controls in response to a series of sometimes confusing commands the game supplies them from their fellow crew members. Each wrong move brings the disaster-prone ship closer to destruction, and the aim is to keep it spaceworthy for as long as possible. The result is an engaging and addictive draw for the hackspace.

Behind the brilliantly designed consoles, silver ducting and pyramidal hub box the game relies on a Raspberry Pi acting as a server and a Beaglebone Black for each player. All resources can be found on York Hackspace’s GitHub repository. The hackspace has a selection of videos on the Spacehack website, the one below the break shows the game as well as a montage of its construction. Continue reading “Save A Spaceship With Spacehack!”