Show Posts
Pages: [1]
1  Using Arduino / Programming Questions / Re: Mitsubishi IR AC remote decoding Problem on: May 07, 2013, 01:38:14 am
sorry, I have not posted the entire message.
after modifying IRmote.cpp as arslankhan friend says. I get the following error: IRremote.cpp: In member function 'long int IRrecv :: decodeMitsubishi (decode_results *)':
IRremote.cpp: 819: error: expected primary-expression before ',' token.


 the line is:

  / / Success
   results-> bits = (offset - 1) / 2;
   if (results-> bits <MITSUBISHI_BITS) {
     results-> bits = 0;
     return ERR;
   }
   results-> value = data;
   results-> decode_type = MITSUBISHI;
   return DECODED;
}
2  Using Arduino / Programming Questions / Re: Mitsubishi IR AC remote decoding Problem on: May 06, 2013, 06:55:43 am
disappeared after a while I come back here. I have a problem when trying to load the sketch with the modified libraries, I get the following error and i donĀ“t know why "expected primary-expression before ';' token"
 thanks a lot
3  Using Arduino / Programming Questions / Re: Mitsubishi IR AC remote decoding Problem on: March 01, 2013, 08:44:53 am
i don't know why not recognize it as panasonic, I can't change the number of bits
this is that show me:


Unknown encoding: F6F5174A (32 bits)
Raw (240): 31648 3450 -1650 400 -1300 450 -1250 400 -450 400 -450 400 -450 400 -1350 450 -400 400 -450 400 -1300 450 -1250 400 -450 400 -1300 400 -450 400 -450 400 -1300 400 -1350 350 -500 450 -1250 400 -1300 400 -450 400 -450 400 -1300 400 -450 400 -450 500 -1250 450 -400 400 -450 450 -400 400 -450 500 -400 350 -500 350 -500 450 -400 400 -450 500 -350 400 -450 400 -450 500 -400 350 -500 400 -450 400 -450 400 -450 400 -450 500 -350 500 -400 450 -1250 400 -450 400 -450 400 -450 400 -450 400 -450 400 -1300 400 -1300 500 -400 450 -400 400 -450 400 -450 500 -350 500 -350 500 -350 400 -500 350 -500 400 -450 450 -400 500 -350 400 -1300 400 -1300 400 -450 500 -1250 450 -1250 350 -500 400 -450 400 -450 400 -450 400 -450 400 -450 400 -1300 400 -500 350 -500 350 -1350 450 -400 400 -1300 400 -450 400 -1300 400 -450 400 -1300 450 -1250 500 -350 500 -400 350 -500 400 -450 400 -450 400 -450 400 -450 400 -450 500 -350 400 -450 400 -500 350 -500 350 -500 400 -450 400 -450 400 -450 500 -350 400 -500 350 -500 450 -400 400 -450 450 -400 500 -350 500 -350 400 -450 400 -450 400 -500 450 -400 450 -400 400 -450 500 -350 400
4  Using Arduino / Programming Questions / Re: Mitsubishi IR AC remote decoding Problem on: February 28, 2013, 05:34:56 pm
I could open the other file (IRremoteInt.h) and this appears a type mitsubishi and what times to crack the code?. the solution might be here? but I have not gotten changed anything, maybe I have not done well. I've also changed the rawbuf and still the same.
about in line 119 the IRremoteInt.h show this:
// #define MITSUBISHI_HDR_MARK   250  // seen range 3500
#define MITSUBISHI_HDR_SPACE   4000 //  7*50+100
#define MITSUBISHI_ONE_MARK   2050 // 41*50-100
#define MITSUBISHI_ZERO_MARK  1050 // 17*50-100
// #define MITSUBISHI_DOUBLE_SPACE_USECS  800  // usually ssee 713 - not using ticks as get number wrapround
// #define MITSUBISHI_RPT_LENGTH 45000
5  Using Arduino / Programming Questions / Re: Mitsubishi IR AC remote decoding Problem on: February 28, 2013, 07:32:19 am
Using the code that I posted are you saying that pressing the same key twice in succession outputs different Hex codes ?
Is there any pattern to this ?  ie does the output flip between 2 values ?  What output do you get if you hold the key down ?
Yes, if I press the same key  I have always  different codes, never none not repeated. before I also passed  that only  code 64800024 less OFF button, but now with the sketch you put different codes always leave me.


I think you will find the code is longer. The IR library code you are using assumes a 48 bit code from the C4D3 and drops the rest of the data, if you modify it to 112 bits you will see all the data. It wont convert it to hex as it is storing the entire code in a 16 bit unsigned integer. but it will give you all the timings.
Sorry for my ignorance, I do not wear much in the arduino world, but how it could change the IR library to see these 112bits?
a greeting
6  Using Arduino / Programming Questions / Re: Mitsubishi IR AC remote decoding Problem on: February 27, 2013, 08:47:36 am
Hi, I have a similar problem .I have a couple of weeks trying to crack the code of this command and the problem I have is always pressing the same key code always changes, whereas in a TV remote control to always press the same key code is always the same. could be the time to measure the code issuing the command? because as I read mitsubishi protocol is x-sat and not nec.
this is what shows me to make the FAN button:

877DE001  Auto
FFFFFFFF
6C96DCEB  level 1
FFFFFFFF
1C60D627 level 2
FFFFFFFF
F1355AB3 level3
FFFFFFFF
C1B11485 level 4
FFFFFFFF
A9C212CC Auto again
FFFFFFFF

a greeting
7  Topics / Home Automation and Networked Objects / Re: Looking for ideas on Heat Pump Controller - Power/WIFI on: February 24, 2013, 02:10:35 pm
Hi

I have spent quite a bit of time lately trying to decode a Mitsubishi Heat Pump remote control IR signals so I can simulate via Arduino + c# app.

I finally have it mastered and I can now turn the unit on/off, control the mode, control the temperature, control the fan speed, control the swing so pretty much everything I want.

The next problem for me is that I would like to make a small unit (minimal Arduino) that will site in front of the heat pump (about 6 meters in front).

The problem's I see are:

1) I need power to the device
2) I need to send signals to the device to tell it what to do.

What I would like is to automate this so I can have the system automatically maintain a comfortable temperature based on other temperature sensors I already have.

So I need to send a simple Wifi/Bluetooth/2.4G or 443 Mhz signal.

I guess anyone who does any projects like this runs into the same problems - power and communicating with the unit.

The unit location means I do not want to run cables down the wooden beam as it would detract from the beam and it is in my living area.

My ceiling cavity is not accessible either (well I do  not think it is)

Because of the requirement for some sort of wireless communications I know that batteries is a bad idea, but I need power.

I guess if I run cable for power then I could run a serial cable as well.

So just looking for ideas from people who have had similar projects?  What did you do?

Chris


Hi, I am trying to do the same, I've tried but I have not managed to crack the code on the remote IR, would you care to comment as you did please?
a greeting
Pages: [1]