I like to take things apart. Sometimes they work when I'm done. I've been a member of NYC Resistor since 2010 and you can see more of my projects at

Jul 192012

Standing desk with foot pedals

I’ve recently switched to a standing desk from Geek Desk and wanted to be able to free my hands for more important things, like drinking coffee. The foot pedals are a cast off Behringer FCB1010 MIDI foot controller, which outputs events as MIDI messages. To make it work with any computer without requiring additional software, I wrote a combination MIDI to USB HID mouse and keyboard converter that runs on a Teensy 2.0.

The Teensy translates the pedal events into various mouse or keyboard events (Escape to return to command mode in vi, Shift-Insert to paste the X11 cut buffer, mouse wheel events for the pedals, etc). Full source is available to build your own and configure your own mappings. Read on for some details on the hardware interface.
Continue reading »

 Posted by at 8:50 pm


 Uncategorized  1 Response »
Apr 052012

alternate reality. #hackfriday

Last November, johngineer proposed #hackfriday, a day for hackerspaces to work on projects. Tomorrow is a holiday from work for many of us, so a bunch of will be hacking away at NYC Resistor. What projects will you work on this long weekend?

 Posted by at 10:18 pm
Mar 112012

4x5 to 35mm adapter

I recently acquired an early 1900′s Gundlach 4×5 view camera with a few lenses and designed an adapter to mount a modern DSLR body where the film plane would go. There is no lens connected to the SLR — the 4×5 lens images directly onto the CMOS sensor. The bracket design is thing:18989 and can likely be adapted for other field or monorail cameras. There are some limitations with the design, but it works acceptably well in practice.

Continue reading »

 Posted by at 11:09 pm
Jan 192012

New in NYC Resistor vending machines

New in the NYCR vending machines are Teensy 2.0 boards. They have ATMega32U4 chips, which have the built in USB drivers and, via LUFA, can appear as any USB device, not just a serial communications device. Want to make a MIDI device show up as a USB keyboard? Or a core memory as a mass storage device? You can do that! The USB doesn’t consume a UART, so there is still a serial port available for interfacing with GPS or other external RS232 devices.

PJRC makes the Teensyduino plugin for the Arduino IDE and a set of compatible libraries so that you can use it with your Arduino sketches. Or you can drop into straight C and take full advantage of all of the AVR pins.

Update: They are very popular! Three were bought during Craftnight tonight.

 Posted by at 7:09 pm