Categories
Projects

Uncluttering with a Closet Workbench

(The photos are located at Adam’s Workbench)

I live in a pretty cool apartment building in south Minneapolis. While I’m lucky enough to have room to use a second bedroom as an office, the office doesn’t have enough space for a workbench. Even if it did have enough space for a workbench, I wouldn’t be able to keep work in progress on it without the room getting too cluttered. So I’m stuck hauling out a box labeled “Soldering Stuff” to the kitchen, constantly fearful of damaging the the kitchen table. I’m pretty handy with a soldering iron, but hey, fear is the mindkiller. I clean up after myself pretty well, but any stray lead solder bits that found themselves in a digestive tract would be dangerous.

When I lived in a 13×13 dorm room with a roommate, I used a lab bench I made from a melamine shelf on a pair of plastic saw horses. This was cheap, and fit under my bed when it wasn’t being used. The melamine held up well to solder burns and really added to the work surface. Once again, however, the bench needed to be put away or the room was unusable for anything else.

The time cost of setting up and breaking down an electronics workbench has been so high it had essentially eliminated my hardware tinkering–until now.

The office closet contained a half-height chrome wire shelfing unit, purchased at Target shortly after we moved in. It held around twenty clear plastic boxes, each about the size of a shoe box. These were labeled, and contained computer parts, electronics, and tools. Next to this was a toolbox, a tackle box I had already hacked to carry solderless breadboards and their projects, and a bunch of empty space.

Right half of closet with wire shelfing unit and plastic boxes

I figured I could put a table in this space, use some clip-on lights as task and background lighting, and have a pretty functional work area. As long as the table didn’t stick out, I figured I would be able to close the sliding doors. With this, I would finally be able to have a workspace I could keep a project in progress on.

After measuring the space (33″ x 25″ x 65″), my fianceé found the Galant table at Ikea. It came with a melamine finish and fit inside the space perfectly.

While at Ikea, I grabbed a power strip with an on-off switch. Another department store had reasonably priced whiteboards. After I hung the whiteboard on the back of the closet and ziptied the power strip to the side of the wire rack, the workspace was complete.

109_2852

Well, almost complete. I printed out a few pictures (1, 2) of everyone’s favorite DIY science heroes, Adam Savage and Jamie Hyneman of Mythbusters and stickytacked them to the wall.

I now have a pretty functional work bench that fits inside the closet of my apartment. I wouldn’t have thought such a tight fit would have produced the nice results they did, but I’m pretty impressed. I can just open the door, roll my office chair over, and work on my very own bench. When I’m done, I can close the door and put my chair back at my desk.

My favorite part that I didn’t anticipate? My soldering iron is much less of a hassle when the cord is out of the way, over my head, looped over the closet bar.

I’ve got more photos at the photoset Adam’s Workbench.

109_2858

What tools are my favorite? Oh, I replaced my Radio Shack iron with a $45 Weller, and am amazed at how much more I solder things when I don’t have to wait 10 minutes for it to heat up. I also got a Panavise Jr. for Christmas (Thanks, Mom!) and it’s a dream for soldering to boards, because its so easy to flip the board over.

Categories
Projects

Actiontastic Exporter v0.1

I love Actiontastic. I really do. After I realized how much I was relying on it, I read a few Django tutorials and started work on an open-source clone. The morning I was going to release my clone to the world, the author of Actiontastic announced he was going to open source Actiontastic. *sigh*

Anyway, he pledges a sweet XHTML/CSS export eventually, but until then, there is no export. However, the data is stored in an sqlite database, so I wrote a little bit of python to export actions to plain text.

Pretty pictures first!

Screenshots:

  • Actiontastic Exporter showing the help screen
  • Actiontastic Exporter sorting by project
  • Actiontastic Exporter sorting by project with more information
  • Actiontastic Exporter exporting to a file

This is a python script, intended for use in the terminal or in scripts. To use in the terminal, extract the zip, and open a terminal. Use cd to enter the directory of the zip, and run python actiontastic-exporter.py. For help and options, run python actiontastic-exporter.py -h.

If you extracted it to your desktop, it will be like this:

cd ~/Desktop/actiontastic-exporter-v0.1/
python actiontastic-exporter.py
python actiontastic-exporter.py -h

It can export the output to a file. It can read from an alternative input sqlite database. It can put a little more information in the exports if you want, and it will sort by project or context. It preserves action ordering within projects and contexts.

It ignores actions that are in the inbox, and ignores completed actions.

