Android IP Webcam Demo

Poking around on the Android Market for an app to control my Foscam IP Webcams, I stumbled across a cool app concept. Long story short, someone wrote some code to serve the live camera feed…effectively turning an android device into an IP cam.

android demo ip webcam

web cam-y

The app is free on the Market…just search for IP Webcam and it will pop up. Here it is in operation, serving from my Droid 2 for viewing on my Linux machine…

This would pair nicely with my IOIO project, provided I can bring it back from the grave. I could mount the phone itself on the payload, giving this sucker on-board video. A second device (Galaxy…) could provide the board control, and I could implement a web view into my app. Might be on to something here…stay tuned.

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…

IOIO Servo Controller v2.0

I’m preparing to publish a project utilizing the new bluetooth library for the IOIO. I started horsing around with my IOIO Servo Controller application, and finally got frustrated with the lag that was existing between my slider bar and the servo. I never pulled my improved function from my IOIOSeek work over…it was overdo.

Anyhow, I sort of cleaned house and put together an improved interface, and pushed it to github.

push it

push it

Here is a quick vid of the new app in action:

I pushed a new apk to the Android Market as well. If you have it installed, it should update in the morning. Here is a sneak peek of the updates:

*Optimized code to alleviate lag between slider bar and servo positions.
*Increased minimum version requirements, for future bluetooth connectivity
*Added function to keep slider in an inactive state until IOIO connection made
*Cleaned up code to remedy force close situations
*Remapped PWM pin from 5 to 10 for consistency with my other apps
*Removed text field of slider position / on board LED
*Simplified layout for smaller screens

I pulled some function, but am more than willing to reintroduce the relative readout and/or on-board LED display. I am trying to go simple with this one, and ramp it up once I can figure out the lag that the bluetooth connection will introduce.

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 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 App Redux Time

I put together a simple proof of concept using a slider to control a PWM pin out…simple is an understatement.

pwm app ioio

booooooooring

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.

    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

    Verizon Wifi Tether…Droid + Ubuntu

    The internets have been abuzz with talk of further stifling of Android tethering. Regardless of what will come of this, I would recommend getting a setup in place. May as well…you paid for the device. Am I right?

    My breaking point came with continued poor results from the wireless connection at work. Enough was enough. After trying several mean with which to tether, I think I have found one that is suitable for my needs.

    droid 2 verizon tether

    scrubbed MAC / IP

    My hardware is simple…mid-line Dell Studio Notebook running Ubuntu 11.04…Droid 2, rooted, running Fro-Yo. Verizon with data plan…unlimited, if that is still the case. Connection…check

    droid verizon tether

    swantron = my connection

    I played around with several apps, but have found that Barnacle Wifi Tether from the Android Market does the trick quite nicely. I have dumped several gigs through 3G, and it is decently fast. Haven’t had to reboot, or do anything wonky to this point. I have had two clients connected simultaneously, and it seems to be chugging along. You must configure the security settings, as this puppy lets it rip wide open out of the box.

    Grab the app from the Market before Google folds to Verizon. If you need any help rooting your phone, holler at me as well.

    Just…About…Published…

    Getting close to having my live wallpaper on the Android Market. I’ve hammered down the image, polished up the cube, tested the app on several emulators, and optimized the rotaion rate. More importantly, I haven’t drop kicked my notebook or tossed my Droid 2 out the door. I’m going to chalk this one up as a…
    +1 probably the best Android App developer I know of.
    For the win. I don’t know any other Android app developers, but I’m still giving this a big For the win.

    Here is a sneak peak of said wallpaper:

    new cube

    -1 no animated gif

    Not too shabby, huh? I’ll figure out how to sign the cert tomorrow, and see if I can get an account started with Google. Stay tuned, Android folk. I’m going to offer this for free.99, so you all better fire this up on your mobiles and report some bugs.

    Stay tuned.