Page 2 of 4

Posted: Tue Feb 16, 2016 2:12 pm
by Bob8K
The Robman wrote:Do the codes that you are using have 0000 in the 3rd word and 000C (or some other non-zero value) in the 4th? Like this...
0000 0073 0000 000C 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0CA8
The 3rd word controls what gets sent once and the 4th controls the repeating portion (ie, what gets sent while the button is held).
The "Balance Right" code is:

Code: Select all

0000 006F 000B 0000 0020 0022 0020 0022 0020 0022 0020 0022 003F 0024 0020 0022 0020 0022 0020 0043 0020 0022 003F 0045 003F CB34
I tried changing the 4rd word from 0000 to 000B, but that made the Balance Right command stop working. It makes the MX-850 behave strangely when keeping the key down: the sending icon remains ON, as if it was repeating, but it's sending garbage that's not recognized by the device (nor by an IR extender I built and which feedback LED stops blinking).

Posted: Tue Feb 16, 2016 2:18 pm
by The Robman
the leadout is probably too long (ie, the last word), so try this instead...

0000 006F 0000 000b 0020 0022 0020 0022 0020 0022 0020 0022 003F 0024 0020 0022 0020 0022 0020 0043 0020 0022 003F 0045 003F 0CA8

Posted: Tue Feb 16, 2016 2:21 pm
by Bob8K
The Robman wrote:Do the codes that you are using have 0000 in the 3rd word and 000C (or some other non-zero value) in the 4th?
However, setting the 4rd word to 0001 instead of 000B enables the repeat, but it's slow and erratic. So, you're on something.

Oops, your answer went at the same time, I'll try your last suggestion.

Posted: Tue Feb 16, 2016 2:38 pm
by Bob8K
The Robman wrote:the leadout is probably too long (ie, the last word), so try this instead...

0000 006F 0000 000b 0020 0022 0020 0022 0020 0022 0020 0022 003F 0024 0020 0022 0020 0022 0020 0043 0020 0022 003F 0045 003F 0CA8
That works!

You found out how to activate the repeat, many thanks. I need to study Barf answer now to figure out how too get the correct codes more reliably.

Posted: Tue Feb 16, 2016 3:16 pm
by Bob8K
Barf wrote: That is great news! I would suggest the following experiment to finally settle the toggle question: Got to the "Generate" pane, select protocol RC5, D=24, F=1 (this is exactly the same as 5000...). Then select T=0, and send the signal several times (waiting a second or so between), using the Toy, Select T=1 and repeat the experiment.
E1 works with both settings with the Toy.
Is this possibly the toggle, i.e.
0000 0073 0000 000C 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0CA8 every second time and
0000 0073 0000 000D 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0CA8
the other times?
There is a toggle, but other things change.

Here are some Balance left captures:
0000 0070 000C 0000 001F 0022 001F 0022 001F 0023 001F 0022 0040 0021 001F 0023 001F 0023 001F 0044 0021 0020 0040 0043 001F 0023 0020 CAB0

0000 006E 000B 0000 001F 0024 0040 0045 001F 0024 003F 0025 0021 0020 001F 0024 001E 0045 001F 0024 0040 0045 001D 0024 0022 CCF6

0000 0070 000C 0000 001E 0023 0020 0022 0020 0022 0021 0020 0041 0022 0021 0020 001E 0023 0020 0042 001E 0023 003E 0044 001E 0023 0020 CA6A

0000 0072 000B 0000 001E 0021 0040 0041 0020 0020 003E 0023 001E 0022 001E 0022 0021 0040 0020 0020 0040 0041 0020 0020 001F C667

0000 0071 000C 0000 001E 0022 0020 0020 0020 0020 0021 001E 0040 0022 001E 0022 001E 0022 0020 0042 0020 0020 0042 0040 001E 0022 001E C7E3
All work well with the USB Toy, but with the MX-850, they trigger Balance Right instead!


