soldering wrong led?

Get help and show off your TV-B-Gone kit!

Moderators: adafruit_support_bill, adafruit

soldering wrong led?

Postby chesspro » Sat Mar 27, 2010 4:15 pm

hey this is probably a stupid question,

but if i soldered the ir led in the wrong order (it should be white, blue, blue, white but instead i did white, blue, white, blue), would it affect anything (range?)

Thanks!
chesspro
 
Posts: 6
Joined: Sat Mar 27, 2010 4:13 pm

Re: soldering wrong led?

Postby adafruit » Sat Mar 27, 2010 5:06 pm

doenst really make a difference at all, just keep going!
User avatar
adafruit
 
Posts: 10553
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: soldering wrong led?

Postby chesspro » Sat Mar 27, 2010 8:40 pm

Thanks!

Oh and another question. I'm looking at http://www.remotecentral.com/cgi-bin/codes/ right now to look up the codes for sony's devices.

So just for an example, I found this and stored them in hi.txt:

0000 0067 0000 000d 0061 0017 0031 0017 0031 0017 0031 0017 0019 0018 0019 0017 0019 0017 0019 0017 0031 0018 0019 0017 0019 0018 0019 0017 0031 03ef

I want to use the parsegen3.pl to convert these codes and compress them.

Would I just do "perl parsegen3.pl hi.txt"?

I tried looking at http://www.ladyada.net/make/tvbgone/design.html for how to convert the codes but none of the codes found on http://www.remotecentral.com/cgi-bin/codes/ seem to match the format given on http://www.ladyada.net/make/tvbgone/design.htm (e.g. 0019 vs. 0xE2) Sorry if this is a noob question. What format are the codes listed on http://www.remotecentral.com/cgi-bin/codes/?

And if they aren't in the correct format, does parsegen3.pl do that converting for me?

Thank you so much again
chesspro
 
Posts: 6
Joined: Sat Mar 27, 2010 4:13 pm

Re: soldering wrong led?

Postby adafruit_support_bill » Sun Mar 28, 2010 6:04 am

Looks like just a different form of hexadecimal encoding. The '0x' prefix is needed for the C compiler.

Assuming that the RemoteCentral codes are strings of bytes, you should be able to replace the leading '00' with a '0x' on each.
User avatar
adafruit_support_bill
 
Posts: 16644
Joined: Sat Feb 07, 2009 9:11 am

Re: soldering wrong led?

Postby adafruit » Mon Mar 29, 2010 9:14 am

parsegen is ONLY for the IR capture files in the zip file, which we made. it isnt for anything else.
User avatar
adafruit
 
Posts: 10553
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: soldering wrong led?

Postby chesspro » Mon Mar 29, 2010 7:40 pm

hmm, thanks!

also, I've tried looking online but is there any program to convert the pronto hex format to the format that parsegen3.pl can recognize?

Or do I actually have to get some type of hardware to capture the raw IR codes?

Thanks again
chesspro
 
Posts: 6
Joined: Sat Mar 27, 2010 4:13 pm

Re: soldering wrong led?

Postby chesspro » Tue Mar 30, 2010 8:24 pm

nevermind, there's a guide here on how to do it, incase others are curious: http://www.remotecentral.com/features/irdisp3.htm

I'll report back on updates
chesspro
 
Posts: 6
Joined: Sat Mar 27, 2010 4:13 pm

Re: soldering wrong led?

Postby chesspro » Wed Mar 31, 2010 10:21 pm

Another quick question,

After converting from the pronto format to Tv-b-gone compressed format, I get the below (this is actually for apple's remote nec format for the menu button). I put this back into WORLDcodes.c.

Now how do I generate the tvbgone.hex that is necessary to flash the tvbgone with? Do I just run the make file? Or do I need to compile WORLDcodes.c (and if so with just gcc WORLDcodes.c)?
(I'm using the avrdude for mac pack)

Code: Select all
#ifdef NA_CODES
const uint16_t code_na000Times[] PROGMEM = {
        56, 56,
        56, 172,
        905, 456,
        56, 3782,
   905, 226,
   56, 9689,
};
const struct IrCode code_na000Code PROGMEM = {
        freq_to_timerval(37683),
        36,             // # of pairs
        3,              // # of bits per index
        code_na000Times,
        {
      0x6C,
      0x92,
      0xC9,
      0x24,
      0x96,
      0xDB,
      0x24,
      0xB6,
      0xDB,
      0x6C,
      0x92,
      0xCB,
      0x2E,
      0x50,
         }
};
chesspro
 
Posts: 6
Joined: Sat Mar 27, 2010 4:13 pm

Re: soldering wrong led?

Postby chesspro » Thu Apr 01, 2010 1:48 am

actually, I realized what was wrong (stupid me, I should've typed "make" into terminal)

so if I already built my tv-b-gone kit and I want to reflash the chip, can I just connect the tv b gone to the tinyispusb to my computer? I read somewhere I have to take off the resistors connecting to the led's before I can actually reflash it :?

Which resistor is this? R5 or R1 ? R5 being the one closest to the green led light and r1 being the one closest to the rom.

Here's a (blurry, sorry) picture of my tv-b-gone kit http://dl.dropbox.com/u/21563/tvbgone.jpg
chesspro
 
Posts: 6
Joined: Sat Mar 27, 2010 4:13 pm

Re: soldering wrong led?

Postby adafruit » Thu Apr 01, 2010 10:15 pm

you have have to clip the resistor thats next to the chip
User avatar
adafruit
 
Posts: 10553
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc


Return to TV-B-Gone Kit

Who is online

Users browsing this forum: No registered users and 2 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [113]

Raspberry Pi[82]
 
FLORA[24]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[12]
Arduino[60]
 
NETduino[14]
 
BeagleBone[23]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[39]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[9]


 
Breakout Boards[35]
LCDs & Displays[49]
Components & Parts[70]
Batteries & Power[54]
EL Wire/Tape/Panel[52]
LEDs[112]
 
Wireless[16]
Cables[66]
 
Lasers[6]
Sensors/Parts[147]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[41]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[25]


 
Stickers[41]
 
Skill badges[55]
 
Books[26]
 
Circuit Playground[7]
 
Gift Certificates[4]