hypersonic5000 Posted November 2, 2014 Share Posted November 2, 2014 Hi. I have some trouble I would like some help on. I have an app called "TV OFF" and its an app that uses your ir blaster to send tv-b-gone codes. However this app also has projectors and the tv-b-gone doesn't so I was wondering if somebody could help me extract the ir codes from the app. I then plan to put them in the tv-b-gone v1.2 firmware and reprogram my chip. The zip file is the app. Extract it and you will get all the source files. Thanks guys TV OFF v1.2.7.zip Quote Link to comment Share on other sites More sharing options...
cooper Posted November 2, 2014 Share Posted November 2, 2014 As the owner of a Logitech Harmony I don't really get why this app or that keychain thingy is in any way a useful thing to have. Regardless, there's no such thing as a "tv-b-gone code". There's a IR sequence that's recognised by a (group of) device(s) as an "off" and both the app and the tv-b-gone thingy send these sequences in the hope the device that uses this code is looking for it. Since it's one-way traffic it can't see if the code it's sending is the appropriate one (which is why, with the Harmony, you need to spend some time telling it which devices you have. But I disgress). The problem you now have is 2-fold: 1. What is the "off" sequence for the device to turn off? 2. In what format does the firmware want that code to be represented? While you have code for the app that solved #1 and created #2 for its own 'dialect' if you will, you want to now translate that dialect back to #1 so that you can do #2 for the TV-B-Gone. Which poses a problem: I don't see any download options for the code to the tv-b-gone firmware. So how are you going to do #2? Quote Link to comment Share on other sites More sharing options...
hypersonic5000 Posted November 4, 2014 Author Share Posted November 4, 2014 (edited) The attachment has the Tv Off source files and the attachment for this post has the tv-b-gone firmware. I need all the codes in the app. However the app when you look at is has: Send All, Send Selected, and Send TV-B-Gone Codes. I need all the "codes" from send all. Then I would like to put them in the tv-b-gone.hex in the folder. Once I have finished that I can program the chip and turn off projectors as well. Thanks for the quick response . I can't send an attachment so here is whats in the tv-b-gone.hex file: :100000001ACE34CE33CE32CE31CE30CE2FCE2ECE0F :100010002DCE2CCE2BCE2ACE29CE28CE27CE3C00DC :100020003C003C008C0A78003C00F0003C00671A61 :10003000021E00E220807888201032006400320026 :10004000C80032002003900190014534023A00D5E7 :1000500041110014446D5411100144452A002E0032 :100060002A0085002A005F1D5B01B0005B01B10022 :100070006B64035C0060800000000800000020004A :10008000000412480412482A020000000020000068 :1000900000800000104920104920801A00B9001B80 :1000A0000050001B00B9001B00C5116740029B00F7 :1000B000155A656795659A9B955A656795659A99EE :1000C000370039003700AA0037006D0F3700972539 :1000D000380000008203C5018403E200672603C0E4 :1000E00000A000010492482080400412092B3D002A :1000F00058005A0058005B005800B5005800102303 :10010000B1005B006F1803F00010924946330924D8 :10011000946032003E003200AC003200BD11C001DC :10012000D201C201D101674403120164900004901E :10013000000080000412492A124000124000020010 :100140000010492490310031003100320031009A12 :10015000013100FE0131004B2F6522034501099456 :10016000532994D985328A65329B2038003A003869 :1001700000AA003800AB0F8203C2018403C10167EB :1001800044036B016400490092002082010410487E :100190002A100124024800820804104120903500F2 :1001A00038003500AB0035006E0F35007F25820327 :1001B000C3018403E2006726039E0184900020802F :1001C000080000092492400ABA4033003700330087 :1001D0009E003300EE084903A301673402CA01D42C :1001E0000015102500054409400151013700370072 :1001F0003700AC003700C70F3700842438000000F8 :100200007403BA017503E100672603EC01A0004105 :100210000492082490400002092B3D005100570031 :100220005100FE005100D00C4B0150014B01510117 :100230006734031C026412082400082010092A10E5 :10024000482090002080402490350037003500A7DA :100250000035000009350099247D03C0017F03BFEC :100260000167300349028012400400090012412452 :10027000820100104824AAE8672603C000A00009F4 :100280000492402480000012492B3D00672603C0E1 :1002900000A080010412482400000092492B3D0078 :1002A0001C005A001C00D3001C00CB09732202A0C2 :1002B0000254041000950104001038003900380081 :1002C000AF003800361038001B258203E30082039C :1002D000C101632603BA02A00248049001208040B5 :1002E0000412092A3800330037003300A10033001C :1002F000060A5103AD015103AE01678803E60260AF :1003000082082410410012400480092A020820902B :100310004104004900120024A80820824104100171 :100320002400480092A0208209041040049001207B :10033000024828002A0028007C002800F911450105 :10034000A3004601A30067640332036010400480E9 :10035000090000000010002010002080000A004169 :1003600000120024000000004000804000820000D5 :10037000003C0037003C00A3003C0003103C00E2BE :10038000253D0000008203CD018403E600672603BB :100390007103A010000482492002000490492B3D03 :1003A00000300034003000A0003000900130001F09 :1003B000091F039001672603A103801040088208EB :1003C00001C00820044104000035003C003500AFA6 :1003D0000035006F113500ED247C03C2017F03E17D :1003E00000672603C9038002400002400000012488 :1003F00092480ABA0030003400300099013000F809 :10040000013000DD28632C02F503A11861A1187AE0 :1004100011861A11863A003C003A00090A76003C1F :1004200000ED003C00EE003C00671A03150469244F :10043000104003124820800054005A005400080164 :1004400054008E0D5A015E015B015E016734033872 :10045000046492490000000002492A124924000065 :100460000000092490310031003100320031009A3F :10047000013100FE01310026316522036504099433 :100480005365329985328A6CA653204534023A006E :10049000C541111014446C54111101444476007983 :1004A0000076000F0176008E1202010F0167240210 :1004B0009D04C44514046C4451404458005A0058EB :1004C000005B005800B500B1005B00B10010236F65 :1004D0001603BB040C925346164929A2C067260393 :1004E0009E018000410412082000000492492ABAAB :1004F000005800590058005A005800B30058001125 :1005000023B1005A006F1803F10406124946326104 :100510002494606726039E01800041041208208015 :10052000000412492ABA0028002B0028007A00286B :1005300000B1144E019C0050019B00676403270525 :10054000601040048009000000001000208200209C :1005500000000A0041001200240000000040008258 :10056000080080000000672603C000A0004104923C :10057000082492480000012B3D0060005D006100EE :100580005D0061001F016100670D5F16027A0516AC :10059000665D599950520045025400FA00540044D7 :1005A00002550000006B0B029505159A9C27000769 :1005B00001A400A3000202A4005F0B02AD05804568 :1005C00000632603BA02A410400082092080400480 :1005D00012092A384071006500B002930A630402D0 :1005E000D50511710065007100C9007100930A639F :1005F0000802E30506043A003E003A00BA0A750014 :100600003E00F2003E00331A02F605E220807888B0 :100610002000360041003600AA00360003103600E4 :10062000DC218303E2008303A5016326031206A4F1 :1006300080002082490002000490492A38402B00A3 :1006400078002B0079002B00A30D83002D00631888 :10065000023E06157556557554330033003300A01D :10066000003300001033002925AF01B4017303DB10 :10067000006326035906849000000249208000048C :1006800012492ABA403A0035003A00A7003A008ED3 :10069000113A00CF25C701C101C801C10167280374 :1006A00085068090000090000492000000492A977F :1006B000483300150134003500340069003400155A :1006C000013400DF09340009326700360087170360 :1006D000B1060B126344926B449250632603BA0234 :1006E000A000400492092492092000400A380063C7 :1006F0002603590680000004924924920000004914 :100700002ABA00120156031201C207570B0203074F :10071000141140500058005000FE005000A60E6713 :10072000014B014730021307C00001555552C0006C :1007300001555550632603BA02A0100124824800D7 :1007400002400490092A3800632603BA02A49048A4 :100750000002012080400412092A38403300E800DA :1007600033000002330018033300430B471E025CC2 :10077000072221401C88850040471C025C0722207C :10078000157222015403000A000300140003001E26 :10079000000300EA31001B028507815114B81511CE :1007A000443700C1003900C000390080013A000020 :1007B000006B0802A1072A572D0094002E00940018 :1007C0002E005F012E00DD0A630E02B8072A5DA924 :1007D00060160065001600DB00170065001700DBDF :1007E000001F00DA00771203D1078DA408040492D9 :1007F0004C632603BA02A412090080402010400472 :1008000082092A3840632603BA02A00008049241F4 :100810002400400092092A3800632603BA02A0008F :10082000082492410482000010492A3800632603FC :10083000BA02A002080490412482000010492A381C :1008400000632603BA02A4924920000004924800E3 :1008500000012A38404534023A00C0015155540481 :100860002C001515554040300062003000C5006274 :10087000004E038B018801A1078801434E036708DE :1008800084920124120004800809924804904800D0 :1008900012002026492012412000480080802600B6 :1008A0001401A5009A009F019B00E6029A006721AF :1008B000029E08C045020114080450006326035933 :1008C000068002492490000080000412492ABA00E0 :1008D0002B0079002B00DD2482002D0083002D00E9 :1008E000631802D0088C300DCC300C632603BA029A :1008F000A000000492492482000010492A38001BFD :10090000004C001B00B6001B00B7001B007F0C67EB :100910002102FF08400208A2E0008228402500B51D :1009200000250010014708021D091140632603122B :1009300006A090000090000010400482092A3800B0 :10094000632603BA02A0820824104100000024920A :10095000490A3800632603BA02A400410092082025 :1009600002000490492A3840330062003300C2007C :100970006600A30386018601860187015F34036850 :10098000096000010410492482082A000004104173 :1009900024920820A0632603BA02A0920904004012 :1009A0002010400482092A38006F1603F10410A2B7 :1009B0006231985131180028001301A0009A00E01C :1009C000019B00672202B7098045040114100450FE :1009D00040632603BA02A082082410410490082034 :1009E00002410A3800001B028507815040B81504F7 :1009F0000830003400300099013000F8013000FA6E :100A000026632802F10918461868471846186844F2 :100A10005800590058005A005800B3005800B82236 :100A2000B1005A00B100B3006F1803100A0A12494E :100A30002AB2A12492A86F1803F1041092494633F8 :100A40000924946029002B00290080002900341D0E :100A50005001AB005201A9006B6403440A6080009E :100A60000000080000402000000412480412082A78 :100A7000020000000020000100800000104920104A :100A800048208037003C003700A5003700EC08BD47 :100A900001B501C001B401672C03830A64000000A2 :100AA00000400080A100000000100020102A002E4D :100AB000002A007E002A004D1B5B01B0005B01B1E3 :100AC000006B6403AD0A608208208241049200201A :100AD00080400090400400412A020820820904124C :100AE00048008201000241001001048038004500E6 :100AF0003800AE0038004510380071257003DE0064 :100B00007003B301672603EC0AA002400490092099 :100B100002000490492A38006726039E01800040A5 :100B20000412080492400000092ABA00672603C094 :100B300000A002000490492080400412092B3D00CF :100B400058005A0058005B005800B50058001023A8 :100B5000B1005B00B100B5006F1403400B10AB1186 :100B60008CC2AC4600300064003000C80030001A6F :100B70000490019001433402650BD54151401404A7 :100B80002D541514014041360038003600AA0036B5 :100B9000003F13C301BF01674402870BD10011005E :100BA000040011556D100110004001155537003932 :100BB000003700A700370030117F03C0018103BF59 :100BC00001674403AD0B6090002080000402010027 :100BD00090482A0240008200001008040241208050 :100BE0006F1603F00010946231984A3118003800F3 :100BF0003A003800AE003800C5113800E824B801CA :100C0000BE01672803EE0B80020000020004820090 :100C10000010492A17086726039E0180804004922D :100C2000492092000400492ABA006726039E0184E5 :100C300080002410410080012412480ABA4067262F :100C400003C000A000000492492400410092082B38 :100C50003D006726039E0180000004124824000026 :100C60000092492ABA002B00AB002D003C002D0059 :100C7000AA003600FD086F2202660C29596555EA64 :100C800056595570672603C000A000090492402001 :100C900000000492492B3D00560057005600020107 :100CA00056000A0D5A015C015C015B016334039834 :100CB0000C6402080002090412490A100820000806 :100CC00024104924106728038506800200000200D2 :100CD0000492000000492A9748632603BA02A40040 :100CE000490092002002000490492A3840632603FC :100CF000BA02A480002012490492492000000A3858 :100D000040632603590680020004904924920000A3 :100D100000492ABA00672803850680000000000009 :100D20000492000000492A974867280385068090AE :100D3000400090400492000000492A97483A003D44 :100D4000003A00D3003A006E25490044107303D3E3 :100D5000001A04EE016326033D0DA0000824924111 :100D60000082000410492E2800632603BA02A480E2 :100D7000002012490002000490492A3840632603EB :100D800059068492492000000492000000492ABAC2 :100D900040672603C000A400000092492400000020 :100DA00092492B3D00380036003800A60038006913 :100DB0000F8003BA018003BB01634403A50D6000EB :100DC000002002090402010090482A000000800867 :100DD00024100804024120802C0032002C009300D3 :100DE0002C00BF012C00BC0817038E0119038D01D4 :100DF000632603D80D84104008820801D20820041D :100E0000410400402B002F002B005B002B008420AE :100E100058002F008500850008015A0008015B007A :100E20006F2803040EA40800000000642C4080001A :100E3000000006412F0009013300360033006C002A :100E4000330007013300050833007F2D64006D0077 :100E5000831F03340E049249263589249AD624929E :100E6000482B00CE002E00CC002E00C8012E00A082 :100E70000D771A02610E1A56A6D695A9902C002D50 :100E8000002C0083002C00261D5A01B0005A01B22C :100E9000006B64037D0E60800000000800000020ED :100EA00000000412480412482A020000000020003A :100EB0000000800000104920104920801800BE006A :100EC000190050001900BE00190067101900BF1268 :100ED000674003BC0E04925228928C4492894524A8 :100EE0005344925228928C44928945245135003FB4 :100EF000003500AC003500781136000000C701D481 :100F000001674403ED0E849000049000008000040B :100F100012492A124000124000020000104924B079 :100F20003200360032009F00320003094603A6015A :100F3000673402200FD40015102500054409400134 :100F40005101672603C000A000410492082490408C :100F50000002092B3D006726039E0184004804021D :100F6000010480090012402ABA402E00CE002E0053 :100F7000CB012E00770D771A026A0F0501518140CF :100F8000544035003B003500AB003500FE087F03C0 :100F9000C101675802820FD455000040155400016A :100FA0005556D455000040155400015555350036AE :100FB0000035009C003500EE095303A9015503A834 :100FC00001678803AD0F60820824104100124004BD :100FD00080092A020820904104004900120024A838 :100FE000082082410410012400480092A0208209B8 :100FF0000410400490012002481C005C001C00D535 :10100000001C00D6001C00D30A772202F90F6808E2 :101010002000EA020800100F004C0310002D0210FF :10102000004C031000681477180217101A9A9B9A44 :101030009A99672603C000A002480490012012403C :101040000480092B3D003200360032009E00320041 :10105000A20132008B094B03A201672603461080D0 :10106000800008124001C040000409200000300048 :101070002D0130008B023000E9033000B90B6F22E4 :10108000026E1022200001C8880000406726039EDF :10109000018480002082490002000490492ABA405D :1010A000672603C000A4804100120824904000027B :1010B000092B3D00672603C000A0024804900120D0 :1010C00000400492092B3D003100340031006600DD :1010D0003100FA003100FC00310049093100E92EED :1010E00064003400640066007F1503C810470023C5 :1010F0003C0159E0040E00EB010E00E7020E003E39 :1011000013671802F510554042554041672603C049 :1011100000A082082410410410012082480B3D00E9 :101120002F000B013200370032006E00320009013F :10113000320007083200552F64003900831F032056 :1011400011049249263472249AD1C892483200324E :1011500000320063003200FB003200FC003200A5C8 :10116000053200062B6600310066006200732E0314 :101170004D11470000000004646200E0002B2310C2 :1011800007000080672603C000A0100004824920E9 :1011900002000490492B3D00350035003500A000C9 :1011A0003500A1064603A6016734029811D55015F3 :1011B000116554054459550151153100CD003100D8 :1011C000CE003100C80131006A0E771A02BA111A36 :1011D00056A5D695A9403000960032009500320001 :1011E0005B013200780B670E02D6112A5DA9606799 :1011F0002603C000A0024004900920020004904988 :101200002B3D00672603C000A40049009200200285 :10121000000490492B3D000E00EB010E00E7020E8A :10122000003A146718021712455002455001030096 :10123000EA030300D7050300F30B000B022E12058F :1012400060540D00BD010D00A2020D00A3020D00AF :10125000E71163180242126A8283AA8281550059FB :10126000005500080155004A0D5B015E015C015EFE :10127000016F34035D126090402080402090412A2D :10128000024100820100824104802E002C013100C5 :101290002A01310088023100E5033100F00B771C90 :1012A000038A120CB2CA49130B2CB29244B06726BF :1012B000039E018000002492090082000410492A44 :1012C000BA000D047810100400005F0202C2121070 :1012D000672603C000A00201049048200000049289 :1012E000492B3D009800D7019A009C009A00D50137 :1012F0009A00830B5F0A02E41216E5900F00ED01DD :101300001000ED011000BA0210008605731002FCF7 :101310001216AB56A90300F0010300E9020300D046 :1013200005001102151341241241006726039E0196 :101330008000002482490480400012092ABA003744 :101340000037003700A7003700E11137002225C021 :1013500001BD01C201BC016728033F138092000058 :1013600092000010400482092A97485B0058005BF5 :10137000000B015B00250E690166016901670177B9 :1013800030036B1360000000124924924280000079 :1013900000124924924054005800540005015400A2 :1013A000200D5B015B015B015C01673403961360F8 :1013B00082002080410490412A0208008201041228 :1013C0004104801000460311002E02110047031152 :1013D00000B8187F1802C3131A9A9B9A9A9973102F :1013E00002FC1226AB66AA310035003100680031DC :1013F0000006013100080131005E1F640067007FB4 :101400000E03E713401A2300D0806726039E018055 :1014100000002092490002400490092ABA0070009E :101420006B0071006B00A502CE0A6704021E142631 :101430006726039E018000002410490082000410EA :10144000492ABA0036016502360166026E0278202A :101450005F040244142632009E003500330035003C :101460009C0035008408672202561425599A5AE9CF :10147000566696A06F1803F00010925424B3092505 :101480004248672202561425999A5AE9666696A040 :101490006726039E01800000249041008200041012 :1014A000492ABA002F000B013200370032006E00CB :1014B00032000901320007083200552F640039005C :1014C00064007000831D03A414049249263251CB9A :1014D000D64A39722F000B013200370032006E00FD :1014E00032000901320007083200552F64007000F5 :1014F000831F03D41404924926324A389AC928E239 :10150000486728033F13848200048200008200049D :1015100010492A87415E00D9015E00D80266006545 :1015200006670C02151541241231000701320036FE :101530000032006C00320007013200ED073200D7A4 :101540002764006E00671F03291504924926344959 :10155000389AD124E2480400F3010400EE020400AA :101560008713001702561505540605540400170288 :1015700056151454061454040E00EB010E00E70235 :101580000E00461167180278154544564544550526 :1015900000380205005603050087130017028F1557 :1015A000554546554544731002FC12195759556F5D :1015B0001A03F10404924928C64924925180060076 :1015C00036020600530306006215001702BE150519 :1015D00045460545440E004B0310002B0210004900 :1015E0000310002F13671802D5152A9A9BAA9A9AFE :1015F000831F032011049249263251C89AC94722F9 :101600004806009D0306003B05060032080600E37D :101610000A000C020116900D0035003B003500AAAF :1016200000350007117C03C0017D03C0016744033E :1016300019166000002480090492000000492A0065 :101640000000920024124800000124803700390075 :101650003700A700370040117F03C0018103BF019D :101660006744034C1660000020100904020100903A :10167000482A000000804024100804024120801AFB :1016800000B9001B0050001B00B9001B0099106737 :1016900050027F161A5A65679A659A9B9A5A65672F :1016A0009A659A9B9A5A6565330038003300A20008 :1016B00033001A0B5003AE015203AD01634403A87B :1016C000166082082410410482400010092A020892 :1016D000209041041209000040248010002F0210C5 :1016E000004F0310000C1711002F0211004F037759 :1016F0001803DB160E38218226208248231000E4CE :10170000011000E2021000E3021000BB1267180291 :10171000FD166AA003AAA001300034003000A0002A :1017200030009001300048081F039001672603181D :101730001784824008924801C24120044924004095 :101740001000530311002A02110052031100530329 :101750001100EF12771803401745865B05C65B053D :10176000B0420E00EB010E00E7020E0006146718EF :101770000262175550025550010E00EB010E00E7B2 :10178000020E000A13671802791745544245544166 :10179000672603A10384104008820801C2082004C0 :1017A00041040040030009000300130003001D0072 :1017B000030027000300F026001D03A41760008823 :1017C0000002E300044000160F008A000F00BE0173 :1017D0000F005D020F00A519671E02C817800100E7 :1017E0002E000400A030003200300094003000953C :1017F0000030009005631602E51748800E220010A5 :1018000057007F025800130158007F026F0B02003F :1018100018159A9403000800030012000300180032 :10182000030026000300F126001D031418608088C1 :101830000000E30404400006731002FC122AAB6AA5 :10184000AA0D0060020E008D000E0028010E00C3DC :10185000010E005E020E0060020E003F18671E03BC :10186000411804944B24953524A25924A8407310A0 :1018700002FC1219AB59A90300080003001200036F :10188000001C000300BB31001B027718800100B868 :101890005510082E0035002E006A002E0004012E7F :1018A00000DE052E00D22A5D0035005D006A006F63 :1018B0002E039318468000000003445200000C22BF :1018C000229000006080001B027718800400B85549 :1018D00040080E00EB010E00E7020E0042126718EE :1018E00002D2185550065550056718026217455424 :1018F000024554012C002F032D0010022D002F0350 :101900002D008813731802F418299A9BA99A9A0E2D :1019100000EB010E00E7020E00F9166718020F191E :101920004440024440016726039E01841000209039 :10193000010080400412092ABA403000F60032004B :101940002F0032005E003200F5003200D005320078 :10195000DA2A64002F0064005E00673B033A190B2B :1019600012492492498D1C8927FCAB472249FF2A42 :10197000D1C8927FC90010004F0310000C1711004E :101980002F0211004E0311004F03771803761962DE :1019900008A08A19040840830E00EB010E00E7023C :1019A0000E000E1267180298194554164554151862 :1019B00000B9001B004E001B00B7001B00060667A5 :1019C0001602AF1919955E66555038003700380079 :1019D000A8003800F212BF01C501C001C50167446B :1019E00003CA196410000410000080000412492A80 :1019F00010400010400002000010492490310034D3 :101A0000003100FA003100FC00310049093100E9E1 :101A10002E64003400640066007F1503FD192280E7 :101A20001A180110C002370037003700A70037002E :101A30009F1337002225C001BD01C201BC016728E8 :101A400003261A8002000002000492000000492AC6 :101A500097487F0E03E713468023340080831F03DB :101A60002011049249263471449AD1C512482E009F :101A70004A007000AB00DC000401260159017F011F :101A8000B601DA0108023002610278028C02AC026F :101A9000D202FA0246038D03B503E10305042904CB :101AA0004C0479048B04AD04CF04DD040505130553 :101AB0003B0566058A05A505B905C105DD05EF05E8 :101AC00006062A064E0671069D06CD06DB06EF06C3 :101AD0000B072307340748076C0779079507B107F9 :101AE000C807E507F107050819082D08410855083A :101AF0007B08AE08BC08E008EB080F0925092C0993 :101B0000400954097C099509A909C309D109E509C6 :101B1000010A280A360A580A970AC10A040B180B48 :101B20002C0B580B750B970BC10BE00B020C160C12 :101B30002A0C3E0C520C760C840CAC0CC50CD90C47 :101B4000ED0C010D150D290D550D690D7D0D910D36 :101B5000B90DF00D200E500E710E2E00910ED00E0C :101B6000010F300F420F0401DC00560F760F920F69 :101B7000B503C10F0910271032105A107E108C10B7 :101B8000A010E103B410E81001110C113C116D110B :101B90008411A811CA11E611EF11031223123A128F :101BA000521271129E12AE12CA12D012F4120C13FB :101BB00021132B1357137F13AA13D313DE13FF1311 :101BC0000A142A14301450146614741482149014D5 :101BD000C414F01401152115451562156D158415F1 :101BE0009B15A615AF15CA15E515F01511162D167E :101BF00060168F16BC16EF160D172C1754176E179C :101C000085179017B817D817F5170C182818381813 :101C10005D186E188718AF18C618DE18E918041971 :101C20001B1926195A198A19A419BF19DE19191A6C :101C30003E1A521A5D1A11241FBECFE5D2E0DEBF54 :101C4000CDBF10E0A0E6B0E0E2EEFFE102C00590FB :101C50000D92A236B107D9F710E0A2E6B0E001C0BC :101C60001D92A636B107E1F7DDD0B9C1C9C19C010B :101C700012BE18BE442329F082E48ABD81E083BFEE :101C80000BC0C09809C080E0000000008F5F8C305E :101C9000D9F700002150304021153105A1F71ABCB9 :101CA00013BEC09A09C080E0000000008F5F8C3036 :101CB000D9F700006150704061157105A1F70895D2 :101CC0000F931F93082FA0916400B0916500F091CD :101CD0006300E091620010E040E050E0682F70E0A7 :101CE000615070401CC0EE2321F4FD011196F49167 :101CF000E8E0E1508F2F90E00E2E02C09595879579 :101D00000A94E2F7817090709B01241B350B02C08E :101D1000880F991F2A95E2F7182B4F5F5F4F4017E6 :101D200010F3B0936500A0936400F0936300E09318 :101D30006200812F1F910F9108951ABC13BE88B3C2 :101D4000856088BB88E10FB6F89481BD11BC0FBED9 :101D500088EE93E008C0000000002F5F2C30D9F718 :101D60000000019711F020E0F6CF80E385BF889551 :101D7000089508C020E0000000002F5F2C30D9F744 :101D8000000001970097B1F70895C29888EB9BE097 :101D900008C0000000002F5F2C30D9F70000019729 :101DA00011F020E0F6CFC29A08951F93182F0EC0AD :101DB000A89588E99AE308C0000000002F5F2C3046 :101DC000D9F70000019711F020E0F6CFDEDF1150C7 :101DD00079F7A8951F91089540E021C0C29820E5A9 :101DE00033EC09C0000000009F5F9C30D9F7000071 :101DF0002150304011F090E0F5CFA895C29A20E52F :101E000033EC09C0000000009F5F9C30D9F7000050 :101E10002150304011F090E0F5CFA8954F5F481762 :101E2000E8F208959F92AF92BF92CF92DF92EF9225 :101E3000FF920F931F93CF93DF9310BE1ABC13BE74 :101E400094B714BE88E181BD11BC85E087BB87E0F3 :101E500088BB92FF03C082E0BFDF6FDF88E893E1B9 :101E600008C0000000002F5F2C30D9F70000019758 :101E700011F020E0F6CF06B3069500950170802F93 :101E80008D5F93DF88EA91E608C0000000002F5FB5 :101E90002C30D9F70000019711F020E0F6CF29E2AD :101EA00088E190E00FB6F894A89581BD0FBE21BDE2 :101EB000002319F49090600002C090906100DD242E :101EC000C0E0D0E058C0A895002331F4FE01E259EB :101ED000F54E8591949105C0FE01EC5AF44E859122 :101EE00094919093650080936400409164005091B8 :101EF00065009A012F5F3F4FFA01C490C9BCC90128 :101F00000196F901A490FC01B4900196FC01E590C2 :101F1000F4904B5F5F4F509365004093640010E076 :101F200016C08B2DCDDE880F880F90E0F701E80FEB :101F3000F91F25913491FC013296EE0DFF1D65913C :101F4000749140E0C11041E0C90191DE1F5F1A1594 :101F500040F31092620088EA91E608C00000000099 :101F60002F5F2C30D9F70000019711F020E0F6CF59 :101F70000CDFD3942296D91408F4A5CF88E10FB6CC :101F8000F89481BD11BC0FBE8CED9FEF0BC000001B :101F900000002F5F2C30D9F70000019719F48CED69 :101FA0009FEF0AC020E0F3CF000000002F5F2C302D :101FB000D9F70000019711F020E0F6CF84E0F5DEBC :101FC000BCDE80E090E0DF91CF911F910F91FF90F8 :101FD000EF90DF90CF90BF90AF909F900895F894CE :021FE000FFCF31 :021FE200737119 :00000001FF Edited November 23, 2014 by Mr-Protocol Spoiler Tags Quote Link to comment Share on other sites More sharing options...
hypersonic5000 Posted November 23, 2014 Author Share Posted November 23, 2014 (edited) After a little research I found out that the code I previously posted is the binary of the code and that it looks way different. Thanks for trying to help though. To get the projector sequence and turn it into tv-b-gone code I can just use my Samsung Galaxy Tab 4 to send the codes from the app and receive it using an Arduino. Then I can translate the code and put it on my ATtiny.......If anyone wants to know how to translate the code look at the bottom of this post convertion: 1. Find IR Sequence (look on google and you'll find pictures of what I mean)2.find ms on the ms off and so on (emmited twice so multiply)3.right it outconst struct powercode sonyCode PROGMEM = {freq_to_timerval(38400), // 38.4 KHz{{240, 60},{120, 60},{60 , 60},{120, 60},{60 , 60},{120, 60},{60 , 60},{60 , 60},{120, 60},{60 , 60},{60 , 60},{60 , 60},{60 , 2700},{240, 60},{120, 60},{60 , 60},{120, 60},{60 , 60},{120, 60},{60 , 60},{60 , 60},{120, 60},{60 , 60},{60 , 60},{60 , 60},{60 , 0}// end of code}};4.Translate Index # PWM ON OFF 0 0.6 ms 0.6 ms 1 0.6 ms 270 ms 2 1.2 ms 0.6 ms 3 2.4 ms 0.6 ms5.Time Table const uint16_t code_na000Times[] PROGMEM = { 60, 60, 60, 2700, 120, 60, 240, 60, };6.Translate Code (step 4) to binary #0 = 00 #1 = 01 #2 = 10 #3 = 117.Deep Compression 1110001000100000100000000111100010001000001000000001 to 8-bits 11100010 00100000 10000000 01111000 10001000 00100000 0001 Fix Code 11100010 00100000 10000000 01111000 10001000 00100000 00010000 In Hex E2208078882010 Translate (seperate every 2 chars) E2 20 80 78 88 20 10 Translate (add 0xchar pair) 0xE2 0x20 0x80 0x78 0x88 0x20 0x108.Order Code // The structure of compressed code entries struct IrCode { uint8_t timer_val; uint8_t numpairs; uint8_t bitcompression; uint16_t const *times; uint8_t codes[]; };9.Rewrite Code With IR Senquence const struct IrCode code_na000Code PROGMEM = { freq_to_timerval(38400), 26, // # of pairs 2, // # of bits per index code_na000Times, { 0xE2, 0x20, 0x80, 0x78, 0x88, 0x20, 0x10, } }; Edited November 23, 2014 by Mr-Protocol Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted November 23, 2014 Share Posted November 23, 2014 Please remove multi blank lines and use spoiler tags for super long posts. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.