Asking about the MX-850 here is like asking a Windows question in a Linux forum. :wink: Remotecentral knows better.
Yes, but it seems that there are more knowledgeable people here!
But one thing that you may try is to capture the MX-850 should-be RC5/24/1 signal as raw, and compare with the one generated by IrScrutinizer. Use output format raw, not pronto hex, for this. Post it here if you need help.
You mean with my Arduino? I'll take a peek at the IR library to see what you mean by that.

Posted: Tue Feb 16, 2016 5:31 pm
by The Robman
Below are a whole bunch of clean RC5 learns for your device. All you need to do is figure out the function codes (eg, balance left = 26, balance right = 27)

Device Code: 24 Function: 0
0000 0073 0000 000C 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0CC5
Device Code: 24 Function: 1
0000 0073 0000 000C 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0CA4
Device Code: 24 Function: 2
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0040 0040 0CC5
Device Code: 24 Function: 3
0000 0073 0000 000C 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0020 0020 0CA4
Device Code: 24 Function: 4
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0040 0040 0020 0020 0CC5
Device Code: 24 Function: 5
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0040 0040 0040 0020 0CA4
Device Code: 24 Function: 6
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0020 0040 0CC5
Device Code: 24 Function: 7
0000 0073 0000 000C 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0020 0020 0020 0020 0CA4
Device Code: 24 Function: 8
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0040 0020 0020 0020 0020 0CC5
Device Code: 24 Function: 9
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0040 0020 0020 0040 0020 0CA4
Device Code: 24 Function: 10
0000 0073 0000 000A 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0040 0040 0040 0CC5
Device Code: 24 Function: 11
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0040 0040 0020 0020 0020 0CA4
Device Code: 24 Function: 12
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0020 0040 0020 0020 0CC5
Device Code: 24 Function: 13
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0020 0040 0040 0020 0CA4
Device Code: 24 Function: 14
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0020 0020 0020 0040 0CC5
Device Code: 24 Function: 15
0000 0073 0000 000C 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0CA4
Device Code: 24 Function: 16
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0040 0020 0020 0020 0020 0020 0020 0CC5
Device Code: 24 Function: 17
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0040 0020 0020 0020 0020 0040 0020 0CA4
Device Code: 24 Function: 18
0000 0073 0000 000A 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0040 0020 0020 0040 0040 0CC5
Device Code: 24 Function: 19
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0CA4
Device Code: 24 Function: 20
0000 0073 0000 000A 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0040 0040 0040 0020 0020 0CC5
Device Code: 24 Function: 21
0000 0073 0000 000A 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0040 0040 0040 0040 0020 0CA4
Device Code: 24 Function: 22
0000 0073 0000 000A 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0040 0040 0020 0020 0040 0CC5
Device Code: 24 Function: 23
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0040 0040 0020 0020 0020 0020 0020 0CA4
Device Code: 24 Function: 24
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0CC5
Device Code: 24 Function: 25
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0020 0020 0040 0020 0020 0040 0020 0CA4
Device Code: 24 Function: 26 (balance left)
0000 0073 0000 000A 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0020 0020 0040 0040 0040 0CC5
Device Code: 24 Function: 27 (balance right)
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0020 0020 0040 0040 0020 0020 0020 0CA4
Device Code: 24 Function: 28
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0CC5
Device Code: 24 Function: 29
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0020 0020 0020 0020 0040 0040 0020 0CA4
Device Code: 24 Function: 30
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0CC5
Device Code: 24 Function: 31
0000 0073 0000 000C 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0020 0CA4
Device Code: 24 Function: 32
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0020 0020 0020 0020 0020 0020 0020 0020 0CC5
Device Code: 24 Function: 33
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0020 0020 0020 0020 0020 0020 0040 0020 0CA4
Device Code: 24 Function: 34
0000 0073 0000 000A 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0020 0020 0020 0020 0040 0040 0CC5
Device Code: 24 Function: 35
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0020 0020 0020 0020 0040 0020 0020 0020 0CA4
Device Code: 24 Function: 36
0000 0073 0000 000A 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0020 0020 0040 0040 0020 0020 0CC5
Device Code: 24 Function: 37
0000 0073 0000 000A 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0020 0020 0040 0040 0040 0020 0CA4
Device Code: 24 Function: 38
0000 0073 0000 000A 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0020 0020 0040 0020 0020 0040 0CC5
Device Code: 24 Function: 39
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0CA4
Device Code: 24 Function: 40
0000 0073 0000 000A 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0040 0040 0020 0020 0020 0020 0CC5
Device Code: 24 Function: 41
0000 0073 0000 000A 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0040 0040 0020 0020 0040 0020 0CA4
Device Code: 24 Function: 42
0000 0073 0000 0009 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0040 0040 0040 0040 0CC5
Device Code: 24 Function: 43
0000 0073 0000 000A 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0040 0040 0040 0020 0020 0020 0CA4
Device Code: 24 Function: 44
0000 0073 0000 000A 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0040 0020 0020 0040 0020 0020 0CC5
Device Code: 24 Function: 45
0000 0073 0000 000A 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0040 0020 0020 0040 0040 0020 0CA4
Device Code: 24 Function: 46
0000 0073 0000 000A 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0040 0020 0020 0020 0020 0040 0CC5
Device Code: 24 Function: 47
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0040 0020 0020 0020 0020 0020 0020 0020 0CA4
Device Code: 24 Function: 48
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0CC5
Device Code: 24 Function: 49
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0CA4
Device Code: 24 Function: 50
0000 0073 0000 000A 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0040 0020 0020 0040 0040 0CC5
Device Code: 24 Function: 51
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0CA4
Device Code: 24 Function: 52
0000 0073 0000 000A 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0040 0040 0040 0020 0020 0CC5
Device Code: 24 Function: 53
0000 0073 0000 000A 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0040 0040 0040 0040 0020 0CA4
Device Code: 24 Function: 54
0000 0073 0000 000A 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0040 0040 0020 0020 0040 0CC5
Device Code: 24 Function: 55
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0040 0040 0020 0020 0020 0020 0020 0CA4
Device Code: 24 Function: 56
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0020 0020 0CC5
Device Code: 24 Function: 57
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0040 0020 0CA4
Device Code: 24 Function: 58
0000 0073 0000 000A 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0020 0020 0040 0040 0040 0CC5
Device Code: 24 Function: 59
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0020 0020 0040 0040 0020 0020 0020 0CA4
Device Code: 24 Function: 60
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0020 0020 0CC5
Device Code: 24 Function: 61
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0040 0020 0CA4
Device Code: 24 Function: 62
0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0CC5
Device Code: 24 Function: 63
0000 0073 0000 000C 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0CA4
Device Code: 24 Function: 64
0000 0073 0000 000C 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0CC5
Device Code: 24 Function: 65
0000 0073 0000 000C 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0CA4
Device Code: 24 Function: 66
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0040 0040 0CC5
Device Code: 24 Function: 67
0000 0073 0000 000C 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0020 0020 0CA4
Device Code: 24 Function: 68
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0040 0040 0020 0020 0CC5
Device Code: 24 Function: 69
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0040 0040 0040 0020 0CA4
Device Code: 24 Function: 70
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0020 0040 0CC5
Device Code: 24 Function: 71
0000 0073 0000 000C 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0020 0020 0020 0020 0CA4
Device Code: 24 Function: 72
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0040 0020 0020 0020 0020 0CC5
Device Code: 24 Function: 73
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0040 0020 0020 0040 0020 0CA4
Device Code: 24 Function: 74
0000 0073 0000 000A 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0040 0040 0040 0CC5
Device Code: 24 Function: 75
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0040 0040 0020 0020 0020 0CA4
Device Code: 24 Function: 76
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0020 0040 0020 0020 0CC5
Device Code: 24 Function: 77
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0020 0040 0040 0020 0CA4
Device Code: 24 Function: 78
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0020 0020 0020 0040 0CC5
Device Code: 24 Function: 79
0000 0073 0000 000C 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0CA4
Device Code: 24 Function: 80
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0040 0020 0020 0020 0020 0020 0020 0CC5
Device Code: 24 Function: 81
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0040 0020 0020 0020 0020 0040 0020 0CA4
Device Code: 24 Function: 82
0000 0073 0000 000A 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0040 0020 0020 0040 0040 0CC5
Device Code: 24 Function: 83
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0CA4
Device Code: 24 Function: 84
0000 0073 0000 000A 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0040 0040 0040 0020 0020 0CC5
Device Code: 24 Function: 85
0000 0073 0000 000A 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0040 0040 0040 0040 0020 0CA4
Device Code: 24 Function: 86
0000 0073 0000 000A 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0040 0040 0020 0020 0040 0CC5
Device Code: 24 Function: 87
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0040 0040 0020 0020 0020 0020 0020 0CA4
Device Code: 24 Function: 88
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0CC5
Device Code: 24 Function: 89
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0020 0020 0040 0020 0020 0040 0020 0CA4
Device Code: 24 Function: 90
0000 0073 0000 000A 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0020 0020 0040 0040 0040 0CC5
Device Code: 24 Function: 91
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0020 0020 0040 0040 0020 0020 0020 0CA4
Device Code: 24 Function: 92
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0CC5
Device Code: 24 Function: 93
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0020 0020 0020 0020 0040 0040 0020 0CA4
Device Code: 24 Function: 94
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0CC5
Device Code: 24 Function: 95
0000 0073 0000 000C 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0020 0CA4
Device Code: 24 Function: 96
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0020 0020 0020 0020 0020 0020 0020 0020 0CC5
Device Code: 24 Function: 97
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0020 0020 0020 0020 0020 0020 0040 0020 0CA4
Device Code: 24 Function: 98
0000 0073 0000 000A 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0020 0020 0020 0020 0040 0040 0CC5
Device Code: 24 Function: 99
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0020 0020 0020 0020 0040 0020 0020 0020 0CA4
Device Code: 24 Function: 100
0000 0073 0000 000A 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0020 0020 0040 0040 0020 0020 0CC5
Device Code: 24 Function: 101
0000 0073 0000 000A 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0020 0020 0040 0040 0040 0020 0CA4
Device Code: 24 Function: 102
0000 0073 0000 000A 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0020 0020 0040 0020 0020 0040 0CC5
Device Code: 24 Function: 103
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0CA4
Device Code: 24 Function: 104
0000 0073 0000 000A 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0040 0040 0020 0020 0020 0020 0CC5
Device Code: 24 Function: 105
0000 0073 0000 000A 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0040 0040 0020 0020 0040 0020 0CA4
Device Code: 24 Function: 106
0000 0073 0000 0009 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0040 0040 0040 0040 0CC5
Device Code: 24 Function: 107
0000 0073 0000 000A 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0040 0040 0040 0020 0020 0020 0CA4
Device Code: 24 Function: 108
0000 0073 0000 000A 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0040 0020 0020 0040 0020 0020 0CC5
Device Code: 24 Function: 109
0000 0073 0000 000A 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0040 0020 0020 0040 0040 0020 0CA4
Device Code: 24 Function: 110
0000 0073 0000 000A 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0040 0020 0020 0020 0020 0040 0CC5
Device Code: 24 Function: 111
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0040 0040 0020 0020 0020 0020 0020 0020 0020 0CA4
Device Code: 24 Function: 112
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0CC5
Device Code: 24 Function: 113
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0CA4
Device Code: 24 Function: 114
0000 0073 0000 000A 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0040 0020 0020 0040 0040 0CC5
Device Code: 24 Function: 115
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0CA4
Device Code: 24 Function: 116
0000 0073 0000 000A 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0040 0040 0040 0020 0020 0CC5
Device Code: 24 Function: 117
0000 0073 0000 000A 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0040 0040 0040 0040 0020 0CA4
Device Code: 24 Function: 118
0000 0073 0000 000A 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0040 0040 0020 0020 0040 0CC5
Device Code: 24 Function: 119
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0040 0040 0020 0020 0020 0020 0020 0CA4
Device Code: 24 Function: 120
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0020 0020 0CC5
Device Code: 24 Function: 121
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0040 0020 0CA4
Device Code: 24 Function: 122
0000 0073 0000 000A 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0020 0020 0040 0040 0040 0CC5
Device Code: 24 Function: 123
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0020 0020 0040 0040 0020 0020 0020 0CA4
Device Code: 24 Function: 124
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0020 0020 0CC5
Device Code: 24 Function: 125
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0040 0020 0CA4
Device Code: 24 Function: 126
0000 0073 0000 000B 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0040 0CC5
Device Code: 24 Function: 127
0000 0073 0000 000C 0040 0020 0020 0040 0020 0020 0040 0020 0020 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0CA4

Posted: Tue Feb 16, 2016 9:55 pm
by Bob8K
The Robman wrote:Below are a whole bunch of clean RC5 learns for your device. All you need to do is figure out the function codes (eg, balance left = 26, balance right = 27)
Wow Rob, that's a lot of time spent to help me, thanks.

Unfortunately, that works only with the USB Toy and IRScrutinizer, not with the MX-850 which seems to have a lot of trouble dealing with this new processor.
the leadout is probably too long (ie, the last word), so try this instead...

0000 006F 0000 000b 0020 0022 0020 0022 0020 0022 0020 0022 003F 0024 0020 0022 0020 0022 0020 0043 0020 0022 003F 0045 003F 0CA8
Upon further testing, I realized that this indeed enables repeat, but makes single press work erratically. Sometimes one press makes nothing, sometimes it makes the device react 2 to 4 times (never 1).

I'm thinking to an alternate solution: sending a whole bunch of different IR commands that will be understood by my Arduino only, and having the Arduino resend clean codes.

That should be possible since the USB Toy works with your codes.

Only problem, I don't know how to use one of your strings with the Arduino.

Sending 0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0020 0020 0040 0040 0020 0020 0020 0CA4 gives with it:

Code: Select all

Decoded RC5(3): Value:161B (13 bits)
Raw samples(22): Gap:12394
Head: m800  s1000
0:m1650 s1850	1:m800 s1000		 2:m1650 s1000	3:m750 s1000
4:m800 s1000	5:m800 s1850		 6:m800 s1000	7:m1650 s1850
8:m800 s1000	9:m800
Extent=23850
Mark  min:750	 max:1650
Space min:1000	 max:1850
But using:

