Universal remote and Rs232


Closed Thread
Results 1 to 9 of 9
  1. #1

    Default Universal remote and Rs232

    If I did a simple PIC RS232 infrared remote 8N1 just to represent 8 switches, will a universal remote (like a harmony) be able to learn the rs232?

    Been a while since I built an ired device -- what is the carrier frequency that's popular -- isnt it 40khz or something?

    Anyway, my goal is to put a simple power on/off on my PC and I would like it to be part of the harmony's "activity" routine.

    I suppose I may have to go with one of the standard remote protocols rather than rs232 ?

    Any tips on getting this project done? thanks

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    I don't know anything about the Harmony remote, but 38kHz & 40kHz are the most popular
    carriers.

    If you want to try HSEROUT to send data modulated at 40kHz, I just posted an example in
    this thread http://www.picbasic.co.uk/forum/showthread.php?t=12628 showing how to do
    it with the new PIC16F1827 using the built-in Data Signal Modulator.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Bruce --

    Do you think the Harmony (or any universal for that matter) will read RS232
    as a valid signal?

    Ever tried it?

    Don't know if they expect the data to be in one of those remote formats and won't accept what it doesn't like?

  4. #4


    Did you find this post helpful? Yes | No

    Default

    what I mean is the "learning" function on these remotes.

  5. #5
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Hi Michael,

    I've never tried a learning remote with serial IR data before, but I would be interested
    in knowing if it worked or not. Could make for some really interesting projects.

    Just don't have a learning remote to test.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  6. #6
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    Bruce,and Michael, You can use any Pic micro with a pwm output to generate modulated serial data. I have been doing it for about 2 years since I started using 16F88's for remote controls. All you need are 2 diodes with there anodes connected 1 to the tx output and 1 to the pwm output and the cathodes driving a pnp transistor for the IR drive... Try it...

    Dave Purola,
    N8NTA

  7. #7
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Hi Dave,

    Thanks. I've done a lot of IR apps with/without external components. Except for the IR LED
    and resistor of course.

    I just worked up the Data Signal Modulator example while playing with the new 16F1827.

    The DSM module on this thing goes well beyond simple modulated IR communications. And
    a single resistor + IR LED is all you need to setup an IR wireless network with multiple PICs
    all using the hardware USART with HSERIN/HSEROUT.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

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


    Did you find this post helpful? Yes | No

    Default

    Learning remotes do no decoding but merely record an image of the signal for playback. The source of the learned signal should not matter.

  9. #9


    Did you find this post helpful? Yes | No

    Default

    Cool -- that's what I needed to know.

    And your right Bruce, that could make for some (very) interesting ideas.

    Be fun to even add a PIC Ired rcvr to the serial port and maybe write some VBnet stuff.

    For now though, just on/off control of my media PC with the Harmony.

Similar Threads

  1. Replies: 17
    Last Post: - 12th April 2014, 02:17
  2. Infrared Communications over RS232 UART or with B0 interupt
    By modifyit in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 9th December 2005, 19:17

Members who have read this thread : 1

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