Mike's blog

Haptic Paddle Testing

We extended our haptic paddle to use three motors. The code now times the pulses between the three and randomly picks one of five points to hit. If it hits on the extreme of one side, the first motor fires, then the middle, than the one on the opposite end. The intensity reduces, too. If it's only slightly to one side, the side and middle fire at once, with reduced intensity, and then the far side fires. If the middle is the target, it fires at full intensity, then the two ends fire.

Cursory user testing has revealed some interesting results:

Energy, Power Bills, and The Noise Machine

So, I tend to blog about DT-related stuff only here, but I used to blog politics all the time, the bug has never left me.

Today one of the top stories on CNN.com is all about Al Gore's power bill. It's high. Like 20 times that of average Americans. Gracious me! That's terrible! What a hypocrite! We should immediately disregard every word this man has ever uttered about the environment!

Heh. So, this news was brought to us by the Tennessee Center for Policy Research. "The wha?" you ask. Right. Never heard of it before, and you'll likely never hear from it again, at least until the next smear on Gore. I mean, come on, how great a need is there for a think tank researching Tennessee policy? That is, if raising a shitstorm about Al Gore's power bill can be called policy research.

Do Ya Feel It? That's Haptics, Kid!

Lots of good progress today on the haptics project. Cicek covers the "heartbeat" and "shotgun" assignments, complete with video.

The heartbeat is fairly straightforward. The Arduino kicks out two 50ms bursts of the vibrators motors separated by 10ms, followed by a 500ms pause. The second burst is at 75 percent of the duty cycle coming off the PWM. It's eerily effective.

The shooter took us a while to perfect, but I think we've got a good one. The best way to see what we've done with it is to check the source code (attached below,) but the gist of it is that we start off with a heavy vibration from both the mini-vibrating motor (in the grip) and our custom-built macro-vibrating motor. The latter is a generic DC motor with an offset weight hot-glued to the shaft contained inside the top of an old spray can and attached to the area where the "bolt" would be on a rifle. Then we added another pulse from another mini located downrange on the barrel. By tweaking the timings, you get a fairly good sense of the gun kicking when you hit the cute red trigger.

Meetings make us dumber, study shows

Meetings make us dumber, study shows - LiveScience - MSNBC.com - I knew it! [My del.icio.us]

Yes, it's true. Meetings make us dumb. Or, at least, less creative. And yet, we're a collaborative species. So, what's the best way to combine work and still keep people's creative instincts intact? That answer to that is probably worth several million dollars.

Bluetooth Research

Bluetooth: Ye olde King BluetoothBluetooth: Ye olde King BluetoothBluetooth is a wireless protocol for sending serial data over the air. It was named after Harald I of Denmark. In fact, the symbol for Bluetooth consists of the runes for that king's name.

In order to put a project together, you'll need the following resources:

  • A Bluetooth modem board, such as the BlueSMiRF
  • An Arduino board or stamp
  • Outputs from the Arduino (vibration "rumble" motors in our case)
  • Input to the Arduino board (like our accelerometers)
  • A computer or other device that can communicate via Bluetooth (most recent Macs and laptops, as well as certain Nokia phones, etc.)

A Year Of Wine and Swine

Just to note a couple of blogs that my friends write. First off is my buddy Ravi, who is blogging about the barrel of wine we're making in beautiful Jersey City, New Jersey. It's still young, but it's getting pretty damn good. Plus, I'll be up to my neck in cheap hooch for the rest of next year. Woo!

Also, this being the Year of the Pig, my pal John (who is an amazing artist) is tracking his progress over the next year to create the perfect short ribs recipe--as well as any other porcine production he comes up with.

Neural Networks

As Inti Einhorn mentioned in his presentation (which was great, man--I've had several conversations based on it in just the past couple of days,) getting the Wii to work requires training. That'll be true of anything we build, too, especially w/r/t anything gestural.

With that in mind, I would strongly recommend that we look into neural networks as a way to train the machines. It sounds a little intimidating, but it really isn't. In fact, it ties in very closely to the reading about logic gates we've been doing so far.

IBM has a pretty good introduction to NN. In particular, read Threshold logic units (TLUs) and How a TLU Learns. The rest is pretty math heavy--though it's still good reading, if you're up for it. You can recreate AND, OR, XOR, etc. gates using neural networks pretty easily.

Non-Electronic Logic Gates

Hot on the heels of our readings in class are two unconventional examples of how logic gates work.

Karaoke Computing

I gotta say, if you go to some of the better karaoke joints in the city, you really see some pretty straightforward physical computing stuff there that's done very effectively. At the place I was at last night, there were LED tambourines, lights that dim and shone with the baseline, all kinds of stuff. So, let me say it here first -- KARAOKE COLLAB! Because it's time, people. It's time.

Light Meter Arduino Project

Arduino Light Meter: Ye olde digitalWrites and analogRead at work.Arduino Light Meter: Ye olde digitalWrites and analogRead at work.Here's an example of something simple and (potentially) practical you can make with an Arduino: a light meter!

The trick for me, if you look at the photo, was to use a voltage divider for the photoresistor. That is, the analog input comes from the point on the circuit between the photoresistor and a 1K ohm resistor.

Copyright Mike Edwards 2006-2009. All content available under the Creative Commons Attribution ShareAlike license, unless otherwise noted.

Syndicate content