Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15

Thread: Infrared (IR) Communications Basic Tutorial

  1. #1
    Moderator
    Join Date
    Mar 2008
    Location
    Western Australia
    Posts
    10,074

    Lightbulb Infrared (IR) Communications Basic Tutorial

    Attached is a basic tutorial covering the concepts and with some working PICAXE program examples and schematic for Infra Red communications between two PICAXE chips.

    The 40X1 program code is representative of that required for X1, X2 and M2 parts (watch your pin IO allocations) for a "Master device.
    The 08M program code is representative of a "Slave" device and representative of that for any of the M series parts.

    Obviously a lot more can be added including data verification and other encoding schemes but this tutorial was primarily aimed at getting the basics down.


    EDIT: See post 3 below for latest version
    Attached Files Attached Files
    Last edited by westaust55; 23-04-2011 at 01:36.
    westaust55

    Hey Hamlet, 2B OR NOT 2B = $FF

  2. #2
    Senior Member
    Join Date
    Feb 2010
    Location
    Don't Mess With My Texas!
    Posts
    716

    Default

    Dang! The instant I'm thinking about this here you are with a tutorial. I'm digging in right now.

    I have a little project for an enclosed area where I need some remote sensors to report activity to a central receiver that will accumulate that data and store it.

    PS. westaust55, you have ESP and don't anyone tell him different!

  3. #3
    Moderator
    Join Date
    Mar 2008
    Location
    Western Australia
    Posts
    10,074

    Default Infrared (IR) Communications Basic Tutorial - Rev B

    With some input from TC, I have also now read through a paper copy which found a number of spelling and grammatical errors. The attached version does not change the programs but corrects errors in the descriptive sections.

    EDIT:
    New version at Rev C added with corrected heading for section 6.1 as identified by IWP

    EDIT2:
    New version D added with a few spied typos corrected.
    Attached Files Attached Files
    Last edited by westaust55; 20-02-2012 at 12:36.
    westaust55

    Hey Hamlet, 2B OR NOT 2B = $FF

  4. #4

    Default General optical communications

    Thanks for producing such a useful tutorial. Anyone interested in optical communications may also find the following (free) ebook worth downloading. Contains information about operating over extended ranges etc.


    http://www.imagineeringezine.com/files/air-bk2.html

  5. #5
    Senior Member
    Join Date
    Jan 1970
    Location
    Perth, Western Australia
    Posts
    3,111

    Default

    Just noticed that the heading of section 6.1 is the reverse of what you want. Should be IR Sender or similar.

    (I tried to send this as a PM but your 'box is overflowing!)

  6. #6
    Moderator
    Join Date
    Mar 2008
    Location
    Western Australia
    Posts
    10,074

    Default

    Quote Originally Posted by inglewoodpete View Post
    Just noticed that the heading of section 6.1 is the reverse of what you want. Should be IR Sender or similar.

    (I tried to send this as a PM but your 'box is overflowing!)
    Thanks for picking that up IWP.
    New Rev C added at post 3 since I have referred some on the forum to that specific post in recent days

    With respect to the PM inbox,
    I seem to get so many messages from members (not only newbies) who would better post here where all can see the answers, for the education of all rather than the education of one.
    I do occasionally clear out some of the PM's and quickly get more to refill the box.
    I do respond to some PM's but many cannot then even bother to reply with a quick "thanks" and a few even then go so far as to post the information given here on the forum as part of their program with no acknowledgment.
    I did at one time try posting the questions and answers on the forum and then PM back with a link to the forum post but that did not receive any response either way.
    Last edited by westaust55; 08-02-2011 at 10:25.
    westaust55

    Hey Hamlet, 2B OR NOT 2B = $FF

  7. #7
    Member
    Join Date
    Aug 2009
    Location
    Aberdare Wales UK
    Posts
    40

    Smile

    This is just briliant, gives all the information needed by a newbe like myself.
    Thank you and more like this would be great I.E. how to use Hpwm to drive an H-Bridge please.

  8. #8
    New Member
    Join Date
    Feb 2012
    Location
    usa
    Posts
    10

    Default

    WOW! This tutorial is amazing, so much useful, detailed information. This is exactly what I've been looking for. Thank you sooooo much!

  9. #9
    Moderator
    Join Date
    Mar 2008
    Location
    Western Australia
    Posts
    10,074

    Default

    Quote Originally Posted by smolder View Post
    WOW! This tutorial is amazing, so much useful, detailed information. This is exactly what I've been looking for. Thank you sooooo much!
    Welcome to the PICAXE forum.

    Great to read that you found the information useful.
    westaust55

    Hey Hamlet, 2B OR NOT 2B = $FF

  10. #10
    Senior Member
    Join Date
    Jan 1970
    Location
    Buenos Aires, Argentina
    Posts
    252

    Post Translation... to LA-Spanish

    So tell me Westy... do you give me the permit (allow) to translate your Tutorial to LA-Spanish ???

    Will be nice... to many lang-unskilled students/hobbyists.

    :-)

Bookmarks

Posting Permissions

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