Code: Select all

for(int i = 0; i<1; i++)
  Sender.send(RC5, 0x161B, 13);
does not work. I'll ask on an Arduino forum, but maybe barf knows how to use the raw values above directly with IRlib?

Posted: Tue Feb 16, 2016 10:02 pm
by Bob8K
Barf wrote:But one thing that you may try is to capture the MX-850 should-be RC5/24/1 signal as raw, and compare with the one generated by IrScrutinizer. Use output format raw, not pronto hex, for this. Post it here if you need help.
Sending 0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0020 0020 0040 0040 0020 0020 0020 0CA4 with the USB toy gives:

Code: Select all

...Value = 0x161b Bits = 0 (9788)
Decoded RC5(3): Value:161B (13 bits)
Raw samples(22): Gap:49874
Head: m750  s1000
0:m1700 s1850	1:m800 s950		 2:m1700 s950	3:m800 s1000
4:m800 s1000	5:m800 s1850		 6:m800 s950	7:m1700 s1850
8:m800 s950	9:m850
Extent=23850
Mark  min:800	 max:1700
Space min:950	 max:1850
Sending the same code with the MX-850 gives:

Code: Select all

Decoded RC5(3): Value:161B (13 bits)
Raw samples(22): Gap:40700
Head: m850  s1000
0:m1800 s1950	1:m850 s1050		 2:m1750 s1050	3:m800 s1050
4:m850 s1000	5:m850 s1950		 6:m850 s1000	7:m1800 s1950
8:m850 s1000	9:m850
Extent=25100
Mark  min:800	 max:1800
Space min:1000	 max:1950
The first one works, not the second.

