RBG LED Controller

My off-the-cuff remark about building an auxiliary bilirubin light manifested itself into a quick project.

In order to approximate the specific color of the bilirubin lamp, I figured that I would need to provide a means of setting PWM values for the three inputs. I had hard-coded values in Arduino code in the past, so thought about taking that route initially. I blew the dust off my Duemillova, fired up the Arduino IDE, and promptly decided to modify my Java servo PWM code to do the job.

Sort of growing attached to the IOIO…sorry Arduino.

So, the controller was born…IOIORBG.

rbg led

RBG ... RGB

Hit the bump for a video and some more info…
Continue reading

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…

Pushing to Master

Just hanging out. Committing a little Java.

pushing to master ioio android code

Java by Oracle

Introducing IOIOSeek v2.1.

new android ioio app

improved

In preparation for my next project, I have beefed up my app to support four simultaneous servos, three real-time analog readings, and two binary digital outputs. I cleaned up the UI, and added some README details. You can snag the app or update on the Android Market (search for IOIO)

market android app

50 + ???

Pop over to the Android Market and give a review if you have it going v

swantron on android market ioio

2.1

As the commits hint, I have pushed my code out to my GitHub page. Fork that thing. Stay tuned for the next project…I just need to find some time to smash together the hardware and we’ll be good to go.

IOIO Seek Redux

I published my code for the IOIOSeek project to GitHub.

Here it is

Fork it, do what you will.

git hub ioio swantron

got git

My next step is to refine the project, add some automation, and make it cooler in general.

I grabbed a few thing to make that happen:

ioio seek solar panels extra

3x the possibilities

Second IOIO board for bootloader work…which will allow for bluetooth communications between the board and a phone. Two additional solar panels…to increase the complexity of my sensor setup.

Stay tuned…things should be in the works.

IOIO Servo Project Recap

So, good news and bad news in regards to my IOIO servo controller project.

Good: I have published my code to GitHub. See…

IOIO sample code

git stuffs

Bad: Ytai, the creator of IOIO itself, let me know that my code is in need of an overhaul. Big time.

I am experiencing too much lag…losing a ton of time in the writing phase of my app. Expect an overhaul of said code, in preparation for my next project.

I have seen some activity on both of my apps on the Android Market. I feel some moral obligation to fix both apps, cite some versions, etc. This one could take some time, but should result in a pretty sweet project. On a strange note, Ytai has a sample app that handles the analog input that I need for my next effort. I should be able to stand up a project before too long…pretty pumped.

Anyhow, check that code if you are bored. Really bored. I will update when I get some decent code committed…until then…

IOIO Servo Controller

I just doubled my Android Market presence with one fell swoop. IOIO project number two is in the books: IOIO Servo Controller.

IOIO Servo Controller

servo in altoids can smells like altoids

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.

IOIO Android app

brand placement

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…

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.

ioio-example-project

beta version: check.

I went ahead and published my app on the Android Market. It will pop for sure by searching for IOIO.

android market app

apptastic

Price: free ninety nine. Can’t beat that.

I also tossed this code up on GitHub. Go nuts.

github example

/swantron

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 market
Link 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.

git hub linux

commit.

Click on that for some CLI awesome junk. If not, tune back in for the larger effort soon. Android app may follow.