Files are Here:
http://www.hifi-remote.com/forums/dload ... e_id=25573
Created my first Remote Control Binary last night 
A serious effort, took three days in spare time 
Take a look at the TXT file for method used and RAW data 
Remote is for a KKMoon Security System, see RMDU 
Binary has been added to Slinbox, Tested Good, see BIN
It looks like the only Chinese Security System to be posted
			
			
									
						
										
						KKMoon Chinese Security System Remote Files
Moderator: Moderators
Hi QTip, and welcome to the forum!  
 
Please allow me to give some feedback on your method.
You are using an Arduino with a demodulating IR-Receiver, the library IRremote, and its sketch Irrecv.ino, Using the Arduino serial monitor, you are cut-n-pasting the captured IR signals into IrMaster, for decoding. Then you transfer the decodes to Remotemaster.
IRremote is widely spread, but it is not ideal, at least not here. It fails to capture the repeat pattern, which may or may not be important for your application. It also supports capturing only with a demodulating receiver, so high-precision captures are not possible. It does not output a final gap, as you have discovered. Etc, etc,...
IrMaster is discontinued since many years ago; its successor is IrScrutinizer. (I am the author of both
 .) 
So instead, this is my suggested method: Use AGirs (which requires Infrared4Arduino) on the Arduino. Both can be installed using the Arduino library manager. Then connect it to IrScrutinizer. Use a non-demodulating receiver (like TSM58000 or QSE159) if you can, otherwise you old demodulating will do: select Sending hw -> Girs client -> Use receive for capture in this case. You can then capture the desired signals very quickly. The captures can the be easily transferred to Remotemaster using this method.
			
			
									
						
										
						Please allow me to give some feedback on your method.
