Categories
Uncategorized

The Button

The Button

NOTE: Need a button? Now you can buy one! Visit raster.etsy.com.

I was in need of a button, but not just any button. A USB-enabled button that could emulate a single key being pressed on a keyboard. This is that button…

It consists of the following materials:

The Button

I used a Teensy as it’s a very simple (and cheap!) way to emulate a USB HID. I do wish the Teensy had mounting holes. I ended up not mounting it at all and letting it just hang loose, which should be fine, as it’s so lightweight. There’s a bit of electrical tape wrapped around the Teensy and the solder joints.

For the box, I wanted something metal, so it would be heavier and more sturdy than the typical plastic project box. Matt Gauger of Milwaukee Makerspace suggested I check out Mammoth Electronics, as they make boxes for guitar pedals. I ended up choosing their “tall” enclosure.

For the button, I really like this button over the one I ended up using, but it was too tall to fit in the project box. Unless you’re a “button snob” you probably won’t notice much difference between the two.

If you’ve got USB cables lying around, use one… otherwise, you can get one from Monoprice for less than a dollar. I pretty much buy all my cables from Monoprice.

As for the rubber feet, I picked some up at the local hardware store… as well as some black spray paint. (Note: If you are ordering the button from Sparkfun, just get the rubber feet from them too!)

The Button

There was one more item I needed. The button needs a 27.3 mm hole to fit into, which means I needed a hole that was 1.07480315 inches wide. Well, 1.07480315 inches is pretty close to 1.0 inches, so I ended up getting an Ace Bi-Metal Variable Pitch Hole Saw. (The link is not the exact one that I got. I ended up getting mine at the local Ace Hardware store.)

As for the process, the Teensy part took a small amount of time, (see the AWESOME Button) and the drilling was a little tricky, as the 1.0 inch hole was just slightly too small. A bit of creative drilling with a regular drill bit fixed that though. The spray painting was the real time consuming part of it all. As for the assembly, I originally envisioned mounting the Teensy on the bottom plate of the box, and having a hole where the USB connector would be accessible, but I ended up going with what you see in the photo. (I just used the Dremel to cut a small groove for the cable to fit into.)

And why do I need a yellow button that can emulate a key being pressed? Well, sometimes you just need a yellow button that can emulate a key being pressed…

The Button

Note: A number of people have asked for the code I used, and even though it is in the comments, I thought I should post it in here as well.

/*
 * Button.pde
 */

void setup() {
  Serial.begin(9600);
  pinMode(10, INPUT_PULLUP);
  delay(500);
}

void loop() {
  if (digitalRead(10) == HIGH) {
    delay(10);
  } else {
    Keyboard.print(" "); // we print a space
    delay(1000);
  }
  delay(10);
}
Categories
Uncategorized

Here or There…

Here or There...

When you want to see things happen where you are, and they aren’t happening, or they aren’t happening fast enough… I think you have two choices:

1. Go to where things are happening, and try to join in with the people making things happen, and be a part of the things that are happening.

2. Make things happen.*

* Option #2 may require you to work your ass off. Don’t let that stop you.

Categories
Uncategorized

Another Sugru Repair

Sugru

After my first repair job with sugru, I remembered that I had this letter opener that was in need of repair. My wife had given it to me after she got sick of seeing me open letters with our kitchen knives. It’s a great looking letter opener, and the tape I had on it was not doing it justice.

I still had a package of black sugru, so I cut it open and fashioned a ring around the cracked part of the handle. I tried to get it smooth, as this repair was a lot more cosmetic than the last one. (And no, I didn’t have any white sugru!)

Sugru

Note that it’s really hard to get sugru smooth. This is better than my previous attempt, but I can still see my finger prints in the sugru. Maybe I need to wear some rubber gloves.

My main complaints about sugru? I wish it were easier to get, and that it lasted longer. I’ve still got a bunch of packets and now I’m starting to feel pressured to use them before they expire. It would be great if the local hardware store carried sugru so I could just go pick up a packet when I need one… of course they’d still have to deal with the expiration problem, which is something most things in the hardware store (besides the candy!) probably don’t have an issue with. I still think it’s doable, as sugru is pretty darn cheap, so even if it cost double what it does online, it’d be a good deal.

Besides the availability and expiration issue, sugru is pretty darn cool. :)

Categories
Uncategorized

High Sierra Clampette

Simple Hi Hat

The Clampette is a small clamp that can hold a small camera. It’s made by the High Sierra Manufacturing Company, and it’s about $12.

It’s a handy little device to have in your camera bag. It’s small, and it’s lightweight, so while it’s easy to carry around, it’s not going to hold that Nikon D3x very steadily. But what it will do is let you mount a small camera (point & shoot still camera, small video camera, or anything else that had a standard tripod mount screw hole) onto things. In the photo you can see how I made a really simple hi hat by just clamping it onto some scrap wood I nailed together.

There’s a few options, like the right-angle head, and the bike-handle bar mount, but besides that… it’s very uncomplicated.

I love the simplicity of the Clampette… it may be partly due to the fact that I made one about 14 years ago with a c-clamp and the tripod from a toy telescope. Mine did not work as well, by the way…

And speaking of simplicity, how can you not love the web site? It’s the epitome of simplicity! And in the footer? This document was last Modified on May 11 ,2004 at 4:25:35 P.M. Pure Awesome!

Categories
Uncategorized

My first sugru hack

sugru

I remember hearing about sugru last year, and looking through some of the ways people have used it, and thought I should get some of this magical substance to play with. What is sugru? Well, it’s a magical material that cures at room temperature, is self-adhesive, waterproof, flexible, and dishwasher-proof. See the blog for more info.

One thing that’s been broken in our house for a while is the electric griddle. I’ve had it for a long time, and it still works, and I’m a fan of repairing rather than replacing things, as it helps save money, as well as the planet. We’ve been using the griddle for years, but have always been annoyed at the cracked edge piece.

Griddle (before)

I ended up drilling a few small holes and twisting up some wire to bind the broken pieces together. Wire worked great for this. I didn’t want to mess around with trying to fit a small piece of metal, or any sort of screws in place. But the wire isn’t exactly pretty… and it’s got those pointy ends.

Griddle (after)

sugru to the rescue… I took the black sugru and molded it around the top of the crack, covering the wire. It’s still not the prettiest thing in the world, but it’s a big improvement.

My only complaint about sugru is that it has a shelf life of about 6 months, but then again… once you start using it, you start to see all the little things around the house that sugru could make better, so chances are, I’ll have used it all up 6 months from now anyway. :)