Edit: I found a sample script with IRlib (IRrecord.ino) allowing to store and replay raw values, I'll try it soon.

Posted: Tue Feb 16, 2016 10:29 pm
by The Robman
So the bottom line is, the MX-850 doesn't handle valid RC5 signals properly. Unfortunately, I know nothing about the MX-850 or Arduino, so I can't help there. Best I can suggest is, keep experimenting until you find something that works with them, then once you have 1 good working learn, post it here and I can probably edit the hex that I posted so that you will have the whole set.

And it was no trouble creating those, we have an old program called MakeHex that can create them in a jiffy.

Posted: Tue Feb 16, 2016 10:56 pm
by Bob8K
Thanks Rob.

Barf, since you know well the Arduino, I stored raw values for Bal left with a signal sent by the Toy that does work wih the new device, which turned out to be:

Code: Select all

#define RawBalLeftLEN   21
unsigned int RawBalLeft[RawBalLeftLEN] = { 0x352, 0x3b6, 0x6a4, 0x708, 0x320, 0x3e8, 0x672, 0x3e8, 0x320, 0x3b6, 0x352, 0x3b6, 0x320, 0x73a, 0x352, 0x3b6, 0x6a4, 0x708, 0x320, 0x3e8, 0x320 };
Then I used:

Code: Select all

