Tuesday, March 1, 2011

Thing a Day 28: Loud Noises


As somewhat of an iteration of the 555 servo, I decided to make loud noises.

By adding an adjustable sound impact sensor and another 555 timer in bistable mode, I was able to make the fancy cardboard arm of the servo move clockwise when the sensor heard a loud noise and move counterclockwise when I pressed the reset button.

That's really all there is to it. =) I've never worked with a microphone in an analog circuit, so this was very new -- and fortunately quite easy. It turns out that dividing your circuit into independent manageable chunks (like code!) is a Good Thing.

Monday, February 28, 2011

Thing a Day 27: A Little Pushback


Usually I have a clear idea of what I could do with a Thing that I build. Not so much with this one.

It's still cool, though.

What I accomplished, though, is attaching a flex sensor to a motor. When you flex the sensor, the motor reacts by jamming itself toward your hand -- usually bending the sensor some more, which makes the motor shove forward even more.

Fortunately for my hand, the entire setup is pretty shaky. Cardboard arm attached to a nylon motor arm with a piece of crimped wire, gently held in a vice so I don't crush the entire thing.. Also, the motor stops pushing if you stop flexing the sensor. Maybe that means that the sensor should be called a flexing sensor.

Anyway, I like it. If you poke the sensor just right, it flips out. If you poke it gently or too roughly, it'll twitch a little. Just like -- wait, what?

Sunday, February 27, 2011

Thing a Day 26: Violence and Robotics


For today's thing, I decided to get a motor to whack paper out of the way of a light sensor.

First off, I should give credit to the source. Over on the YouTubes, roboanalogtom put together a wonderful video on analog electronics, which includes a ton of rapid fire schematics and projects that can be done. I ended up sticking with the first one, which is simply making a servo motor responsive to light.

In the first part of the video, you can see me waving my hand and finger over a small light sensor on the breadboard. Each time I do that, shadow falls on the sensor, and the fancy pants cardboard arm of the servo moves.

When I move the cardboard arm over the light sensor, I get a nifty feedback loop: shadow falls over the sensor, which triggers the movement of the arm, which removes the shadow, so the arm moves back, so shadow falls over the sensor, which... If I put an intermediary between the cardboard arm and the light, I get a niftier effect: the cardboard arm will whack things out of the way when they cast a shadow over the sensor.

Violence and robotics -- what could ever go wrong?

Friday, February 25, 2011

Thing a Day 25: Homemade Lockpick Part 2


And so it continues.

As soon as I got home, I busted out the tungsten carbide bit and Dremel and started shaping the pick. I figured that if I could the loud noises out of the way earlier on in the day, I'd be less of an inconvenience to my neighbor.

Of course, I've never even seen the person in the apartment above me, so I have no idea if they're raging about my noisiness or completely ignorant of it. What I do know is that the pick is coming along nicely. I managed to get the inner curve of the pick well shaped with the carbide bit in a short amount of time, which gave me a comfortable amount of time to try polishing the sharp and rough edges. A bit of high speed sanding and some polishing with 600-grit sandpaper gave it quite the smooth finish.

One problem: Metal. Bits. Everywhere. None of the material I removed came off in a clean chunk; it sprayed off as tiny bits of sharp metal. I had to scrub my arms as soon as I was done, else the metal dust between my fingers would've driven me crazy.

Thursday, February 24, 2011

Thing a Day 24: Homemade Lockpicks


We've got a rude one!

After yesterday's fun picking that horridly cheap lock, I decided that I wanted to try something I never had the chance to: make my own pick. I'm not really at the point where I need more picks, but it's an interesting challenge -- and one that create pretty sparks.

After a trip to Lowe's, the first step was to heat treat the hacksaw blade so it'd be more workable. In order to do this, I needed to heat the blade quite a bit, and then let it cool slowly to room temperature. In letting the blade cool slowly (the slower the better,) you end up with a larger crystal grain in the metal -- which means the metal is softer and more workable. All of that meant that I was crouching on my porch with a propane torch, repeatedly heating the blade until it glowed red. This had the side effect of burning the paint off, which was convenient, given that I'm not sure how it would've interacted with the Dremel.

Speaking of Dremel, I next had to cut the 12" blade into two 6" blades. Unfortunately, as soon as I spun the tungsten carbide cutting bit up to 20,000 RPM, I realized that this wasn't going to be quiet.. And my worries were confirmed.

Cutting metal in my spare bedroom probably isn't too nice to the neighbors, which is why I only progressed to gently shaping the pick end. When I next work on this project, I'm going to have to pick a very polite time of day and restrict the amount of shaping I do. Sooner or later, though, I'm going to have a new lockpick.

Wednesday, February 23, 2011

Thing a Day 23: Quick (Very Quick) and Dirty Lockpicking



For today's trick, I will pick a cheap lock three times in 45 seconds. No, really.

