lastaid 15 Posted April 14, 2012 Share Posted April 14, 2012 Hello, i wanted to use the tvbgone in germany, so i had to get some european IR codes. i got the codes from the tv-b-gone firmware along with a perl script. to match oPossum's code i had to modify it a bit though. apparently someone uploaded the firmware file with 3 out of 3 sets of North America codes, but only 2 out of 3 EU codes, which sucks, if anyone could help with that, it would be greatly appreciated. the files contain the CSS project export, the other one contains the src from oPossum as well as the modified perl script and the Codes. have fun css project http://db.tt/pn7OLD91 other stuff as well as perl script http://db.tt/vHcsD0ho has anyone else build one? i mean, its nice to build a super high powered IR emitter, but with no codes? Quote Link to post Share on other sites
lastaid 15 Posted April 14, 2012 Share Posted April 14, 2012 i added the codes for north america and europe, still no eu1, but i think with both standards this might shut off enough tvs ^^ [ has ~200codes now ] http://pastebin.com/kPcvBr9x can anyone living in north america give me some feedback? Quote Link to post Share on other sites
kylej1050 27 Posted April 19, 2012 Share Posted April 19, 2012 This is sweet! Picked up a few rechargeable AA lithium ion batteries, time to actually put that 1-watt IR led I bought a couple years ago for no apparent reason to use. Stupid shopping problem. Quote Link to post Share on other sites
lastaid 15 Posted April 26, 2012 Share Posted April 26, 2012 I have improved the code so that it uses interrupts and low power mode, but for some funky reason i can only get LPM1 will post code soon, found a silly bug Quote Link to post Share on other sites
lastaid 15 Posted May 6, 2012 Share Posted May 6, 2012 Hello again I just finished converting the codes from the TV-B-Gone worldcodes.c to oPossums format by hand This version should work on EU televisions now, which actually means it works on everything PAL ( http://de.wikipedia.org/wiki/Phase_Alternating_Line ) I managed to put the msp430 in sleep mode, but only LPM1, which means there is room for improvement, but the tx_ir_carrier from oPossums code does not seem to like anything lower then LPM1 [ the status led blinks, the ir one does not ] my debounde code is complete trash, but i had no love for coding after doing the manual conversion have fun -lastaid edit: and for the actual code ... http://dl.dropbox.com/u/1413651/tvbgone_EU.zip edit: and it works on my tv Quote Link to post Share on other sites
lastaid 15 Posted May 6, 2012 Share Posted May 6, 2012 I just had a very nice talk with mitch altmann, the original creator of the tv b gone, and he will try to get the original codes for EU the internet is amazing Quote Link to post Share on other sites
SugarAddict 227 Posted May 6, 2012 Share Posted May 6, 2012 Then you would probably like this... I made one for a G2553 that was compact. untitled.zip I have a few extra boards of this... if you ask me nicely in IRC I might mail you one izdane 1 Quote Link to post Share on other sites
lastaid 15 Posted May 7, 2012 Share Posted May 7, 2012 Those boards look great. Might design one myself when i find a pcb printing service in germany that is cheap Trying to contact you via IRC now ^^ Quote Link to post Share on other sites
donbindner 0 Posted February 18, 2014 Share Posted February 18, 2014 By my count, there are two off-by-one errors in this code (well, technically one is off by two). Since the minimum number of cycles that can be delayed within this code is 20 cycles, the first cmp should be replaced with cmp #2, R15. And because the condition of the loop is checked at the end of the loop instead of at the beginning, the sub should be replaced with sub #1, R15. Delays possible based on the value of R15 (and counting the 5 cycles for the caller's call instruction) are then:0 -> 12 cycles 1 -> 12 cycles 2 -> 20 cycles 3 -> 30 cycles .... ; - Delay in units of 10 cycles (10 us at 1 MHz) delay cmp #4, R15 ; Compare to minimum jlo dlyret ; Below minimum, return... sub #2, R15 ; Adjust loop count for overhead jmp eloop ; Make the first iteration shorter ; delay10us mov R12, R15 ; C callable ; dloop nop2 ; 7 cycles of nop nop2 ; nop2 ; eloop nop ; dec R15 ; Decrement loop count - 1 cycle jne dloop ; Loop if not zero - 2 cycles ; dlyret ret ; Quote Link to post Share on other sites
mbeals 74 Posted February 19, 2014 Share Posted February 19, 2014 Anyone try this on an FR series chip? Lots of code space, super low power idle state and the USART handles IrDA decoding/encoding in hardware. Seems like it was built for this application Quote Link to post Share on other sites
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.