element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum IR send for Carrier Air Conditioners
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 4 replies
  • Subscribers 402 subscribers
  • Views 1446 views
  • Users 0 members are here
  • ir
  • arduino
Related

IR send for Carrier Air Conditioners

gunaseelan
gunaseelan over 11 years ago

Carrier Air Conditioners  On/Off :

 

Switch On :

 

9368D502

Unknown encoding: 9368D502 (32 bits)

Raw (100): 7048 4450 -4300 600 -1550 600 -500 600 -1550 650 -1550 600 -500 600 -500 600 -1550 600 -500 600 -500 600 -1550 600 -500 600 -500 600 -1550 600 -1600 600 -450 650 -1550 600 -500 600 -450 650 -1550 600 -1550 650 -1550 600 -1550 650 -1550 600 -1550 650 -1550 600 -1550 600 -500 600 -500 600 -500 600 -450 650 -450 650 -450 600 -500 600 -500 600 -450 650 -450 650 -450 600 -500 600 -500 600 -500 600 -1550 600 -1550 650 -1550 600 -1550 650 -1550 600 -1550 650 -1550 600 -1550 600

 

 

Switch Off :

 

FA36E9A0

Unknown encoding: FA36E9A0 (32 bits)

Raw (100): 7206 4450 -4300 650 -1550 600 -500 600 -1550 600 -1550 650 -450 650 -450 600 -1600 600 -450 650 -450 600 -1600 600 -450 650 -450 650 -1550 600 -1550 600 -500 600 -1550 650 -450 600 -1600 600 -1550 600 -1600 600 -1550 600 -500 600 -1550 650 -1550 600 -1550 600 -500 600 -500 600 -500 600 -450 650 -1550 600 -500 600 -450 650 -1550 600 -1550 650 -1550 600 -500 600 -450 650 -450 650 -450 600 -500 600 -500 600 -450 650 -450 650 -1550 600 -1550 600 -1600 600 -1550 600 -1550 600

 

The Hex codes , which i receive is the same everytime.  smiley  but the raw data varies ..

 

Now How should  I will write the irsend to send this code for the air conditioner?

  • Sign in to reply
  • Cancel

Top Replies

  • Robert Peter Oakes
    Robert Peter Oakes over 11 years ago +1
    The data stream you are seeing is actually the microseconds of the carrier, this will vary a bit due to the software timing of the ir. All you need to do is take the average of each pulse in order to simplify…
  • Robert Peter Oakes
    Robert Peter Oakes over 11 years ago +1
    here is a sample from a library I am modifying // pulse parameters in usec #define NEC_HDR_MARK 9000 #define NEC_HDR_SPACE 4500 #define NEC_BIT_MARK 560 #define NEC_ONE_SPACE 1600 #define NEC_ZERO_SPACE…
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago

    The data stream you are seeing is actually the microseconds of the carrier, this will vary a bit due to the software timing of the ir.

     

    All you need to do is take the average of each pulse in order to simplify the replay

     

    If you want more info, the best place to look is the code for the or library, the timing will all be there

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago

    here is a sample from a library I am modifying

     

    // pulse parameters in usec

    #define NEC_HDR_MARK 9000

    #define NEC_HDR_SPACE 4500

    #define NEC_BIT_MARK 560

    #define NEC_ONE_SPACE 1600

    #define NEC_ZERO_SPACE 560

    #define NEC_RPT_SPACE 2250

     

     

    #define SAM_HDR_MARK 4500

    #define SAM_HDR_SPACE 4500

    #define SAM_BIT_MARK 560

    #define SAM_ONE_SPACE 1600

    #define SAM_ZERO_SPACE 560

    #define SAM_RPT_LENGTH 45000

     

     

    #define SONY_HDR_MARK 2400

    #define SONY_HDR_SPACE 600

    #define SONY_ONE_MARK 1200

    #define SONY_ZERO_MARK 600

    #define SONY_RPT_LENGTH 45000

     

     

    #define RC5_T1 889

    #define RC5_RPT_LENGTH 46000

     

     

    #define RC6_HDR_MARK 2666

    #define RC6_HDR_SPACE 889

    #define RC6_T1 444

    #define RC6_RPT_LENGTH 46000

     

     

    #define TOLERANCE 25  // percent toleran

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gunaseelan
    0 gunaseelan over 11 years ago in reply to Robert Peter Oakes

    Hello Peter ,

                               May i know what library you are referring and then how about this way ?

     

    unsigned int Signal_0_0[] = {3750,1850,500,400,500,1350,550,400,500,1350,500,450,500,1350,550,400,500,1350,500,450,500,1350,500,450,500,1350,500,1350,500,450,500,1350,500,450,500,1350,500,1400,450,1400,500,1350,500,450,500,400,500,1400,450,1400,500,450,500,400,550,400,500,450,500,1350,500,400,550,400,500,450,500,400,500,450,500,450,450,1400,500,450,450,450,500,450,500,450,450,1400,500,400,500,450,500,450,500,1350,500,450,500,400,500,450,500,1350,550,400,500,400,550,400,500,450,450,1400,500,450,450,450,550,400,500,450,500,400,500,450,500,400,500,450,500,450,500,400,550,400,500,450,500,400,550,1350,500,400,500,450,500,400,550,400,500,450,500,400,500,450,500,450,450,450,550,400,500,400,500,1400,500,450,500,400,500,450,500,400,500,450,500,450,500,400,500,450,500,450,450,450,550,1300,500,450,500,1350,500,1400,450,1400,500,1350,500,1400,500,400,550,400,500,450,500,400,500,450,500,1350,500,1350,500,1000};

     

    int khz=38;

     

    void setup()

    {

      Serial.begin(9600);

    }

     

    void loop() {

     

             if (Serial.read() == '0') {

             Serial.println("Transmitting");

             for (int i = 0; i < 3; i++)

             {

             irsend.sendRaw(Signal_0_0, sizeof(Signal_0_0)/sizeof(int), khz);

             delay(40);

             }

      }

    }

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 11 years ago in reply to gunaseelan

    sorry for the delay, yes without testing it looks like that should work


    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube