Android Basic


Closed Thread
Results 1 to 15 of 15

Thread: Android Basic

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Posts
    448


    Did you find this post helpful? Yes | No

    Default Re: Android Basic

    Quote Originally Posted by dhouston View Post
    Many years ago I used an early PDA as a universal remote by creating .WAV files of the codes and sending them to an emitter connected to the headphone jack - I may try that with whatever tablet I decide on - there's ample room to store codes. It will depend on whether the audio circuits can handle 38kHz.
    Dave, the audio circuits dont need to handle 38kHz, 19kHz would be fine. Here's an interesting technique to achieve what the IR sensor would see as a 38kHz modulation, using 2 LEDs in anti-parallel being driven by the left AND right channels.

    http://jumpjack.wordpress.com/2008/0...ote-control-2/

    Follow the next few pages for a complete explanation on how its done. Alternately, there's a Windows application (also mentioned on Jack's pages) that automatically creates a modulated .wav file appropriate for 38 kHz transmission directly from sound captured from an IR module, on the fly.

    I tried this, and it works, but the range is very modest. In fact, there are quite a few Android apps using this technique to make your phone work as a versatile timer/remote shutter for a DSLR.

    While on the topic of Androids and pics, there is a free terminal emulator on the Android that works wonderfully with any project that can be given bluetooth capability. Would be great to set parameters, check debug/calibration values and so on. No need to waste a display (or controls, for that matter) on a project, if it is to be monitored only periodically. Endless possibilities, I think.

    Regards,

    Anand

  2. #2
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default Re: Android Basic

    Anand,

    I used that with the PDA years ago and have my own Windows application that captures IR/RF and converts between .WAV, .CCF and several others. I've been considering rewriting from VB to PureBasic and porting it to Linux and OSX as well but had no pressing need. This might give that project a little impetus.
    Last edited by dhouston; - 13th September 2011 at 21:52.

  3. #3
    Join Date
    Oct 2004
    Posts
    448


    Did you find this post helpful? Yes | No

    Default Re: Android Basic

    Dave, in fact that URL to your site is one of the pages that got me hooked to IR years ago; thanks.

    I'd somehow missed the part, and am still unclear, how does your utility manage to squeeze out more than 18-20 kHz from a sound card? And is it by any chance in public domain?

    Regards,

    Anand

  4. #4
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default Re: Android Basic

    For output on the PDA I used the LR 19kHz approach. I'm eager to see if an Android tablet can supply enough current for decent IR range.

    For input, most cards can sample at twice the rate they playback (and some could do that on output). There were some that could sample at 96kHz in order to record CD quality which made it possible to get the IR carrier and determine its frequency up to ~48kHz.

    It's still proprietary. I made the mistake of creating a freeware application that did not have all of its features and found RemoteCentral posts from users publishing all of the codes it had generated for them so I do not plan to release any source code any time soon.

  5. #5
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default Re: Android Basic

    Just to keep going the 50% discount on the purchasing price for basic4android, here my coupon code: csiao.

    Cheers

    Al.
    All progress began with an idea

  6. #6
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default Re: Android Basic

    WOOT

    I now have a samsung galaxy nexus to play with!

  7. #7
    Join Date
    Nov 2009
    Location
    Virginia, USA
    Posts
    10


    Did you find this post helpful? Yes | No

    Default Re: Android Basic

    Quote Originally Posted by Demon View Post
    WOOT
    I now have a samsung galaxy nexus to play with!
    Send it down to me for 2 weeks, and I'll take the "new" off it for you, no charge.
    Gary-W4GNS
    MicroCode Studio Plus 5.0.0.2 MCSPX
    PBP 3.0 Gold Edition 3.0.5.4

    Tickled Speechless using PBP 3.0

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts