hudson

I like to take things apart. Sometimes they work when I'm done.

Hex-curious?

 Uncategorized  No Responses »
Nov 032011
 

Have you ever wondered how to make sense of hexdumps?

e1a02000e5d00000 e3500000012fff1e
e3a00000e2800001 e7d23000e3530000
1afffffbe12fff1e

Or been curious to know what exactly does a bxeq lr instruction mean in assembly?
<br />
   0:   e1a02000        mov     r2, r0<br />
   4:   e5d00000        ldrb    r0, [r0]<br />
   8:   e3500000        cmp     r0, #0<br />
   c:   012fff1e        bxeq    lr<br />
  10:   e3a00000        mov     r0, #0<br />
  14:   e2800001        add     r0, r0, #1<br />
  18:   e7d23000        ldrb    r3, [r2, r0]<br />
  1c:   e3530000        cmp     r3, #0<br />
  20:   1afffffb        bne     0x14<br />
  24:   e12fff1e        bx      lr<br />

If so, then you should sign up for the introduction to assembly programming and reverse engineering class. You can learn assembly programming and machine architecture using reverse engineering techniques on your own code. In this class we will write code, compile it into an executable and then disassemble it to learn about registers, stacks, branches, function calls and argument passing, structs and other common idioms.

Experience with any programming language is required; the examples in the class with be in C, with dissassembly into ARM assembly. Bring your own laptop with arm-elf-gcc and associated binutils installed to follow along.

 Posted by at 8:22 pm
Oct 152011
 

EL wire nixie prototype
Catarina helped me build a prototype of a “Nixie” tube illuminated with electroluminescent wire. Unfortunately the wires are too dense and too dim to work well with the ten layers of thickness, so the prototype is a beautiful failure. The number frames are based on Futura and cut on our Epilog laser using my opensource epilog driver. Side view and SVGs follow.
Continue reading »

 Posted by at 8:34 pm
Oct 012011
 

3D printed x-stageXY table dry fit
I’ve been inspired by the Lasersaur project to try building an XY table for laser cutting, Makerbotting, and light duty milling. The brackets, motor mounts and carriages are all 3D printed on NYCR’s Makerbot Thing-o-matic. Today I was able to put most of the pieces together for a dry fitting and found a few bugs — the carriages have too much play and will bind if pulled from the side, so the pull-pull belts will need to be moved to the inside of the rails, which will require all the carriages to be redesigned. The good news is that the printed teeth to engage the belt are well positioned to secure the belt under the rails without any additional hardware.

 Posted by at 1:15 pm
Jul 172011
 

Epilog laser test
One of NYCR’s most popular weekly events is Lunar Laser Mondays using our Epilog mini-35 laser cutter. The only supported system is Windows with CorelDRAW and Epilog’s closed source driver, which doesn’t seem right for a hackerspace. Luckily, AS220 Labs has figured out how to talk to the Epilog using PJL. I’ve written a command line tool, epilog, that will translate the Postscript file into commands for the cutter.
Continue reading »

 Posted by at 3:45 pm

WLAN Party!

 Uncategorized  2 Responses »
May 292011
 

NYCR Lan party
We had an all-day / all-night LAN party at NYCR yesterday, with over a dozen players in ioquake3 on a mix of OS X, Linux, and Windows machines. There were lots of pizzas, highly caffeinated beverages and one combatant had a full-sized monitor for the extra old-school feel. Everyone was on the WiFi network (and the quake server was running in the router), so there were not any Ethernet cables, making it a WLAN Party instead.

 Posted by at 12:25 pm
May 112011
 

Keychain update
Reinventing the keychain

I’m tired of my keys always jangling in my pocket, so I built a key-multi-tool out of a Crank Brother’s M5 bicycle tool. While I had the tool disassembled, I rearranged it so that the M3, M4 and #2 phillips were on the same side, which leaves room for five keys on the other side. It turns out other people had the the same idea. My keys still need cutting down since the key heads on the Medco keys are so large.

 Posted by at 11:01 pm

NYCRcade

 Uncategorized  No Responses »
May 072011
 

NYCRcadeChris Fenton will be demoing his contribution for the interactive party on Saturday: the NYCRcade is a collection of NYCR-themed arcade games for your playing pleasure. Try and beat ‘em all!

 Posted by at 1:27 am
Apr 262011
 

Inspired by Ranjit’s instrument-a-day (Make coverage), I’m writing a new wrist watch face every day for my progamable inPulse watch (more background). The full sources are posted online for others to build on.

Utah Teapot renderingOdometer clockphoto.JPG

Day 1 was a fixed point 3D rendering engine with a rotating Utah Teapot, day 2 was a rolling odometer or aviation altitude ticker display and day 3 is a 24-hour analog clock. This last one still needs some work.

 Posted by at 1:26 pm
Mar 072011
 

The inPulse watch is a great platform to hack on. It has an ARM7, 32 KB of flash and 8 KB of RAM, Bluetooth, a buzzer, an OLED screen and a button. Not much by today’s standards, but plenty to play around with. The programming environment is very much like a microcontroller; no multitasking, no dynamic memory, and very constrained memory/cpu. That is, of course, what makes it so much fun.
Continue reading »

 Posted by at 11:14 pm