Veronica 6502 Gets Keyboard Input Via USB

PS2

When building a homebrew computer, there are a few milestones that make all the work seem worth it. Of course, seeing the CPU step through address lines on the blinkenlights is near the top, but even more important is being able to type a character on a keyboard and have it show up on a display. [Quinn] didn’t want her Veronica computer to deal with serial terminals or PS/2 keyboards when she typed her first characters in; instead she wanted to read a USB keyboard using 80s-era hardware.

Back in the early days of USB, design specs and keyboard manufacturers included a legacy mode in nearly every USB keyboard ever manufactured. This allows a USB keyboard to work with the ancient PS/2 protocol. [Quinn] tapped into that functionality nearly every PS/2 keyboard has using a 6522 Versatile Interface Adapter. This VIA is in the same family of chips as the venerable 6502 CPU that provides GPIO pins and timers.

[Quinn] connected the keyboard connector tapped for PS/2 input to an ATtiny13. This microcontroller reads the scan codes from the keyboards and sends them to the VIA and the rest of Veronica. It’s quite a bit of work to get to this point, but [Quinn] finally has a computer she can type on, the first step to developing software for her homebrew computer.

A Custom Starcraft Keyboard

keybaord

What do you do if you’re looking for a project, but don’t know what to do? If you’re [gltovar], just look around at your hobbies. He’s been playing Starcraft for a while and finally decided to build a custom Starcraft keyboard.

[gltovar] came across an interesting keyboard layout known as TheCore. Ostensibly, this layout allows the player faster access to the commands most used when playing Starcraft. [gltovar] decided he needed a keyboard specifically designed for TheCore, and set about making one of his own design.

The keyboard matrix is designed around a 1×5 row of keys, each attached to a Teensy microcontroller acting as a USB device. Each of these rows are a separate circuit board, allowing [gltovar] to move the rows up and down ergonomically in a custom enclosure.

It’s everything [gltovar] wanted in a custom keyboard. Whether it improves his Starcraft game is another story entirely, but we’re sure he’s at least having fun.

Continue reading “A Custom Starcraft Keyboard”

An XBMC Controller Built For Grandma

10-finished-controller

Is your grandmother cool enough to use XBMC? Maybe it’s a testament to the functionality of the wildly popular home entertainment suite rather than the hipness of your elders. But indeed, [Brian’s] grandmother is an XBMC user who needed a controller with larger buttons to accommodate her. This is what he built. He sent us a set of photos and a description of the build, both of which you can see below. He was inspired to get in touch after reading about the custom controller which [Caleb] has been working on for [Thomas].

[Brian] didn’t get bogged down with electronics. He went with the simple, cheap, and popular solution of gutting a wireless keyboard. After tracing out the keys he needed he got rid of everything except the PCB. A wiring harness was crafted by soldering jumper wires to the PCB traces and terminating them with crimping slide connectors. The arcade buttons he used have terminals for the connectors which will make it simple to mate the electronics with the mechanics.

The enclosure is a little wooden hobby box. It originally had a lid with a mirror. [Brian] broke open the lid’s frame to replace it with a thin piece of plywood which hosts the buttons. Inside you’ll find a battery power source. These keyboards last a long time on one set of batteries so he just needs to remember to preemptively replace them from time to time. The finishing touch was to add decals so that granny can figure out what each button does.

Continue reading “An XBMC Controller Built For Grandma”

Build A Waterproof Music Controller On The Cheap

shower-controller-for-music-playback

[Aaron] wrote in to show off the waterproof music controller (translated) he just finished building. He uses it in the shower — which makes us wonder how long he’s spending in there. We could also see it being useful by the pool, on the beach, or anywhere else that you need a cheap and easy control system.

His computer plays tunes while he’s getting ready for the day. This means he was able to use an inexpensive wireless keyboard for control. The donor keyboard has dedicated music control keys which he carefully traced to the PCB before removing the flexible sheets that detect key presses. Next he found a water tight food container and sized his protoboard to fit. You can see his button layout above. Holes were cut in the lid of the container, with a plastic membrane glued on the underside. This will keep the water out while still allowing him to actuate the momentary push switches.

Most mobile devices will work with wireless keyboards. If your car is nearby just hook your phone to the stereo and control it with this rather than building a dedicated beach stereo system.

Quick And Dirty Touch-sensitive Keyboard Project

quick-dirty-touch-sensitive-keyboard

You don’t have to have high-quality parts to play around with electronics and here’s a great example. [Vishal] used junk to play around with CapSense, the touch sensitive Arduino library. What he ended up with is this touch-based piano keyboard.

We’ve featured the CapSense library in the past, but even that example uses a very meticulously crafted test rig of foil tape, protoboard, and some resistors. If you still haven’t given it a try follow this example of using aluminum foil, electrical tape, and a cardboard box.

[Vishal] just sandwiched the end of jumper wire between two pieces of foil to make each ‘key’. We believe the other end of the wire is soldered to the bias resistors where they connect to a couple of pin headers. The headers were hot-glued in place through holes in the bottom of the box, making the entire rig simple to plug into the Arduino board driving it. After adding in a small speaker and flashing the code he’s finished. It certainly makes for a short afternoon project which you won’t feel bad about taking apart later since you didn’t sink a ton of time or resources into the build.

One Man’s Adventures In Custom Keyboard Development

BlueCube-flat

As a software developer, [suka] spends a lot of time every day in front of a keyboard. He had been trying out different keyboard layouts far less common than even the moderetly obscure Dvorak layout, and after some time decided a custom ergonomic keyboard was what he wanted. His progress of designing his own custom ergonomic keyboard is a fascinating read, made even cooler by the fact these are real, professional-quality keyboards with mechanical switches and custom enclosures.

After starting off with a few USB numpads, [suka] dove in to the world of Cherry switches by crafting his own wing-style keyboard. [suka] works for one of the larger manufacturers of laser-sintering machines, so he was able to create the enclosures for his keybaord – as well as the key caps – fairly easily. The technology behind laser sintering allowed [suka] to create some strange bowl and trough-shaped keyboards before settling on his daily driver, seen above.

The Blue Cube, as [suka] calls it, includes an integrated stand, an integrated IBM trackpoint mouse, and is powered by a Teensy microcontroller. [suka]’s keyboards might not be heafty enough for melee combat like the venerable IBM Model M, but it’s exactly what [suka] wants, and that’s just fine by us.

Auto Dimmer Hacked Into Keyboard Backlight

keyboard-backlight-auto-adjustment

As the title says, [José Faria] added the ability to adjust his keyboard backlight based on ambient light levels. But that’s just one of the things he did during his hacking extravaganza with this Razer BlackWidow Ultimate.

When he first received the peripheral he didn’t like the blue LEDs used as backlights. So he removed all of them and put in white ones. He doesn’t talk too much about that but we’d image it was a ton of work. The new color was pleasing, but then the ability to adjust their brightness started to irritate him. There are four predefined levels and that’s all you get. Even the GUI which has a slider for adjustment couldn’t go outside of those levels.

His solution was to augment the controller with his own. He patched in an AVR chip to the transistor which controls the low side of the LED circuits. While at it he also noticed that the keyboard case was actually translucent. This let him hide a photosensor inside which automatically adjusts the light levels. But he did it in a way that still allows him to use the original functionality with the flip of a switch. See for yourself after the break.

Continue reading “Auto Dimmer Hacked Into Keyboard Backlight”