I just doubled my Android Market presence with one fell swoop. IOIO project number two is in the books: IOIO Servo Controller.
This project is a one-off of the PowerSwitch Tail relay project I have out in the wild. I took the button out of the mix and implemented a slider bar…removed the relay and am now driving a hobby servo.
Displayed is the relative level (zero to one) of the slider, the slider itself, and a shameless plug. The onboard LED also fires with a brightness relative to the slider position…which I implemented in the coding and sort of left in there. The basic concept was to get the PWM output configured correctly, in order to control the servo positioning…the slider function is pretty much just the stock slider from the Android Development docs, widened a bit for the sake of video capture. The rest was just mashing around the code I had out there…not too bad. Check the thing in action: This project is available for download in app form on the Android Market. Right next to my other guy…search for IOIO. I will toss the code on my GitHub account as well. Fun project…I may branch and see If I can do anything cool with a few servos. We’ll see. Shoot any comments to joe(at)swantron(dot)com. I can help with any setup issues, if they may arise. Good luck…
More IOIO Headers
Proof of concept stage has passed…we are full on code cleanup and prep for video on the servo project…
I should have the app polished and on the market Saturday afternoon. Tune in.
IOIO App Redux Time
I put together a simple proof of concept using a slider to control a PWM pin out…simple is an understatement.
Nice, right? In doing this, I did a fresh download of the IOIO example apps, as I had gutted the Blink example for my 120V relay app. It turns out that there is a fresh firmware version…I grabbed the new IOIO library that is associated with that. So, my proof of concept doesn’t function…I tested it with an LED to no avail. So, I have a few items to address before I push out another project
- Update firmware | flash V3 to my IOIO
- Update my IOIOPowerSwitch App to contain IOIOLib V3
- Update READMEs / Github / Android Market to cite firmware version
- Update proof of concept to same specifications _ It should go smoothly, after the first bullet-point is in the books. Stay toooned.
Nursery Furniture Assembly
As I mentioned in the post that precedes this one, I have been assembling things on a larger scale lately. Well, larger scale for a smaller scale person…getting the nursery ready, namely. Both the crib and changing table came together nicely. Enjoy some pics and protips.
Protip: Although the product may merely require “a screwdriver” for assembly, this will take all day. You will want an electric drill.

Right after the unboxing phase of this project, I found myself en route to Lowe’s. Not going to happen manually.
Protip: Lithium Ion battery technology is vastly superior to other cordless drill battery types. Take my word on this.
With long spans, tight threads, and two hands, it may be tough to get joints lined up. No problem…
Protip: Shim during assembly to level stuff.

There are all sorts of pieces in a kit of this size. Plenty of items with which to level other items. With curved edges on these pieces, I found myself using unused parts and towels to prop thing up, etc. Which leads me to…
Protip: Assemble loosely, level, tighten.

That sucker is so level, we have simultaneous picture action. +1 photogenic. On to the crib…assembly was similar, but quicker. Same protips, with the addition of
Protip: Prepare tools ahead of time.

You sure wouldn’t want to find yourself with warm OMLs, a dead battery, etc. Sort of along the same lines as ‘measure twice, cut once.’ Only, more important. So, the paint on those walls is new as well. This room is getting close to done…with three months to spare. Hopefully it turns out well…especially as there is no chance that the crib will fit through the door in an assembled state. I have a feeling it will be just fine.
Joseph Swantron
Possible pen name… 
Bonus Content: IOIO Circuit Diagram
My new amigos at Ytai’s Google Groups IOIO page and I are still spit-balling my project details. I am providing a circuit diagram to help the discussion.
For the fuller project in detail, check the original post. Cheers.
IOIO PowerSwitch Project
I can finally report a conclusion of sorts on the IOIO / PowerSwitch Tail project. The ‘of sorts’ disclaimer is in regards to my Android App, which is pretty much a working beta. I have some issues with my onResume code, and want to put some polish on the UI. That said, I have released the code to the interwebs, so had better provide a write-up. The setup is the same as I have been posting. Dual open drain pins with a 10K pull to 5V do the lifting…triggering of pins is handled via my IOIO board…Android app providing a UI to do the switching.
I went ahead and published my app on the Android Market. It will pop for sure by searching for IOIO.
Price: free ninety nine. Can’t beat that. I also tossed this code up on GitHub. Go nuts.
Video time: see this in action. Basically, between all of the shaky camera work, I download my app from the Android Market, connect via USB, and control the 120V relay via my Droid 2. I will shoot a better video once I clean up my code a bit. Stay tuned. The README on GitHub and the app details section should have all of the connection information. I can provide any further details via email / comments / @swantron. Have fun with this one… Link to android marketLink to project code at GitHub
Git er Hub
Making progress on the IOIO marathon project. GitHub has been chosen as the initial hosting deal. Configured with a little hello world this evening.
Click on that for some CLI awesome junk. If not, tune back in for the larger effort soon. Android app may follow.
Adding Headers to an IOIO
Q. Am I dragging my feet with the whole IOIO code cleanup deal? A. Take a look at this little pictorial dealio regarding soldering headers to my IOIO Exhb 1:
Exhb 2:
Exhb 3:
I’ll get on that; you have my word. I am toying around with the idea of tossing the open drain app on both github and the Android Market, in order to throw some chum out to the crew of IOIO owners. We’ll see.
Baseball Heroics
Black Sox, for the win…
2011 Gallatin Valley Men’s Adult Baseball League champions. You can’t tell due to the backlighting, but there are four games worth or infield on that uni. Red Bull, ibuprofen, celebratory OMLs, Skoal, and infield. And grass from a couple of cans of corn put-outs. Happy and tired.