Easy pic based infrared


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

    Default Easy pic based infrared

    I don't do a great deal of programming but wouldn't it be easy to do a pic infrared remote control? (I have PBP).

    I have a bunch of 16c54 chips. (Are they current, by the way?)

    Just monitor the state of the pusbuttons and xmit the data using SEROUT and possibly even generate the 38 or 40khz with pic?

    Just use an Ired rcvr and a pic with SERIN on the receiver?

    I though a couple of bytes of qualifier data and a data byte.


    I have been goofing around with these Holtek chips and some others but they're constantly being discontinued.

  2. #2
    Join Date
    Nov 2004
    Posts
    61


    Did you find this post helpful? Yes | No

    Default

    Bruce has some excellent sample code for PIC-based IR comms at rentron.com. The PIC handles carrier generation as well.

    John

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Would these ired receiver modules like Sharp etc be able to demodulate the RS232 coming from a xmtr pic and it's infrared led?

    I'm talking about the little shielded receiver modules.....sharp, panasonic, vishay etc.

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


    Did you find this post helpful? Yes | No

    Default

    Yes. As long as your serial data is modulated at the IR detectors internal band-pass frequency.

    Tips:

    Use Vishay brand IR modules for reliable serial communications.

    Select an IR LED that matches the peak spectral sensitivity of your IR module for max range.

    Select IR LEDs with rise/fall times fast enough to support your intended serial data rates.

    Over 2400bps, I recommend the TSOP7000 and 870nm GaAlAs IR LEDs. The TSHF5400 or TSFF5200 are outstanding. We use these in our Fyre-Fly for wireless IR communications up to 38,400bps, and wireles boot-loading with the MCS loader at 19,200bps.
    Regards,

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

  5. #5


    Did you find this post helpful? Yes | No

    Default

    Thanks very much Bruce. I thought I'd breadboard something....I'll keep your suggestions in mind.

    I have a dozen Sharp 38khz receivers so I'll try them first...heck, even 1200 baud is fine for that matter...just want to transmit the condition of 3 or 4 switches.

Similar Threads

  1. Replies: 17
    Last Post: - 12th April 2014, 02:17
  2. Talking Clock (Pic Based)
    By Art in forum General
    Replies: 2
    Last Post: - 20th January 2012, 14:45
  3. Replies: 6
    Last Post: - 11th November 2007, 21:14
  4. PIC Based Inductance Meter
    By manumenzella in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 16th October 2007, 02:34
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14

Members who have read this thread : 2

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