Actiontastic Exporter requires Python 2.4. This is newer than the python shipped with any Mac at this point, and I debated on writing my own sorted() so that people could use this without upgrading their python install. However, since Actiontastic Exporter requires pysqlite2, which doesn’t come stock, and the python install is *so* easy, I decided to use the builtin.

Requires:

It never writes to the database, but if it destroys your Actiontastic database, please don’t be angry at me. Please backup your ~/Library/Application Support/Actiontastic.sqlite.

Anyway, you can download Actiontastic Exporter at the main project page at http://feelslikeburning.com/projects/actiontastic-exporter/.

Any feature requests, questions, or comments, feel free to comment below or email me using the contact form.

Categories
Projects

Gregarius Sticky Post Exporter

The project page is located at http://feelslikeburning.com/projects/gregarius-sticky-exporter/.

I use Gregarius for my feed aggregator and reader. I’ve had a busy semester, and have marked close to 2000 items as “sticky” so I can read them when I have more time. I don’t like the built-in “Browse Sticky” functionality, and would prefer something basic, but flat. I want to be able to save it, and use it to check off what I’ve read in my massive backlog of items.

Gregarius Sticky Exporter

I waded through the PHP and SQL, and talked with Matthew a bit, and came up with a little .php file.

You can download it at http://files.feelslikeburning.com/gregarius-sticky-exporter/gregarius-sticky-exporter.zip.

To install, download the zip, extract it, put your database information in, and upload it to your webhost. Hit the page with your web browser, and it should generate the list. It doesn’t modify your database at all.

It doesn’t contain all the information in the tables, just the title, the url, and the body of each feed. The title is linked to the url, and the body is displayed after the titles. If you’re interested in something extra in your exports, feel free to contact me.

Categories
Projects

Idea: Word Processor

Imagine this. An ergonomic keyboard with a smallish LCD under the spacebar. It is powered by a few batteries, and has a backlight on/off switch, and a regular unit on/off switch. It has an SD slot, and a USB port.

You type, it shows up on the LCD. ? You can save to different files, having one for each class.? You can open other text files, edit them, and save them.? There may even be space for a game or two :-P.

It saves the data on the SD card, and you can download/upload data just like a thumbdrive.

Total cost for a single unit? Less than $50 dollars.

Categories
Projects

HOWTO: emulate a TI-89 in Linux using Wine

I was able to get a TI-89 on my desktop fairly painlessly using Wine. Years ago, I owned an 89, but it was destroyed in a tragic high school chemistry lab.

  1. First, I downloaded and installed wine 0.9.4.
  2. I then used WineTools vt0.9jo to properly setup my wine environment, installing all the Windows pieces that makes wine so much easier to work with.
  3. I downloaded Virtual TI from http://www.ticalc.org/archives/files/fileinfo/84/8442.html
  4. I extracted the vti.zip, and moved it inside my ~/.wine/drive_c/Program Files/ so it would be easier to find, and along with all my other Windows apps.
  5. I then found the rom backup from before the chemistry disaster, and moved it into the vti folder as well.
  6. I ran Virtual TI with wine ~/.wine/drive_c/Program Files/vti/Vti.exe and told it where to find the rom.

Virtual TI on Linux

Now, I can do my homework with the same hardware I’ll borrow from my roommate to use during the test!

Categories
Projects

Solderless Breadboard Carrier Followup

On October 21, my breadboard carrier project hit the front page of Hack A Day.

Later that night, it hit the front page of MAKE: Blog.

Roaming through my statistics, I can see that Don Marti probably clicked through. That’s kinda cool.

Someone clicked through from an email message at Yahoo Mail. The article was del.icio.us’ed and sent through a web translator. Someone checked my site through their cellphone, and 74 people were using FreeBSD.

Numberwise, about 4000 unique visitors showed up, and I received approximately 26,000 hits. That averages out to about six hits a visit, which is nicer than one. I used 173 megs of bandwidth.

Anyone have any suggestions for my next project?

Categories
Projects

Make a Solderless Breadboard Carrier

Problem:

  1. A DIP40 chip, specifically, my PIC18F452 microcontroller, takes up too much space on a single breadboard.
  2. It can be easy to mix up power and ground.
  3. I hate prying large ICs out of breadboards.
  4. Most importantly, carrying around a raw breadboard with a project on it is a pain.

