1MHz, 2 Boards, 4 Bits And A Homebrew CPU

[Agp.cooper] saw a vintage 4Kx4 bit RAM chip and decided that it needed a CPU design to match. The TTL design fits on two boards and has a functional front panel.

This custom CPU project has a few interesting bits worth noting. First, it is small enough that you can wrap your head around it pretty easily. And [Agp.cooper] gives  a good account of the instructions set architecture choices he considered and why he settled on the final design.

Continue reading “1MHz, 2 Boards, 4 Bits And A Homebrew CPU”

Sunrise Alarm Clock With Organic Twist

Most hardware hackers have a clock project or two under their belt. A pretty common modification to a generic clock is to add lights to it, and if the clock has an alarm feature, it’s not too big of a stretch to try to get those lights to simulate a sunrise for a natural, peaceful morning alarm. The problem that a lot of us run across, though, is wiring up enough LEDs with enough diffusion to make the effect work properly and actually get us out of bed without an annoying buzzer.

Luckily for all of us, [jarek319] came up with an elegant and simple solution that should revolutionize all future sunrise alarm clock builds. He found a cheap OLED display and drove it with an LM317 voltage regulator. By driving the ADJ pin on the regulator, he was able to effectively drive the OLED with a makeshift PWM signal. This allows the OLED’s brightness to be controlled. [jarek319] threw some NTP code up on an ESP12E and did a little bit of programming for the alarm, and the problem is solved.

While an OLED is pretty much the perfect solution for a sunrise alarm clock, if you have a problem sourcing one or are just looking for an excuse to use up a strip of addressable LEDs, you can build a sunrise alarm clock out of almost any other light source.

Print Directly On Fabric With An Inkjet Printer

[fungus amungus] was reading online about printing directly on fabrics with a home printer. He’d read a few hopeful tutorials about printing on them with a laser printer, but he didn’t own one.

Considering that you can occasionally buy an inkjet for less than the ink, he decided to take the plunge and see if he could print on a swatch of fabric with his inkjet. The technique requires a printer, some wax paper, scissors, and an iron.

By adhering the wax paper to the fabric properly, it’s possible to run it through the printer without tears. (We’ll let you pick the heteronym.) The final step is to let the ink sit for an hour before running the iron over it again. This seems to cure the ink and it can even survive a few washings.

Being able to make any pattern of cloth on demand seems like a useful thing to keep in the toolbox!

Stormtrooper Voice Changer Helmet Uses Teensy To Mangle Audio

Halloween has come and gone, but this DIY voice changing Star Wars Stormtrooper helmet tutorial by [Shawn Hymel] is worth a look for a number of reasons. Not only is the whole thing completely self-contained, but the voice changing is done in software thanks to the Teensy’s powerful audio filtering abilities. In addition, the Teensy also takes care of adding the iconic Stormtrooper clicks, pops, and static bursts around the voice-altered speech. Check out the video below to hear it in action.

Besides a microphone and speakers, there’s a Teensy 3.2, a low-cost add-on board for the Teensy that includes a small audio amp, a power supply… and that’s about it. There isn’t a separate WAV board or hacked MP3 player in sight.

Continue reading “Stormtrooper Voice Changer Helmet Uses Teensy To Mangle Audio”

Visual Guide To The Best Hacker T-Shirts

Head out in the normal “civilian” world and look at the shirts around you. I don’t want to be too nasty about about it, but let’s face facts — the T-shirts you see will be boring and uninventive. Now compare that to your favorite hacker cons. We wear our shirts like they’re oil paintings.

Going into the weekend of SuperCon I had no intention of writing this post. But then I saw a really awesome shirt and already had the camera in my hands so I asked if I could snap a picture. A bit later that day it happened again. Then I don’t know what came over me. Here are my favorites, but I’ve curated an epic number of great garments for your viewing pleasure after the break.

Continue reading “Visual Guide To The Best Hacker T-Shirts”

DIY Coprocessors For The Game Boy Color

Back in the olden days, when video games still came on cartridges, the engineers and programmers making these carts had a lot of options. One of the most inventive, brilliant, and interesting cartridges to come out of the 90s was Star Fox for the Super Nintendo. Star Fox featured a coprocessor chip, the Super FX, that was effectively a GPU used to draw polygons in the frame buffer. Without this, Star Fox wouldn’t be 3D, Yoshi’s Island wouldn’t be as cute, and there wouldn’t be an always-on processor in your computer with the potential to spy on everything you do.

gameboy-coprocessor-cartridgeThe Super FX chip, the Capcom-developed Cx4 coprocessor, and the Nintendo DSP all lived in a cartridge, but the technology to put a better computer in a cartridge never made it to Nintendo’s handheld devices. Cheap, powerful microcontrollers are everywhere now, and it’s not that hard to make a board with card edge connectors, leading [Anders] to build a Super FX for the Game Boy Color.

Game Boy cartridges are simple — just a memory controller and some memory is all you need. Drop in a microcontroller, and you have a Game Boy coprocessor. This cartridge features the MBC1 memory bank controller, 512kB of Flash, and 8KB SRAM. These are fairly standard parts, but there’s one last trick up the sleeve of this board: a KE04 from NXP, an ARM Cortex-M0+ microcontroller running at 48MHz . This microcontroller is, effectively, the GPU for the Game Boy.

This ARM-powered coprocessor is able to convert the framebuffer into tiles in just 2ms, giving the system plenty of time for image processing and rendering. Due to the limitations of the Game Boy, the best resolution offered by this coprocessor is either 160×96 or 128×128 pixels, short of the complete 160×144 pixel display in the Game Boy Color.

Even though [Anders] is still working on programming this thing to show off the power of his Game Boy coprocessor, he has a few demos to show off. The most impressive is a Wolfenstein-like clone. That’s extremely impressive and categorically impossible on a stock Game Boy Color.

Continue reading “DIY Coprocessors For The Game Boy Color”

My Life In The Connector Zoo

“The great thing about standards is that there are so many to choose from.” Truer words were never spoken, and this goes double for the hobbyist world of hardware hacking. It seems that every module, every company, and every individual hacker has a favorite way of putting the same pins in a row.

We have an entire drawer full of adapters that just go from one pinout to another, or one programmer to many different target boards. We’ll be the first to admit that it’s often our own darn fault — we decided to swap the reset and ground lines because it was convenient for one design, and now we have two adapters. But imagine a world where there was only a handful of distinct pinouts — that drawer would be only half full and many projects would simply snap together. “You may say I’m a dreamer…”

This article is about connectors and standards. We’ll try not to whine and complain, although we will editorialize. We’re going to work through some of the design tradeoffs and requirements, and maybe you’ll even find that there’s already a standard pinout that’s “close enough” for your next project. And if you’ve got a frequently used pinout or use case that we’ve missed, we encourage you to share the connector pinouts in the comments, along with its pros and cons. Let’s see if we can’t make sense of this mess.

Continue reading “My Life In The Connector Zoo”