IOIODC Project Details

Consider this the conclusion of the IOIO DC motor experiment until further notice…

IOIO DC Motor Code
still ugly

I’m chalking this up as a success. Even though it is ugly and raw, I learned a ton mashing this thing together. Very fulfilling project from a nerd standpoint: I learned more Java, had to buckle down and do a little EE, kicked up the soldering skills a notch, and introduced a few more components’ features into my ghetto skill set.

My code is live on github with a preemptive v1.0 push…

IOIO DC Motor Code
IOIO DC Motor Code

I also dumped the apk to the Android Market as promised.

Pins 21 though 26, wired through the usual candidates on an H-Bridge. Contact me with any details…it should be very spec sheet-heavy though. The main stumbling point is with the power source, so keep that on the front burner.

Cheers. This may be my last time intensive project for some time. Hardware is time-costly…I am planning to take on the software project I have been contemplating between diaper changes and feedings. Look for some dad stuff in the mean time…

Android GPS Test

As I type this, there are over thirty satellites blasting around geo-sync orbits transmitting GPS data. As luck has it, my battery-ass-draining phone has a receiver built-in GPS receiver, of which now I am a master.

Not really, but I can read the info…

screenshot
Boring, FTL

Location, time, velocity, etc. Not sure how to tune this yet, as the above was done via an emulator. Since my Studio 15 doesn’t exactly (read: at all) have a GPS receiver or accelerometer, I’m working somewhat blindly. I did have some luck when I dropped my app on the Droid 2…

hmm
'Lab' is too cold, FTL

…but that screen cap does a better job of showing the MLB Network reflection than the info on the screen. Sweet Lou should be in the top ten list of managers, FWIW. Glad he could make an appearance.

Back to the GPS stuff. Cross referencing the data that I managed to pull in from the SDK library info, I was able to verify that the elevation was fairly accurate (w/in a hundred yards of Bozo Wikipedia listing) and the latitude / longitude was functioning well to several yards accuracy, relatively speaking. Not too bad.

The next step would be to figure out how to put this to use. A ballistics chart would be pretty cool (read, profitable) if the elevation info could be read in automatically along with weather conditions. I’m not really sure…this one was more of an exercise in reading sensors and tossing out output. The accelerometer is next…I’ll shoot to provide a better write-up at that point. Less bonus baseball footage…or far more bonus baseball footage. Stay tuned.