Solution:
A “MEGA Multi Tackle Carrier Bait Box” can be used to carry a pair of solderless breadboards, spaced such that there is an airgap terminal strip spaced at .600 inches, the sizing for the larger DIPs, like the DIP40s. A binding post pair can be prewired to allow the use of banana plugs to power the board as well.

Supplies:

  1. 1 “MEGA Multi Tackle Carrier Bait Box” from Walmart
  2. img_1693

  3. 2 solderless breadboard bus strips and 2 solderless breadboard terminal strips
  4. I used Jameco P/N 20722 and Jameco P/N 20669. If you go this route, make sure the power bus strips are removable.

  5. Double banana binding posts
  6. img_1676
    I used something from Radio Shack, identical to Jameco P/N 125196

  7. Some 20 AWG wire, black and red
  8. A Dremel or other cutting tool
  9. Epoxy
  10. Optional: 40 pin ZIF socket
  11. I used Jameco P/N 104029. If you go this route, you will need a DIP40 socket for the ZIF as well.

Procedure:

The removable container inside of the MEGA Multi Tackle Carrier Bait Box has permanent horizontal dividers, and removable vertical dividers. The benefit of this is that I can store related components right with my breadboard. The downside is that a double-sized breadboard won’t fit with the fixed horizontal dividers.
img_1696

This is easily solved with a Dremel.
img_1672

img_1673

img_1671

img_1670

After the Dremel job is finished, it looks like this:

img_1690

At this point, I separated the power rails from the breadboard, put a power rail on one side of each of the two terminal strips, and separated the two breadboards using DIP40 sockets between the two breadboards. This spaces them correctly so the middle is a terminal strip for DIP40 spacing. The next picture may explain better. I then positioned them on the inside cover of the box, so that they would fit in the space I dremeled out. I made sure to account for the binding posts by giving the breadboard room on the top and bottom.

I pushed the ZIF socket into the DIP socket, and pushed that into the breadboard. After the sticky backing from the breadboard was removed, the breadboards were attached to the inside cover.

Open, it looks like this:

img_1674

Closed, it looks like this:

img_1675

It is obvious at this point it has a generous amount of room for prototyping while allowing the top to close.

The next step is attaching the binding posts to the inside cover. I did not want to drill through the cover. When the cover is removed, and it isn’t being used as a carrier, but instead a prototyping board, I wanted the plastic to lay flat. This meant I needed to modify the binding post piece.

I did this with a Dremel. Cut down two of the plastic holes so the nuts will end up flush with the bottom plastic piece. I only used one nut for each hole, and I only need to cut down one side.

The next picture shows how both holes should appear. The black holes should look like the left side, and the red holes should look like the right side. The right side was not modified, but the left side was.

img_1679

The next step is to cut down both of the pegs so they will end up flush with the plastic.

Take plenty of precautions with your Dremel. Do not get metal shards in your eye, or anywhere where they will cause damage. I do not advocate cutting metal with your Dremel ever, especially late at night in the middle of a residence hall (read: dormitory).

This picture shows a comparison between an unmodified peg and a cut peg.
img_1685

The next step is to etch the bottom of the black piece, so that it will adhere better after the epoxy. Then I assembled the binding post pair.

img_1687

Mixing up some epoxy, I smeared some on the bottom of the binding post, and also the side. This allows the epoxy to both bind to the plastic on the bottom, as well as the plastic on the breadboard. The first time I attached it, I only put epoxy on the bottom, and after a few days, it snapped off.

At this point it looks like this:

img_1689

I then attached appropriate colored wires to each bus line from the binding post pegs.

The end result looks like this:

img_1699

img_1698

Another benefit of the carrier is that it fits directly in the box with the rest of the electrical engineering stuff, being both transportable to lab, and also directly usable in my dorm.
img_1691

An annotated set of these pictures is available as a Flickr set at http://flickr.com/photos/adamwolf/sets/1167654/.

Possible extensions to this project include power protection. A zener diode across the power terminals or a tantalum capacitor in series with the power could provide cheap protection against inverted polarity.

Send me your questions or comments!

Categories
Projects

Technical HOWTO and Image of Compaq IA-1 Digital Picture Frame

I made a digital picture frame out of a Compaq IA-1.

In order to make a digital picture frame with an IA-1 and Damn Small Linux, there is one major constraint. No matter how big your CF card is, there is only 64 megs of ram in the device. This means, if you put a complete image of Damn Small Linux, and add something small, like feh, weighing in at less than 500k IIRC, the device will crash on boot, complaining about lack of ram.

