Serout IR TX


Closed Thread
Results 1 to 4 of 4

Thread: Serout IR TX

  1. #1
    Join Date
    Jul 2005
    Posts
    18

    Default Serout IR TX

    A friend gave me a remote control, I used the following line to receive data into it, which works. The receiver side is using a 16F877 @ 20Mhz with a 38 Khz module.



    MAIN:
    Serin2 portb.0,813,100,MAIN,[key] ' Receive data and assign to key
    SEROUT lcd,T9600,[254,128,key] ' Display key value on serial LCD
    pause 10
    GOTO MAIN

    But now I want to make my own remote control using a 16F628 @ 4Mhz. Ive tried using this line amongst other combinations....

    Serout2 portb.3,813,["A"] ' Send the letter A

    But nothing seems to work. Ive also attached a schematic of my transmitter. Ive read other posts and visited rentron for examples but Im not doing something right. Any pointers or advice is appreciated

    Juan
    Attached Images Attached Images  
    Last edited by Jųan; - 28th January 2006 at 05:19.

  2. #2
    Join Date
    Aug 2005
    Posts
    57


    Did you find this post helpful? Yes | No

    Default

    Take a look at the IR tutorial here.http://www.rentron.com/Infrared_Communication.htm

  3. #3
    Join Date
    Jul 2005
    Posts
    18


    Did you find this post helpful? Yes | No

    Thumbs up

    Thanks arniepj, I will have a look at the article

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


    Did you find this post helpful? Yes | No

    Default

    Here's a better article for IR serial http://www.rentron.com/Micro-Bot/IR_Serial.htm
    Regards,

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

Similar Threads

  1. A Serial GLCD 128x64 Simple Project
    By Oldspring in forum Off Topic
    Replies: 0
    Last Post: - 8th March 2010, 20:58
  2. Serout to serial servo
    By azmax100 in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 12th August 2009, 16:46
  3. Advice-scrutiny for my serial controller
    By kevlar129bp in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 13th December 2008, 17:11
  4. Filling pdu array with gps data!
    By camolas in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 4th October 2008, 00:54
  5. Keypad unlock (as in garage door possibly)
    By Fred in forum Code Examples
    Replies: 5
    Last Post: - 2nd April 2006, 04:26

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