Sender.IRsendRaw::send(RawBalLeft, RawBalLeftLEN, 38); 
It works only with the old device!!!

This is starting to drive me nuts...

Posted: Wed Feb 17, 2016 6:54 am
by Bob8K
The Robman wrote:So the bottom line is, the MX-850 doesn't handle valid RC5 signals properly. Unfortunately, I know nothing about the MX-850 or Arduino, so I can't help there. Best I can suggest is, keep experimenting until you find something that works with them, then once you have 1 good working learn, post it here and I can probably edit the hex that I posted so that you will have the whole set.
Here are working captures, for command 1, 2, 3 and 16 (0x10):

Code: Select all

NUM_1 
0000 006F 000D 0000 001F 0022 001F 0022 001F 0022 0021 0021 0041 0022 001F 0022 001F 0022 001D 0024 001F 0022 0021 0021 001F 0022 001F 0043 0020 CB2B
                                                                                                                    
                                                                                                                    
Num_2
0000 006E 000C 0000 001E 0024 0020 0023 0020 0023 001E 0024 0040 0024 001E 0024 0020 0023 0020 0023 0020 0023 0020 0023 001E 0046 0041 CE09
                                                                                                                    
NUM_3
0000 006E 000D 0000 0020 0022 0020 0024 0020 0022 0020 0022 003F 0025 001E 0022 0020 0024 0020 0022 0020 0022 0020 0022 0020 0045 0020 0022 0020 CD04

VolUP    
0000 006F 000C 0000 001F 0022 0020 0023 001F 0022 001F 0022 003F 0024 001F 0022 001F 0022 0020 0043 003F 0024 001F 0022 001F 0022 0020 CB8C

If there is a description of the HEX fields themselves somewhere, I'd be happy to learn how to edit those. You know the saying, "if you give a fish to a man...".

The proper repeat modification is still elusive though. What you proposed is a good start, but does not work well enough to be used.
And it was no trouble creating those, we have an old program called MakeHex that can create them in a jiffy.
I'll get it, thanks.

Posted: Wed Feb 17, 2016 7:46 am
by The Robman
The main thing that I notice is that those 4 learns are all non-repeating, so you could try just swapping the 3rd and 4th words in the ones that I posted.

I also noticed that all 4 learns have the toggle bit set, I don't know if that's relevant or not.