You are using an Arduino with a demodulating IR-Receiver, the library IRremote, and its sketch Irrecv.ino, Using the Arduino serial monitor, you are cut-n-pasting the captured IR signals into IrMaster, for decoding. Then you transfer the decodes to Remotemaster.
IRremote is widely spread, but it is not ideal, at least not here. It fails to capture the repeat pattern, which may or may not be important for your application. It also supports capturing only with a demodulating receiver, so high-precision captures are not possible. It does not output a final gap, as you have discovered. Etc, etc,...
IrMaster is discontinued since many years ago; its successor is IrScrutinizer. (I am the author of both
So instead, this is my suggested method: Use AGirs (which requires Infrared4Arduino) on the Arduino. Both can be installed using the Arduino library manager. Then connect it to IrScrutinizer. Use a non-demodulating receiver (like TSM58000 or QSE159) if you can, otherwise you old demodulating will do: select Sending hw -> Girs client -> Use receive for capture in this case. You can then capture the desired signals very quickly. The captures can the be easily transferred to Remotemaster using this method.
Thanks for the summary of what I already know.  TXT file in file section indicated:
And special thanks for your Remote Central post in Oct 2013 as it was the key for my method as flawed as it appears, to work:
So it was not as simple as a cut-and-paste, With the changes described above and demonstrated in my TXT message was able to decode RAW into the OBC NEC code. Guess it was just dumb luck. Oh did I say the resulting binary worked just fine on the SlingBox.
Will try the method you indicated, first problem is how to AGirs works, nothing in file, also could not find Infrared4Arduino, my IR Receiver is VS1838B, should I change to QSE159 and could not find TSM58000, looks like I'll need more help to use newer method.
			
			
									
						
										
						Use Arduino IRRECV.ino plus libary file IRremote.h
Copy data from Serial Monitor Port paste into Notepad for future reference
Copy Second data point to the last
Paste into IRMaster, Generate Analyze window
Add + to first entry and -2500 as last entry
First entry below (18:41:00.261) should look like this:
+8950 -4450 550 -600 550 -550 550 -600 500 -600 550 -550 550 -600 550 -550 550 -600 550 -1650 550 -1650 550 -1700 550 -1650 550 -1700 500 -1700 550 -1650 550 -1700 500 -600 550 -550 550 -1700 550 -550 550 -600 550 -550 550 -600 550 -1650 550 -1650 550 -1700 550 -550 550 -1650 550 -1700 550 -1650 550 -1700 500 -600 550 -2500
Click Decode in IRMaster
Should see folloowing in lower IRMaster window
protocol = NEC, device = 0, obc = 132
And special thanks for your Remote Central post in Oct 2013 as it was the key for my method as flawed as it appears, to work:
I still have not scrutinized Shirriff's library. But it is getting closer... Funny is that the numbers start with a gap (are < 0), which is normallly considered nonsensical. And the final number should probably be a gap (negative) and is for some reason given as hexadecimal, while all the other numbers appears to be digital. Discarding the initial gap (it is of course meaningless anyhow, what should be meant by an IR signal starting with silence?), changing the last to any "large" negative number, it can be decoded by IrMaster (paste into the Generate & Analyze window, add a "+" in front of the first number (2400 or 2500, not the negative number, fix the last) press Decode). Or, unfortunatelly, the first two can be decoded, the last two do not decode. The first two decode as protocol = Sony15, device = 100, obc = 44 and protocol = Sony15, device = 100, obc = 49. The rest can be considered as "unclean learns". Please retry these.
So it was not as simple as a cut-and-paste, With the changes described above and demonstrated in my TXT message was able to decode RAW into the OBC NEC code. Guess it was just dumb luck. Oh did I say the resulting binary worked just fine on the SlingBox.
Will try the method you indicated, first problem is how to AGirs works, nothing in file, also could not find Infrared4Arduino, my IR Receiver is VS1838B, should I change to QSE159 and could not find TSM58000, looks like I'll need more help to use newer method.
This is a public forum, not a person-to-person communication. I tried to help other readers; possibly someone else wants to chime in. It was not intended as an insult, sorry if you took it like that.QTip wrote:Thanks for the summary of what I already know.
That was almost 6 years ago. Things has changed.And special thanks for your Remote Central post in Oct 2013 as it was the key for my method as flawed as it appears, to work:
I never said that it did not workSo it was not as simple as a cut-and-paste, With the changes described above and demonstrated in my TXT message was able to decode RAW into the OBC NEC code. Guess it was just dumb luck. Oh did I say the resulting binary worked just fine on the SlingBox.
The Arduino library manager finds them, using the names "AGirs" and "Infrared". On Github it is https://github.com/bengtmartensson/AGirs and https://github.com/bengtmartensson/Infrared4Arduino.Will try the method you indicated, first problem is how to AGirs works, nothing in file, also could not find Infrared4Arduino,
The VS will do the job, at least for simple tasks, so no absolute need to change. The TSMP5800 is sold for example by Mouser, and is much better than the QSE159, according to my experience. (Range for example.)my IR Receiver is VS1838B, should I change to QSE159 and could not find TSM58000,
Some good news and some bad.
Not close to be up and running even with the old diode.
This is much more complicated that the method I came up with using Barf's comments from 6 years ago.
See the first post and the files if you want to try the unapproved method.
In any case pushing ahead with the method and file recommended by Barf.
IrScrutinizer installation program is here (installs with extensive help file, thanks Barf)
https://github.com/bengtmartensson/harc ... sion-1.4.2
Arduino IDE program is located here
https://www.arduino.cc/en/Main/Software
Go to Tools and set up Board, Processor and Port
Library Files and installation method thanks to Barf
Run Arduino IDE go to <sketch tab>, <include library> and <manage libaries>
https://github.com/bengtmartensson/AGirs
https://github.com/bengtmartensson/Infrared4Arduino
For NOOB not a user friendly site, look for yourself
After a round of Andruino IDE error messages calling for a number of missing libraries
You will still be missing the LiquidCrystal_I2C.cpp and .h files
They are located here
https://github.com/johnrickman/LiquidCrystal_I2C
My guess is they are to be located in the AGirs Library file folder???
Although I loaded the Girs.ino file located here along with the libraries already installed
https://github.com/bengtmartensson/AGir ... mples/Girs
following a bunch of error messages went looking for another girs.ino sketch file
Found this one located here
https://github.com/bengtmartensson/Infr ... roGirs.ino
Seems like fewer library error messages but now missing items within sketch such as
IRRECEIVER_PIN, IRRECEIVER_PULLUP, IRCAPTURER_PULLUP, BAUD (know this one), and SERIAL_TIMEOUT
As a NOOB even I can see that Bengt is a great programmer.
I only wished there were instructions on how to setup Girs, or even which .ino to use and how to navigate Github to the correct files.
  
For those that are interested:
Vishay TSMP5800 IR Receiver is available here
Found at Arrow.com for $0.60 and free shipping https://www.arrow.com/en/products/searc ... 800&r=true
You can pickup an Arduino here:
Have this one it connects, loads and provides serial output not sure if it is the best but price is good.
https://www.ebay.com/itm/132940101129
			
			
									
						
										
						Not close to be up and running even with the old diode.
This is much more complicated that the method I came up with using Barf's comments from 6 years ago.
See the first post and the files if you want to try the unapproved method.
In any case pushing ahead with the method and file recommended by Barf.
IrScrutinizer installation program is here (installs with extensive help file, thanks Barf)
https://github.com/bengtmartensson/harc ... sion-1.4.2
Arduino IDE program is located here
https://www.arduino.cc/en/Main/Software
Go to Tools and set up Board, Processor and Port
Library Files and installation method thanks to Barf
Run Arduino IDE go to <sketch tab>, <include library> and <manage libaries>
Search for "AGirs" and then install
AGIRS by Bengt Martensson V 1.0.1
Or if you want to get lost go to GitHub. libraries are located hereSearch for "Infrared" and then install
Infrared by Bengt Martensson V 1.0.4
https://github.com/bengtmartensson/AGirs
https://github.com/bengtmartensson/Infrared4Arduino
For NOOB not a user friendly site, look for yourself
After a round of Andruino IDE error messages calling for a number of missing libraries
You will still be missing the LiquidCrystal_I2C.cpp and .h files
They are located here
https://github.com/johnrickman/LiquidCrystal_I2C
My guess is they are to be located in the AGirs Library file folder???
Although I loaded the Girs.ino file located here along with the libraries already installed
https://github.com/bengtmartensson/AGir ... mples/Girs
following a bunch of error messages went looking for another girs.ino sketch file
Found this one located here
https://github.com/bengtmartensson/Infr ... roGirs.ino
Seems like fewer library error messages but now missing items within sketch such as
IRRECEIVER_PIN, IRRECEIVER_PULLUP, IRCAPTURER_PULLUP, BAUD (know this one), and SERIAL_TIMEOUT
As a NOOB even I can see that Bengt is a great programmer.
I only wished there were instructions on how to setup Girs, or even which .ino to use and how to navigate Github to the correct files.
For those that are interested:
Vishay TSMP5800 IR Receiver is available here
Found at Arrow.com for $0.60 and free shipping https://www.arrow.com/en/products/searc ... 800&r=true
You can pickup an Arduino here:
Have this one it connects, loads and provides serial output not sure if it is the best but price is good.
https://www.ebay.com/itm/132940101129
Sorry I forgot to mention LiquidCrystal_I2C. It can also be installed with the Arduino Library manager.
The main program files for AGirs are in the example folder. In the Arduino IDE, select File -> Examples -> AGirs -> Girs, and you have the files opened. If using for example the "canonical" configuration, you do not need to change anything, just select the board, processor, and port correctly.
A video is planned....
			
			
									
						
										
						The main program files for AGirs are in the example folder. In the Arduino IDE, select File -> Examples -> AGirs -> Girs, and you have the files opened. If using for example the "canonical" configuration, you do not need to change anything, just select the board, processor, and port correctly.
A video is planned....