|
JP1 Remotes
|
View previous topic :: View next topic |
Author |
Message |
ElizabethD Advanced Member
Joined: 09 Feb 2004 Posts: 2348
|
Posted: Thu Dec 17, 2015 1:58 pm Post subject: |
|
|
Well, the binaries seem to match your earlier decodes on 12/15 except LLLL nibbles are reversed?
When I hold brake button down, it sends few bursts and stops. Ch1 blips are faster than ch4 blips which are spread out over time. And an extra longer spread after first 3 blips. Might correspond to "Transmitting Messages" in their .pdf.
I think brakes were in http://www.hifi-remote.com/forums/dload.php?action=file&file_id=13773
I can't hold the wheel. Each step stops the signal. But when I sweep around (posted some learns of single and sweeps before), it's a whole mess of blips.
I'll edit the protocol and will be back. _________________ Liz
Tweeking 8910, HTPro/9811, C7-7800, 6131o, 6131n, AtlasOCAP-1056B01, RCA-RCRP05B and enjoying the ride |
|
Back to top |
|
|
ElizabethD Advanced Member
Joined: 09 Feb 2004 Posts: 2348
|
Posted: Thu Dec 17, 2015 4:43 pm Post subject: |
|
|
6131 recordings via your new protocol
LEGO-3-newProtocol.zip in diagnosis: http://www.hifi-remote.com/forums/dload.php?action=file&file_id=13779
I ran 6 functions on ch1 and on ch4. Raw data is in the .txt files - should be easier to read than .rtf. Included .ict files as well.
One other .txt file is a screenshot of just brakes - I was looking for that spread of signals in the two channels, and think I don't see it.
I'll attempt to do binaries using your formulas, but it'll take me forever
EDIT (8:40pm):
Rob, Your excel job was fantastic!
I compared binaries you did 12/15 from the LEGO remote, to my repeat recording today, and then what 6131 put out this afternoon.
Some goofy signals in my sets from today - post above. 6131 might not be 100% correct yet.
LEGO-ch1+4-(A-red)brake binaries-3sets.txt
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=13780 _________________ Liz
Tweeking 8910, HTPro/9811, C7-7800, 6131o, 6131n, AtlasOCAP-1056B01, RCA-RCRP05B and enjoying the ride |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21254 Location: Chicago, IL |
Posted: Thu Dec 17, 2015 11:02 pm Post subject: |
|
|
It's late now, so I will look at these tomorrow. Am I right in that you don't have the ability to test the signals on the Lego toy itself, at the moment? _________________ Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help! |
|
Back to top |
|
|
ElizabethD Advanced Member
Joined: 09 Feb 2004 Posts: 2348
|
Posted: Fri Dec 18, 2015 8:18 am Post subject: |
|
|
I will have a chance to test your signals tomorrow morning _________________ Liz
Tweeking 8910, HTPro/9811, C7-7800, 6131o, 6131n, AtlasOCAP-1056B01, RCA-RCRP05B and enjoying the ride |
|
Back to top |
|
|
ElizabethD Advanced Member
Joined: 09 Feb 2004 Posts: 2348
|
Posted: Sat Dec 19, 2015 4:24 pm Post subject: |
|
|
(1) PDF versions 1.00 and 1.10 look the same, but Version 1.20 (that 3fg posted, and Barf used) redefined some and added 7 more codes, which likely will end up in your xls(Main) and in KM as 105-111, and 121-127, assuming I follow how you made it. Reminder: the remote I play with has a 2008 date, so most likely 1.0 and 1.10 apply.
Mode = Clear/Set/Toggle/Inc/Dec
Data DDDD 0000 Toggle full forward (Stop ? Fw, Fw ? Stop, Bw ? Fw)
0001 Toggle direction
0010 Increment numerical PWM
0011 Decrement numerical PWM
0100 Increment PWM
0101 Decrement PWM
0110 Full forward (timeout)
0111 Full backward (timeout)
1000 Toggle full forward/backward (default forward)
1001 Clear C1 (negative logic – C1 high)
1010 Set C1 (negative logic – C1 low)
1011 Toggle C1
1100 Clear C2 (negative logic – C2 high)
1101 Set C2 (negative logic – C2 low)
1110 Toggle C2
1111 Toggle full backward (Stop ? Bw, Bw ? Stop, Fwd ? Bw)
(2) All that is academic at this point. The train's receiver didn't hear or see one blip from 6131
Expected receiver behavior is that, just like the Widget, it blinks as soon as you touch a brake for instance.
I did 4 channels, 6 functions on each channel. Nothing blinked. Nothing moved. Yet the suff I recorded Dec.17 matches your codes.
(3) My son googled this out - Someone posted neat info about 8879(mine) as well as 8885 remotes, unfortunately undated.
http://www.hackvandedam.nl/blog/?page_id=559
Bunch of info differs from the PDFs. _________________ Liz
Tweeking 8910, HTPro/9811, C7-7800, 6131o, 6131n, AtlasOCAP-1056B01, RCA-RCRP05B and enjoying the ride |
|
Back to top |
|
|
ElizabethD Advanced Member
Joined: 09 Feb 2004 Posts: 2348
|
Posted: Sun Dec 20, 2015 12:12 pm Post subject: |
|
|
6131 aMMM and DDDD nibbles matched everything you did Dec.15. So I took a look at other stuff.
Lego remote sent different leadout on each channel, with ch4 being roughly 4x longer than ch1.
6131 all channels have the same leadout, around 101K.
Doesn't explain why didn't work at all, but might be part of the explanation. _________________ Liz
Tweeking 8910, HTPro/9811, C7-7800, 6131o, 6131n, AtlasOCAP-1056B01, RCA-RCRP05B and enjoying the ride |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21254 Location: Chicago, IL |
Posted: Sun Dec 20, 2015 6:24 pm Post subject: |
|
|
I guess I didn't look too closely at the checksum because it's not really an XOR of the previous 3 nibbles, it's actually the complement of an XOR, so one more instruction is needed in the executor.
Here's the updated protocol block:
Upgrade protocol 0 = 01 FF (S3C8+) Lego LPF RC Protocol (PB v4.02)
43 8C 11 8B 14 85 54 08 08 00 4F 01 00 00 4F 00
6F 13 88 00 4F 01 ED FF 05 76 00 01 6B 03 B6 03
08 28 03 F0 03 B4 04 C2 F0 04 B4 04 C2 18 04 56
C1 0F 44 C1 03 56 04 F0 60 C2 56 C2 0F 44 C2 04
8D 01 46
End
I will do some testing in a bit. _________________ Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Last edited by The Robman on Sun Dec 20, 2015 7:17 pm; edited 1 time in total |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21254 Location: Chicago, IL |
|
Back to top |
|
|
ElizabethD Advanced Member
Joined: 09 Feb 2004 Posts: 2348
|
Posted: Sun Dec 20, 2015 9:20 pm Post subject: |
|
|
Rob,
1. in the 1994 learned signals is A value, what is it?
2. in the PB setup Leadout OFF is 10000. Do you really mean it? _________________ Liz
Tweeking 8910, HTPro/9811, C7-7800, 6131o, 6131n, AtlasOCAP-1056B01, RCA-RCRP05B and enjoying the ride |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21254 Location: Chicago, IL |
Posted: Sun Dec 20, 2015 10:11 pm Post subject: |
|
|
VOL+ or CH+ = A-Brake (different toggle values)
VOL- or CH- = B-Brake
aux1 = ch1
aux2 = ch2
vcr = ch3
tv = ch4
i forgot about the long leadout that was required, that will take additional code as it's bigger than the regular executor can handle, and it would mean that I can't use the engine to generate the 5 repeats, I'd had to add code to do that too. That's more than I want to try to handle today, so will look into it later in the week. _________________ Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help! |
|
Back to top |
|
|
ElizabethD Advanced Member
Joined: 09 Feb 2004 Posts: 2348
|
Posted: Sun Dec 20, 2015 10:22 pm Post subject: |
|
|
If that 10000 leadout in PB is related to the last number in the timing values, then 101-102k is for ch1, 138K for ch2, 180-181 for ch3, 222-223 for ch4. Sounds like a major PITA to code.
My re-recording 6131 and Lego remote confirms. 6131 signals don't show the spread of blinking between the five signals like I see on the Lego remote.
I will change 10000 to 101000 which, I think, will let me test ch1. Comments?
I keep forgetting: THANKS! this is the jp1-fun as we know it. _________________ Liz
Tweeking 8910, HTPro/9811, C7-7800, 6131o, 6131n, AtlasOCAP-1056B01, RCA-RCRP05B and enjoying the ride |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21254 Location: Chicago, IL |
Posted: Sun Dec 20, 2015 11:06 pm Post subject: |
|
|
ElizabethD wrote: | I will change 10000 to 101000 which, I think, will let me test ch1. Comments? |
If you mean, you will change it in PB, that won't work because it's bigger than an executor can handle.X
If you want to try changing PB, what you need to do is:
1. change the JP to a CALL at the end of the code
2. add a step at the end that calls the pause routine, after first priming it with whichever of the 4 pause times you need.
3. Also, you would need to remove the fixed 5 repeats from the data block as that will need to be handled manually as a loop in the assembler. _________________ Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help! |
|
Back to top |
|
|
ElizabethD Advanced Member
Joined: 09 Feb 2004 Posts: 2348
|
Posted: Mon Dec 21, 2015 12:25 am Post subject: |
|
|
Thanks again.
I took the lazy way out - changed hex to what you had in the last version or close to it. It puts out a long thing very close to what Lego remote does.
{just found the s3c8 asm commands list, so it would take me a century to do it right in PB). _________________ Liz
Tweeking 8910, HTPro/9811, C7-7800, 6131o, 6131n, AtlasOCAP-1056B01, RCA-RCRP05B and enjoying the ride |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21254 Location: Chicago, IL |
Posted: Mon Dec 21, 2015 11:11 am Post subject: |
|
|
I originally had 1,000 in the leadout time before I increased it to 10,000. What hex code did I have that puts out 100,000 ? _________________ Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help! |
|
Back to top |
|
|
ElizabethD Advanced Member
Joined: 09 Feb 2004 Posts: 2348
|
Posted: Mon Dec 21, 2015 11:29 am Post subject: |
|
|
Rob, $C738 puts out 101463-101490 for ch1.
I tried figuring how you did it: $C738 is 510000, double is 102K, and I suspect 500 more or less is for the high blip, resulting in 101.5.
Edit: If I follow this logic then ch2-4 will not fit in 16bits. _________________ Liz
Tweeking 8910, HTPro/9811, C7-7800, 6131o, 6131n, AtlasOCAP-1056B01, RCA-RCRP05B and enjoying the ride |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|