I hit another snag with respect to my IOIO specs butting heads with actual power yield. An early success:
…followed by being unable to replicate via battery control, despite higher voltage. I might be running into a similar incident that I saw when putting together the PowerSwitch Tail project. I’ll get there…might have resisters coming out the ass, but I should be able to solve this issue with a creative open-drain setup as well. Tune in again…
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.
beta version: check.
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…
I have been cutting my teeth on some electrical engineering 101, in an effort to push 5V through my IOIO. At this point, I am still not able to report a success.
I do have the ‘open drain’ setup working, at a lower voltage than I am intending. My configuration is as follows:
pulling up to 5V
The Java snippet that is doing the pin defining is this guy:
DigitalOutput out = ioio.openDigitalOutput(25, DigitalOutput.Spec.Mode.OPEN_DRAIN, true);
The only issue is with my setup…for some reason, my circuit isn’t able to pull to 5V. See the DMM readout v
So, back to the drawing board. When the switch is open via my app, the pull up resister should settle Vout to 5V. The other half of the scenario is fully functional, as a closed switch grounds as intended.
My next plan of attack involves a more permanent power source, and I have placed my order with SparkFun for a surface mount / wall wart combo that will do the trick. I am hoping that my issue is with the power, but time will (shortly) tell if this is the case.