That makes this process about eleventeen times more complex, but still within the realm of possibity. Even easier if you have a guide, you know, something like this.

My first step was to make a feh extension for Damn Small Linux. This is unbelievably easy. I did this on my main workstation, booted into Damn Small Linux. First, I enabled apt through the fluxbox menu with Apps > Tools > Enable Apt. Then I started a root console and installed feh with apt-get install feh. I closed my root console, and opened a user console, and converted the feh debian package to a feh dsl package with /usr/bin/deb2dsl. I named the package feh.dsl, made the MyDSL menu name feh, and entered /usr/bin/feh as the location path. I then had a feh.dsl extension in my home directory. I copied it to a thumbdrive, and booted my IA-1 with it. As you know, this crashed on boot. I booted my computer with it. It loaded fine. This meant the error that meant “Out of RAM” really meant it.

So my next step was to lighten up Damn Small Linux, and make it Damn Smaller Linux. This means you have to enter the world of remastering. This has to be done on a computer with more ram than your IA-1.

Following the basic idea inside of ReMastering HOWTO for DSL, also newbies and other enthusiasts we burn a copy of Damn Small Linux on to CD, and reboot our computer.

Mount an open directory off your hard drive.
mount /mnt/hda3/

Make needed directories.

mkdir /mnt/hda3/home/wolf/dsl/source
mkdir /mnt/hda3/home/wolf/dsl/newcd
mkdir /mnt/hda3/home/wolf/dsl/newcd/KNOPPIX

Copy needed files to the remastering directories

cp -Rp /cdrom/boot /mnt/hda3/newcd
cp -Rp /cdrom/lost+found /mnt/hda3/newcd
cp -Rp /cdrom/index.html /mnt/hda3/newcd
cp -p /mnt/hda3/home/wolf/feh.dsl /mnt/hda3/newcd

Copy the sources to the right directory.

cp -Rp /KNOPPIX/* /mnt/hda3/home/wolf/dsl/source
cp -Rp /KNOPPIX/.bash_profile /mnt/hda3/home/wolf/dsl/source

At this point, remove firefox from /mnt/hda3/home/wolf/dsl/source/. This will free up over 17 megs of space. I did this with some nasty bash. I believe it was find /mnt/hda3/home/wolf/dsl/source | grep firefox and then judiciously removing the firefox directories and executable. To be pretty, you have to then remove the desktop link and menu entry.

Create the compressed image.

mkisofs -R /mnt/hda3/home/wolf/dsl/source | create_compressed_fs - 65536 > /mnt/hda3/home/wolf/dsl/newcd/KNOPPIX/KNOPPIX

Create the iso:

cd /mnt/hda3/home/wolf/dsl/
mkisofs -no-pad -l -r -J -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o mydsl.iso newcd

Categories
Projects

Compaq IA-1 Digital Picture Frame

Amanda’s birthday was July 27th, and she turned 19. I spent a lot of time thinking of a gift, and I finally decided on hacking one of my old gadgets into a digital picture frame.

This is the IA-1 before modding:

img_1529

This is the IA-1 after the uberleet casemod:

img_1528

These pictures both came from my Compaq IA-1 Digital Picture Frame set on Flickr.

Anyway, I took a Compaq IA-1, and attached a picture frame to the display. I didn’t remove any plastic, I just hunted hard and long for a decent sized picture frame that would snap on the existing plastic bezel. I found a matte that would cover up the plastic. Then I had to work on the software.

The IA-1 only has 64 megs of ram, and no hard drive. It has a 16 meg internal CF, and an external CF slot. I could conceivably smash a digital picture frame running linux and nfs and such into 16 megs. I know I could do it, but the time-effort tradeoff pushed me to find a spare 64 meg CF and put a slightly modified DamnSmallLinux distro on it. DSL is so unbelievably nice that I could have just put feh and unclutter on it as extensions, and then smashed them on the CF. However, when doing that, I ran out of ram on the device and it wouldn’t boot. So I remastered DSL without Firefox, and put feh on it natively.

Now it can show pictures, but I need to let it see pictures. So I took Amanda’s flash drive, and put a bunch of pictures of us, and also a blank cursor to erase the default X cursor, and set it to automount on boot. Then modifying the .xinitrc, I had it start feh at boot. The result?

Amanda plugs her thumbdrive in the IA-1’s back, and plugs it into the wall. The picture frame displays a picture of us every 5 seconds until you unplug it.

Yay! Functional, nerdy, me.

Pssst.  I wrote more on how I did this on the next post!