View previous topic :: View next topic |
Author |
Message |
AndrewZ
Joined: 15 Sep 2003 Posts: 39
|
Posted: Sat Dec 03, 2005 5:40 am Post subject: Amino set-top box Aminet110 |
|
|
hello
I'm trying to build an upgrade for Amino set-top box (Aminet110).
This is what I've got after learning/decoding:
freq= 55555
'menu' button
Sent once then key is pressed:
+1890 -1616 +810 -274 +270 -268 +270 -268 +270 -268 +522 -288 +270 -548 +522 -556 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +522 -556 +270 -268 +522 -556 +522 -288 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -78116
Sent once then key is being held:
+1890 -1616 +810 -274 +270 -268 +270 -268 +270 -268 +522 -556 +270 -268 +522 -556 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +522 -556 +270 -268 +522 -556 +522 -288 +270 -268 +270 -268 +270 -268 +270 -548 +522 -288 +270 -78116
'Channel -' button
Sent once then key is pressed:
+1890 -1616 +810 -274 +270 -268 +270 -268 +270 -268 +522 -288 +270 -548 +522 -556 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +522 -556 +522 -556 +270 -268 +522 -288 +270 -268 +270 -268 +270 -548 +270 -268 +270 -268 +522 -78118
Sent once then key is being held:
+1890 -1616 +810 -274 +270 -268 +270 -268 +270 -268 +522 -556 +270 -268 +522 -556 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +522 -556 +522 -556 +270 -268 +522 -288 +270 -268 +270 -268 +270 -268 +270 -268 +270 -548 +522 -78118
'Channel +' button
Sent once then key is pressed:
-= cannot get for some reasons, tried several times =-
Sent once then key is being held:
+1890 -1616 +810 -274 +270 -268 +270 -268 +270 -268 +522 -288 +270 -548 +522 -556 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +522 -556 +270 -268 +270 -268 +522 -288 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -548 +270 -77890 +1890 -1616 +810 -274 +270 -268 +270 -268 +270 -268 +522 -556 +270 -268 +522 -556 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +270 -268 +522 -556 +270 -268 +270 -268 +522 -288 +270 -268 +270 -268 +270 -268 +270 -268 +270 -548 +522 -556 +270 -77890
Is it generally possible to make an upgrade for those codes? If yes, can anybody help with some guidelines?
Thanks! |
|
Back to top |
|
|
johnsfine Site Admin
Joined: 10 Aug 2003 Posts: 4766 Location: Bedford, MA |
Posted: Sat Dec 03, 2005 8:17 am Post subject: |
|
|
You need expert help, probably from me or Rob. I'd be glad to help, but I don't have the patience to look at raw signals in the form you posted.
The correct way to post problem learned signals is:
Learn several of them. Either make sure the key you learn to on the JP1 remote corresponds to the function learned, or record which functions were learned and put them in as notes in IR.EXE
Save the .ir file with those learned signals.
Upload it to the diagnosis area
Find it within the diagnosis area
Post the URL of its description page there into a thread here (in this case continue this thread). |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21279 Location: Chicago, IL |
Posted: Sat Dec 03, 2005 10:18 am Post subject: |
|
|
Here's what I've got from the info you posted...
freq= 55.5 kHz
leadin: +1890 -1616 +810
leadout: -77890
1 pair: +270 -270
0 pair: -270 +270
Binary:
'menu'
00001 1 0100000000 00010010 11111111
00001 0 0100000000 00010010 11111011
'Channel -'
00001 1 0100000000 00010100 11110001
00001 0 0100000000 00010100 11111101
'Channel +'
00001 1 0100000000 00010001 11111110
00001 0 0100000000 00010001 11111010
The 6th bit is obviously a toggle and this also causes the 3rd to last bit to toggle. The relationship between the final two bytes isn't totally obvious from the 3 buttons you have posted. If you do as John suggests and post a complete file of learns, it might become apparent. _________________ 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 |
|
|
AndrewZ
Joined: 15 Sep 2003 Posts: 39
|
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21279 Location: Chicago, IL |
Posted: Sat Dec 03, 2005 12:39 pm Post subject: |
|
|
Decoding bi-phase signals like this by hand is a pain, so if you could post the complete set of learned signals I can decode them all at the same time rather than in seperate sessions, as you're going to want all of the buttons in the upgrade in the end anyway. _________________ 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 |
|
|
AndrewZ
Joined: 15 Sep 2003 Posts: 39
|
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21279 Location: Chicago, IL |
Posted: Sat Dec 03, 2005 2:28 pm Post subject: |
|
|
When you say "all the keys you need", are there still more buttons on the remote that you haven't learned? If so, could you please learn those also and post an additional file. Even though you may not intend to assign these functions to buttons, if we're going to go to the effort of creating an upgrade, the upgrade file should contain all of the functions, otherwise, when the next user comes along, if they want these additional functions, we're going to have to go through this whole process again. _________________ 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 |
|
|
AndrewZ
Joined: 15 Sep 2003 Posts: 39
|
Posted: Sat Dec 03, 2005 2:44 pm Post subject: |
|
|
sure, will do it, but a little bit later
in fact, there are few extra buttons which will be used only if Amino's remote will be used to control other devices like TV or VCR |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21279 Location: Chicago, IL |
Posted: Sat Dec 03, 2005 2:54 pm Post subject: |
|
|
If those buttons do nothing for the Amino and are just TV or VCR controls, you don't need to capture them as they won't use this protocol, they will just send the signals used by the TV or VCR. _________________ 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 |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21279 Location: Chicago, IL |
Posted: Sat Dec 03, 2005 8:58 pm Post subject: |
|
|
I have converted all of your signals into binary and have loaded them into a spreadsheet. The final 4 bits are a very complicated checksum. The code in the spreadsheet shows how the checksum is calculated.
Here it is...
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=2525
Due to the complexity of the checksum, I'll need to give some thought as to how best to approach this one. The toggle bit is involved in the checksum but it doesn't always mean that the checksum changes as you might expect, so you can't just XOR it. _________________ 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 |
|
|
AndrewZ
Joined: 15 Sep 2003 Posts: 39
|
Posted: Sun Dec 04, 2005 9:06 am Post subject: |
|
|
thank you, Robman
I suppose that now I should use Protocol Builder, right?
Could you please give me some further guidelines.
Thanks again |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21279 Location: Chicago, IL |
Posted: Sun Dec 04, 2005 11:26 am Post subject: |
|
|
This isn't the sort of protocol that a first-timer could write using PB. My intention is to use PB to format the basic timings, etc, then to switch over to assembler mode to do the rest.
I think it would probably require too much code to have the exec format the checksum, so my intent is to format it beforehand and feed the values in as a 2nd variable byte where the 1st nibble is for the 1st checksum and the 2nd nibble is for the 2nd checksum. The assembler code would drop this into place, SWAP the byte every second time and OR out the top nibble to make it all ones.
For the signal itself, I will need to send an independant burst pair for the first part of the leadin (ie, the +1890 -1616 part) then I'd set the real leadin to +810 -0.
As for the code itself, here's a very rough design in pseudo code. Before entering the basic timing info in PB, you would first enter the first part of the leadin (ie, +1890 -1616 ) to see what hex code it translates into, then you'd enter the real timing info for the signal. Then you'd switch to the assembler panel and add the hex for the 1st part of the leadin to the end of the data block.
Code: | @START
load 2nd byte (R06) to W6
@LOOP
load the leadin register pair to W1
send the pair (ie, CALL 014Ch)
flip the toggle (ie, XOR R03,#04h)
SWAP W6
load W6 into R06
set the first half of R06 to ones (ie, OR R06,#F0h)
send the main signal (ie, CALL 0146h)
test whether the button is still held (ie, CALL 010Ah)
if it is, loop back (ie, JR C,LOOP)
return (RET) |
In testing it we might discover that we need to force the the code to send the signal at least twice, so the code would need to be ammended for that.
There are a handful of folk here that know enough about S3C8 code to write this for you and test it, so hopefully someone will jump in and write it. I don't know how soon I will have some free time to write it as I already have quite a big "to do" list and not so much free time to work it. _________________ 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 |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21279 Location: Chicago, IL |
Posted: Sun Dec 04, 2005 7:58 pm Post subject: |
|
|
Give this upgrade a try...
Upgrade Code 0 = 8F D0 (Video Acc/2000) keymap-master Device Upgrade (KM v8.35)
FF 00 B6 7D 09 00 0C 84 02 EA 03 FB 04 0C 05 1D
06 2E 07 3F 08 40 09 51 0A 62 11 EA 14 1D 01 D9
0B 73 17 40 12 FB 15 2E 19 62 16 3F 18 51
End
Upgrade Protocol 0 = 01 FF (S3C8+) Custom Protocol for Video Acc/2000 keymap-master Device Upgrade (KM v8.35)
2E 5E 22 8B 17 8F 84 10 08 08 00 87 00 73 00 87
00 73 98 21 01 95 00 00 03 B1 03 14 68 06 1C 22
F6 01 4C B6 03 04 F0 C6 69 06 46 06 F0 F6 01 46
F6 01 0A 7B E9 AF
End
Here's the PB file...
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=2530
Here's the KM file...
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=2531 _________________ 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 |
|
|
AndrewZ
Joined: 15 Sep 2003 Posts: 39
|
Posted: Mon Dec 05, 2005 3:17 pm Post subject: |
|
|
Rob,
you did a great job! Everything is working! Thank you very much!
At the same time I have to say that you were right asking about extra keys found on the OEM remote. It seems even I will need two of them. So I captured ALL the keys left and uploaded the file here http://www.hifi-remote.com/forums/dload.php?action=file&file_id=2537
Could you be so kind and post the codes for those keys.
Thank you very much! |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21279 Location: Chicago, IL |
Posted: Mon Dec 05, 2005 6:46 pm Post subject: |
|
|
I have updated the KM file with the additional codes that you posted. I have assigned them to buttons, but feel free to re-arrange them as you see fit. I also noticed that there are a few gaps in the OBC sequence and I have also included the codes for these OBCs so you can test them to see if they do anything.
What do the 4 color buttons do for this device? Are they teletext buttons? Do they ever serve any other purpose? _________________ 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 |
|
|
|