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. ;)