Posted: Wed Feb 17, 2016 1:59 pm
by Barf
Bob8K wrote:
Barf wrote: That is great news! I would suggest the following experiment to finally settle the toggle question: Got to the "Generate" pane, select protocol RC5, D=24, F=1 (this is exactly the same as 5000...). Then select T=0, and send the signal several times (waiting a second or so between), using the Toy, Select T=1 and repeat the experiment.
E1 works with both settings with the Toy.
So, that rules out the toggle as the culprit.
Is this possibly the toggle, i.e.
0000 0073 0000 000C 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0CA8 every second time and
0000 0073 0000 000D 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0020 0040 0020 0CA8
the other times?
There is a toggle, but other things change.

Here are some Balance left captures:
...
Important lesson here: these (your captures) are really the same signals, (with different value of the toggle parameter). All measurements of physical quantities are associated with random measurement errors. This explains the difference -- which is "small", so small that analyzing hardware or software will (hopefully) recognize them as the same signal (with the exception of the toggle). IrScrutinizer, when capturing in "cooked" (parametric) mode recognizes the signal, and can them compute it using mathematical formulas. That way we do not need to capture a lot of them, and we get clean signals, without the measurement errors. Please always try to capture in parametic mode.
But one thing that you may try is to capture the MX-850 should-be RC5/24/1 signal as raw, and compare with the one generated by IrScrutinizer. Use output format raw, not pronto hex, for this. Post it here if you need help.
You mean with my Arduino? I'll take a peek at the IR library to see what you mean by that.
No, I meant anything that gives you relatively precise measurements, like your IrToy.

Posted: Wed Feb 17, 2016 2:16 pm
by Barf
Bob8K wrote:
The Robman wrote:Below are a whole bunch of clean RC5 learns for your device. All you need to do is figure out the function codes (eg, balance left = 26, balance right = 27)
Wow Rob, that's a lot of time spent to help me, thanks.
I would like to remark that you can generate that table with just a few keyclicks in IrScrutinizer (on "Generate", select "rc5" type 24 for D and * for F, go to Export, select Text and check "pronto hex", click "Export generated".)
Only problem, I don't know how to use one of your strings with the Arduino.

Sending 0000 0073 0000 000B 0020 0020 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 0040 0020 0020 0040 0040 0020 0020 0020 0CA4 gives with it:

Code: Select all

Decoded RC5(3): Value:161B (13 bits)
Raw samples(22): Gap:12394
Head: m800  s1000
0:m1650 s1850	1:m800 s1000		 2:m1650 s1000	3:m750 s1000
4:m800 s1000	5:m800 s1850		 6:m800 s1000	7:m1650 s1850
8:m800 s1000	9:m800
Extent=23850
Mark  min:750	 max:1650
Space min:1000	 max:1850
But using:

Code: Select all

for(int i = 0; i<1; i++)
  Sender.send(RC5, 0x161B, 13);
does not work. I'll ask on an Arduino forum, but maybe barf knows how to use the raw values above directly with IRlib?
Frankly, I do not hold the Arduino IRlib or IRremote in very high regard. So I wrote my own Infrared4Arduino. which is compatible with the terminology/parametrization used here. But you do not need it. Instead you can use GirsLite to control the Arduino directly from IrScrutinizer.

Posted: Wed Feb 17, 2016 2:28 pm
by Barf
The Robman wrote:So the bottom line is, the MX-850 doesn't handle valid RC5 signals properly. Unfortunately, I know nothing about the MX-850...
Yes, that is where we stand... Ever considered a JP1-remote, for example....?
Bob8k wrote:If there is a description of the HEX fields themselves somewhere, I'd be happy to learn how to edit those. You know the saying, "if you give a fish to a man...".
How about my description?

The Robman wrote:And it was no trouble creating those, we have an old program called MakeHex that can create them in a jiffy.
Yes. IrScrutinizer can also do it. It contains the lessons learned since the time Makehex was written.