It's been almost half a year since I've held a lockpick in my hands, so it feels good to use them again. Unfortunately, I was a beginner half a year ago, so I'm nearly retarded today. Fortunately, half a year ago, I bought a horrendously cheap lock that will at least boost my confidence.

As evidenced by the fact that I picked it three times in 45 seconds.

It's worth mentioning, however, that the technique I'm using to pick this lock is called raking. Raking is somewhat like the brute forcing of lock picking. You might accomplish something, but you won't learn as much, and it definitely won't be that easy on a better lock. It is a skill that's useful, though -- and I've noticed that my raking skills improved on the cheapy lock as I practiced.

Tuesday, February 22, 2011

Thing a Day 22: A Wikipedia Article

Articles for Creation: Limor Fried

Given that I play with electronics a lot, I follow a few sources online for information. One of them, adafruit.com, has been a great resource for tutorials, kits, and a handy Saturday night Ask an Engineer show.

When I found out today that she received the award of being one of Fast Company's 2011 Most Influential Women in Tech, I popped over to her Wikipedia article, and found.. Nothing. There were a couple of references on other Wikipedia pages, but no real bio.

So I created one. I've done minor editing on Wikipedia before, but I've never been bold. After some research, I was able to whip together a framework with some references and a brief outline. Hopefully it's a good template that it can be expanded and turned into an article. And if not, hopefully I'll get enough feedback from Wikipedia that I'll know more next time I need to create a Wikipedia article.

Monday, February 21, 2011

Thing a Day 21: Scheming Roadblock



Today's thing.. Was an exercise in frustration.

While soldering the above (secret) Thing, I made the fatal mistake of designing as I go. For something temporary like prototyping on a solderless breadboard, that's not much of an issue. But when you've got a 700 degree soldering iron and you're making semi-permanent decisions, it can be a bit frustrating.

So, after a mistake or two and some necessary rewiring (hurray for visual inspection,) I connect the battery.. And it doesn't work. The sound it makes is weak, the sensor isn't working, I'm getting frustrated. Which means tomorrow, I get to debug it.

Maybe it's time to paint some more miniatures.

Thing a Day 20: Scheming Schematic Planning


Admittedly, this Thing isn't so much a thing as it is an accomplishment.

For this project, I'd like to actually make it permanent -- which means not only designing and testing a prototype, but figuring out how to lay it out on the PCB before I bust out the soldering iron. In other words, I have to translate the penciled schematic into that tan PCB.

I was a little worried at first, but then I to try a few things out. I should have plenty of room for that I intend to do.

Of course, I can't outright tell you what I'm making. It's a seeeecret.

Sunday, February 20, 2011

Thing a Day 19: Basecoating Fun


Despite focusing on electronics for the past 18 Things, there _is_ something else I do in my workroom. It involves plastic miniatures, superglue, paint, and a completely separate workspace. For today's Thing, I took it upon myself to do something I've been slacking on: I basecoated some minis.

When painting miniatures with acrylic paint, the paint tends to bead up due to surface tension, and will be prone to chipping over time. The best way to prevent this is by basecoating the mini with a neutral color, usually via spraypaint. Spraypaint adheres to the mini far better, is much faster than a brush, and prevents the later acrylic paint from beading.

So, today, I taped together a cardboard box to protect my porch and started spraying some models that have been waiting for the chance. Maybe next I'll dust off my brushes and actually get to slinging paint. ;)

Friday, February 18, 2011

Thing a Day 18: The Switch that Won't Turn Off



It's so nice when things work.

Yesterday's failed project turned into today's success, now that I know what I'm doing. Funny..

The description of today's Thing is in the video, so I won't repeat myself. Instead, a purpose: In a future super secret Thing, I'll be able to use this as sort of a one way light sensing switch. Once lights shines on it, you'll have to break the circuit some other way to turn it off. Darkness simply won't do!

Thursday, February 17, 2011

Thing a Day 17: Failed Latch-on Transistor

failed latch-on transistor

I thought I had it. I thought I knew what I was doing -- I thought I could create a switch that, once it received a bit of current, would keep itself on. I was wrong. I failed; it doesn't work.

But that's okay. ;) This was supposed to be a quick "Slap these parts together and you'll have a light switch that won't turn off when it's dark again. Then you can get to the next step of the project!", but there's a gap in my knowledge about transistors somewhere. I think I'm getting a runaway effect where the transistor slowly turns itself off after the light sensor goes dark. But without an oscilloscope..

Time to hit the books! If I can't find a solution, I'll have to hack togeth..er.. Actually, all I'll need to do is slap an NPN transistor into that circuit and I'll have a thyristor. Duh.

Tomorrow's Thing a Day: Homemade thyristor!

Thing a Day 16: Arduino and LED Ticker


Scrolling LEDs. That's all, really.

No, of course it isn't. I wouldn't leave you with just that. What's going on here is that I have an Arduino generating a random number (0 or 1,) and then it's feeding that number to the shift register on the breadboard. Throw in some signalling so the shift register knows when to look for that number, and the shift register then proceeds to light up an LED for a 1 and turn off an LED for a 0. Do it again and the light pattern shifts to the left to make room. Hence, shift register!

The ultimate question: Why? Well, if you notice, I've got the sequence ticking from right to left -- just like it would if I had lots of LEDs wired up to display a message.

Tuesday, February 15, 2011

Thing a Day 15: The F*!(ing Sequencer is Back



This time it's pretty, more functional, easier to use, better pitched, and has an NES controller!

There's a lot going on, so I had to explain it in the video -- but the gist is you select which notes you wish to make sound with the left/right and A buttons on the NES controller, adjust the actual note to play with the up/down buttons, and hit start to loop the sequence. 16 notes, about 250 milliseconds per note, C major.

As a side note, the interface is a bit sloppy. You can see me having some very minor timing issues with the A button in the video -- that's because the code is simply checking to see if the button is held down, not whether it's a new button press or anything fancy. But.. Whatever. It makes something resembling music. ;)

Thing a Day 14: NES Pixel Test



Today, I went old school. Sort of. Well, knock-off old school, given that the NES-style controller that I'm using isn't authentic.

What's going on? I'm using an Arduino (microcontroller) to drive a backlit LCD screen, and I'm using the NES controller (plus connector adapter) to move around the shorter of the 16 black boxes. Nothing terribly fancy -- but it's a step in the right direction for the super secret project that I'm building.

Of course, you might very well be able to guess what I'm working toward.. ;)

Sunday, February 13, 2011

Thing a Day 13: Will the 555 Sequencer Ever End?


Will I ever stop demoing this 555 sequencer? Probably, but maybe not.

However, this would be as good a stopping point as any. This time, I added three potentiometers in place of the normal resistors -- which lets me vary the pitch of each of the three notes far more easily than before.

In case you're wondering why I keep hammering away at this project, it's because I'm getting it to be somewhat presentable for the 555 Contest -- a contest based on the 555 timer, started/organized by Jeri Ellsworth. Unlikely that I'll win any awards for my project, but at least I can get a sense of accomplishment out of it. =)

Saturday, February 12, 2011

Thing a Day 12: 555 Music Sequencer Part 3


This time, that singular note was joined by two friends. Things are getting a little cramped on the board, though, so I doubt I'll add more notes -- my proof of concept is solid. =)

However.. I would like to add more control of the notes, as well as on/off switches for each one, sort of like a normal sequencer. Next time!

As a little bonus at the end of the video, I demonstrated some circuit bending. Lots of hackers have started to pull apart cheap electronic toys (like Speak and Spells) and modifying the innards, making them create sounds that the designers never intended to. At the end of this video, I'm touching some pitch-control resistors with my bare hand, which alters their value -- thereby changing the pitch that the speaker produces. Fun!

Thing a Day 11: 555 Music Sequencer Part 2



A couple of Things ago, I made a noise maker. Thing before that, I made a ring oscillator.

Today, I have combined their powers!

What you see above is the first note in a sequencer. It isn't very interesting by itself, but in the next Thing, this single note will probably be combined with its brethren -- two more notes, probably of a different pitch.

This one took a while, for two reasons.

First, I'm designing the first note so that I can simply copy (and paste?) the changes for the second and third note. In other words, the connection between the sequencer stuff on the left and the noisy stuff on the right is modular, as it were, so doing it two more times will be really easy.

Second, I'm not really sure of what I'm doing. I have some basic understanding of what's going on, but engineering is different than science -- and without a good grasp of the science, the engineering involves a lot of guesswork.

Friday, February 11, 2011

Thing a Day 10: Debian on Android


I've been meaning to do this for a while, but a friend borrowing my HTC Dream made me dig it out of storage and bring it to my attention. What you see above is Debian being installed on the first Android phone.

I've been working at it for a few hours, but it's mostly just been waiting around while I root my phone or install Cyanogenmod or package up the ported version of Debian, et cetera. Regardless, what I'll end up with is a phone that runs Linux (even moreso than Android does.)

Once I get the Apache webserver running on my phone, I'm going to be giddy for a few days.

P.S.: If you'd like to give it a shot, zed0 has some updated instructions on how to get it going for the most recent Cyanogenmod.

Thursday, February 10, 2011

Thing a Day 9: 555 Sequencer Part 1




In classic me fashion, I've dropped the Atari Punk Console from Thing a Day 2 and rolled the design back to a simple noise maker.. For now. In the long run, the result will be much more epic.

Combining the above 555 noise maker with yesterday's Thing, a ring oscillator, I'll get a basic sequencer -- which is the workhorse of electronica. With a sequencer, I can set up a pattern of notes to play and loop that pattern. Of course, by notes, I mean squeals, and by pattern I mean odd number of beats that will likely be limited to three. ;) Tomorrow, I'd like to see if I can get the two connected for an actual sequenced result.

555 timers everywhere!