posts tagged with the keyword ‘hacking’

Easy Button

I’ve had an easy button lying around the house for a few years now, and remembered reading about how “easy” it was to do a little circuit-bending with it, so I finally got around to doing that…

I did a quick search for some details and found this Easy! blog post, read the bit about a 1Meg pot and figured I’d give it a try. I didn’t have a 1Meg pot on hand (I’m sure the Milwaukee Makerspace probably has a boatload of potentiometers and other parts I could have used, but I built this thing at home) so I ended going to Radio Shack, and while they don’t have breadboards or much other stuff, they do have a few electronic components on hand.

Once you open the Easy Button (screws are under the rubber feet) you can see the main resistor, right under the rubber switch. (It’s in the center in the photo below.)

Easy Open

Take that resistor out and then solder in the wires for the potentiometer. That should be about it for the electrical part of it… (I know, you also see a push-button switch in the top photo, I’ll get to that in a minute.)

Since I tend to just start on these things without any real thought as to how they will be finished—I fly by the seat of my pants a lot—it’s always a learning experience. I had a plan to mount the pot onto the big red button, so I Dremeled the heck out of one of the legs on the bottom side of the button to make it fit, and I then realized it just wouldn’t fit, so I thought I could mount it on the inside plastic housing with a hot glue gun, this worked well, but I took out the piece of metal to do this, and, well the metal piece is what makes the button pop back up, so when I reassembled it, the button didn’t work, as it got stuck. Oh, I also built it wrong, with the button turned 180 degrees, so things didn’t line up, so I Dremeled some more, and that contributed to making the button more useless, even though I tried to put half of the metal shield thing back in. (Hacksawing that thing was a nightmare!)

I had started to document the whole thing with photos, but when it was apparent I did so many things wrong, I abandoned the plan… that said, I’m pretty confident that if I did it again, I’d get it all right the second time. Despite all that, I came up with the idea of putting in the push-button switch, which worked great, as it is much easier to push, and you can use it while twiddling the knob. From the outside you really can’t tell that things didn’t work out the way I planned, so I’ll call that a win.

Here’s a video (Vimeo, blip.tv) of the Easy Button in action… It’s a challenge to get the knob in just the right position, so it’s become a game at our house to see who can get the best sound (or longest bend) out of it.

If you’re totally new to circuit-bending, the Easy Button is a simple project to start with… if you are totally clueless, swing on down to the Milwaukee Makerspace for one of their Electronics and Programming Nights when non-members are welcome, and I’m sure someone there can help you get started.

Remember my Drawbot? We’ve been busy “tweaking it” now and then to make different drawings, and I’m sure it’ll be an ongoing project, but one of the most exciting things about it was the comment I got from Howard Patterson.

Howard was kind enough to provide his own code, and he also sent me these photos of his Drawbot.

Friend of Drawbot

Friend of Drawbot

Awesome… I mean, it’s not like the Drawbot is some standardized platform (or is it!?) but I think it’s cool that by sharing build info, photos, and code, we can have a common result.

Howard says he’s using an Arduino Duemilanove with a shield and mini-breadboard attached. I think this also shows the strength of the Arduino platform, as anyone can get an Arduino, the other parts, and get up and running with this pretty quickly.

Thanks for sharing Howard! :)

Behold… the Arduino Powered Twitter Monkey!

By Popular demand (meaning, at least a few people asked) here’s a short video featuring the Twitter Monkey. Because really, what’s a project without a poorly produced video!?

For more info, see the original post: Twitter Monkey.

Twitter Monkey

Behold… the Arduino Powered Twitter Monkey!

The Twitter Monkey is powered by an Arduino and two servo motors. He patiently monitors Twitter for a specified keyword, and when he sees that keyword, he goes bananas, flapping his arms up and down like a maniac. (For his debut at Web414, the keyword is web414.)

Twitter Monkey was made possible with materials from Adafruit Industries and the local Dollar Tree. The code is heavily based on Alertuino code from MCQN Ltd., creator of the Bubblino.

Update: There’s also a video.

I stand here today not to condemn Perl, but to defend it… Perl

And when I say “Perl” I want you to feel free to substitute any other language you see fit… Visual Basic, Fortran, Lisp, COBOL, Smalltalk, or even… Java.

I was given a programming assignment this week. Given a list of 2000 names, I was to provide 400 names randomly. (Yes, this was for work, and was a real-world assignment, not just some exercise.) I proceeded to open my ~/scripts folder, which contains well over 1,000 Perl scripts, and grabbed some existing code, and wrote some new code, and ran a few tests, and quickly had the list of 400 names.

I used Perl because it worked for me. I probably could have written in it PHP (as it’s another language I am pretty comfortable with) but since I’m more familiar with Perl, and have done very similar thing before with Perl, and had a gigantic library (nearly 15 years worth) of Perl scripts to pull from… I used Perl.

I’m sure others could tell stories just like this substituting Java, or Python, or Erlang, or whatever they have around, that they are the most familiar with… and that’s fine.

This is about using the appropriate tool for the job, and this case, with the job being performed by me, the tool was Perl.

I wasn’t creating some new framework, or building upon an existing application, or pushing some code to GitHub that I wanted others to collaborate on… it was a quick ‘n dirty task that needed to get done as fast as possible.

Much of the programming world (maybe it’s mostly in the web-programming world) gets hung up on the latest and greatest. There’s a chance that using Ruby someone could have completed this task in half the time… but that person would not have been me, as I’ve spent probably less than an hour using Ruby and I’m not familiar enough with it to bang out the needed code quickly. I’d like to have some time to dig into Ruby (or, whatever, pick a language) and get familiar enough with it to use it effectively, but I don’t know when that will happen.

I’m not even a programmer… I’m a hacker, and I think Perl is a hacker’s language. Make something work. Solve a problem. Do it quickly, and move on.

To some degree you could say I’m trapped in Perl, because it is so easy for me to get what I want done quickly, and yeah, there’s a module for almost everything… Where I mainly feel the pain is when I look for example code and narrow my search to Perl (or PHP) because I’m most familiar with them. I needed some code this week to do some serial port communication, and found only one good example written in Perl. I should probably task myself with re-writing the code in Ruby, or Python, or some other language I’m not as comfortable with as an exercise in forced learning.

And then there’s a part of me that just says “screw it, I’m gonna work with what I know, and get things done, and move on.”

« Older Entries |

recently at:


top recent artists: