Hey, I called Mitsubishi and they got their electronic engineer and all he could say is that it is in binary. He said he dosn't have them and can't get them. Can anyone help me in building a device to do so?
Also, to add codes do I need the TV-B-Gone microcontroller? I am about to order one but im not sure if that is the correct thing I need. I am using v1.1.
Here are the codes I would like...
Projector: Mitsubishi XD206U
BANNED Player: JVC HRX-VC16
Stereo: Sony Str-de197
Thanks
Can Someone To Capture A Few Codes For Me Please...
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 26
- Joined: Mon Dec 17, 2007 9:27 pm
-
- Posts: 134
- Joined: Fri Jul 13, 2007 4:54 pm
Getting the POWER codes pretty much requires getting a hold of a remote control for the device in question and recording the code on a digital storage scope or logic analyzer. The codes are a series of "on-times" and "off-time" pairs. "On-time" is the amount of time for which the "carrier" is being transmitted (and the "carrier" means pulsing the IR emitter at a certain frequency, usually around 40KHz, but varies for different makes and models of remote controls). "Off-time" is the amount of time that the IR emitter is off after the "on-time."
Once you have the codes you want, you need to add them to the firmware source code using a text editor.
Then you use the open source software for your platform to compile and program the microcontoller.
To program the microcontroller you'll need a progammer, such as the USBtinyISP, available here:
http://www.adafruit.com/index.php?main_ ... ucts_id=46
To program using the TV-B-Gone Kit, you'll need to unsolder R1, R2, R3, R4. Rather than do that, you can buy another TV-B-Gone Kit PCB, and use it as a programming board (you only need to stuff the 8-pin DIP and the 10-pin programming header, and connect the 3v battery supply).
Mitch.
Once you have the codes you want, you need to add them to the firmware source code using a text editor.
Then you use the open source software for your platform to compile and program the microcontoller.
To program the microcontroller you'll need a progammer, such as the USBtinyISP, available here:
http://www.adafruit.com/index.php?main_ ... ucts_id=46
To program using the TV-B-Gone Kit, you'll need to unsolder R1, R2, R3, R4. Rather than do that, you can buy another TV-B-Gone Kit PCB, and use it as a programming board (you only need to stuff the 8-pin DIP and the 10-pin programming header, and connect the 3v battery supply).
Mitch.
-
- Posts: 17
- Joined: Mon Dec 17, 2007 4:02 pm
-
- Posts: 26
- Joined: Mon Dec 17, 2007 9:27 pm
Ahh that is gonna be another projectmaltman23 wrote:Getting the POWER codes pretty much requires getting a hold of a remote control for the device in question and recording the code on a digital storage scope or logic analyzer. The codes are a series of "on-times" and "off-time" pairs. "On-time" is the amount of time for which the "carrier" is being transmitted (and the "carrier" means pulsing the IR emitter at a certain frequency, usually around 40KHz, but varies for different makes and models of remote controls). "Off-time" is the amount of time that the IR emitter is off after the "on-time."
Once you have the codes you want, you need to add them to the firmware source code using a text editor.
Then you use the open source software for your platform to compile and program the microcontoller.
To program the microcontroller you'll need a progammer, such as the USBtinyISP, available here:
http://www.adafruit.com/index.php?main_ ... ucts_id=46
To program using the TV-B-Gone Kit, you'll need to unsolder R1, R2, R3, R4. Rather than do that, you can buy another TV-B-Gone Kit PCB, and use it as a programming board (you only need to stuff the 8-pin DIP and the 10-pin programming header, and connect the 3v battery supply).
Mitch.
Ok so I am ordering the USBtinyISP (You were saying tinyUSBISP over the phone which is why it wasn't comming up on google or the adafruit search ) now.
The thing I don't understand is making a "programming board". Ya, if you do that stuff to the prgamming board how would that get onto the main board? What is on the main board the makes it to you have to desolder to get it?
If I get the PCB, that is all i'm going to get right? I need to buy the 10 pin connector for it right?
Im gonna order the usbtinyisp now...
-
- Posts: 19
- Joined: Mon Dec 17, 2007 12:16 pm
The programming-board mentioned is standard board without base resistors soldered in. Because their resistance is so small, uC cant be programmed when they are there.
To program AVR devices I use signals direct from LPT port, but it's little dangerous for your PC
USB programmer is good, because soon no PCs will have that port...
To program AVR devices I use signals direct from LPT port, but it's little dangerous for your PC
USB programmer is good, because soon no PCs will have that port...
-
- Posts: 134
- Joined: Fri Jul 13, 2007 4:54 pm
The programming board is just the PCB, an 8-pin DIP socket, a 10-pin programming header, and a 3v battery (two AA, or one CR2032, or whatever you like).Tanner8 wrote:The thing I don't understand is making a "programming board". Ya, if you do that stuff to the prgamming board how would that get onto the main board? What is on the main board the makes it to you have to desolder to get it?
If I get the PCB, that is all i'm going to get right? I need to buy the 10 pin connector for it right?
To program a chip, you insert it into the 8-pin DIP on the programming board, run avrdude (through WinAVR on Windows), then take the chip out of the programming board and insert it into your TV-B-Gone Kit.
I find this easier than having to unsolder resistors. But someone else made a cool hack that allows them to just plug the resistors in and out for ease of programming.
Mitch.
-
- Posts: 26
- Joined: Mon Dec 17, 2007 9:27 pm
Ok gotcha!
I just recieved the LED toady (thanks) and the USBTinyISP. I gotta build it when I find some time. I ordered the PCB too so I just need the 8pin DIP socket, the programming header, and the battery pack. I hope radioshack will carry that stuff, that is the only place I can think of to buy it from. Either that or online.
I just recieved the LED toady (thanks) and the USBTinyISP. I gotta build it when I find some time. I ordered the PCB too so I just need the 8pin DIP socket, the programming header, and the battery pack. I hope radioshack will carry that stuff, that is the only place I can think of to buy it from. Either that or online.
- opossum
- Posts: 636
- Joined: Fri Oct 26, 2007 12:42 am
A resonator is also required to program a chip that has the fuses set to use an external clock. Anything from 4 to 10 MHz is fine. A new chip will default to RC oscilator, but once the TV-B-Gone firmware is programmed it will be configured for external clock.
The USBtinyISP can supply power if JP3 is jumpered - so batteries not required. Make sure JP3 is open if you do use battery power.
The USBtinyISP can supply power if JP3 is jumpered - so batteries not required. Make sure JP3 is open if you do use battery power.
-
- Posts: 1119
- Joined: Wed Jun 13, 2007 9:17 am
Can you never change it back to the internal oscillator once it's been programmed to use an external one?oPossum wrote:A resonator is also required to program a chip that has the fuses set to use an external clock. Anything from 4 to 10 MHz is fine. A new chip will default to RC oscilator, but once the TV-B-Gone firmware is programmed it will be configured for external clock.
The USBtinyISP can supply power if JP3 is jumpered - so batteries not required. Make sure JP3 is open if you do use battery power.
-
- Posts: 87
- Joined: Sun Dec 23, 2007 3:16 am
Hmm, this must be why when I took my V1.0 chip out and stuck it in my STK500 programmer it couldn't be read.oPossum wrote:A resonator is also required to program a chip that has the fuses set to use an external clock. Anything from 4 to 10 MHz is fine. A new chip will default to RC oscilator, but once the TV-B-Gone firmware is programmed it will be configured for external clock.
-
- Posts: 134
- Joined: Fri Jul 13, 2007 4:54 pm
Yes, you can change it back. You change this by changing the fuses.magician13134 wrote:Can you never change it back to the internal oscillator once it's been programmed to use an external one?
The fuses determine how the chip powers up, and these can be changed as much as you like.
FYI, the Makefile that comes with the TV-B-Gone Kit firmware has a command for burning the fuses:
make burn-fuse
The values in the Makefile are for using an external 8MHz ceramic resonator.
Mitch.
[/b]
-
- Posts: 26
- Joined: Mon Dec 17, 2007 9:27 pm
-
- Posts: 134
- Joined: Fri Jul 13, 2007 4:54 pm
This uses an IR receiver module (Vishay TSOP2238), which only receives IR signals with a 38KHz carrier frequency. Most IR codes have carrier frequencies that are near this frequency, but there are many that are much lower and much higher. Using this module will limit you to capturing codes that use carriers near 38KHz. If that is fine, then this is a cheap way to go.Tanner8 wrote:For capturing codes do you think this will work???
http://iguanaworks.net/product2.BANNED
You'll still need a way to measure the lengths of time for which the carrier is present and for which it is not present.
Mitch.
-
- Posts: 8
- Joined: Fri Dec 07, 2007 12:21 am
http://www.picotech.com/picoscope-oscil ... tware.html
using that and this program would that be the way to go?
also would this be a better receiver since it captures more of a range of frequencies?
http://www.home-electro.com/tira2.php
using that and this program would that be the way to go?
also would this be a better receiver since it captures more of a range of frequencies?
http://www.home-electro.com/tira2.php
Last edited by nonstopred on Sun Dec 23, 2007 7:16 pm, edited 1 time in total.
Please be positive and constructive with your questions and comments.