Need help tracking down a resistor

  • Thread starter Thread starter Armadillo
  • Start date Start date
  • Views Views 4,749
  • Replies Replies 33
  • Join the GBAtemp community: it's free
    • 50% fewer ads
    • Reply alerts
    • Join the discussion
    • Watch & bookmark
Guess it does not want a direct link to picture. http://www.digitalangel.it/en/2011/11/tutorial-costruire-un-programmatore-jtag-lpt-per-programmare-i-chip-per-reset-glitch-hack/, that should load, bottom programmer. Did have the top one, but would not work, so changed to the simpler one to get it to program.
 
That looks horrible, LOL!

You know that they have ICs for resistor arrays and not just transistorized circuits, right? Wish I had thought to mention it. You can get a single package with several resistors. Some come with common ground (B='buss') and others are separate (I='independant'). You obviously seem to have figured out that you don't need a board. Before people used custom-printed circuit boards or generic pre-drilled boards with lines set up for DIPs, there were people using something like a glue gun or temporary staging wire (AKA twist ties) to hold a chip in place while using a wire-wrap tool (read: small pliers or tweezers work) to run short wires between contacts and then remove the staging wire if used. You can solder that way, as well once all the connections are done because they provide a nice mechanical stability until you have a more permanent connection between them.

The fire hazard is a good reason that no one uses a glue gun/epoxy and cardboard/wood backing for circuits anymore. You can still use it to get the circuit layed out correctly and then remove the backing.

Well 60 resistors hanging off the side of an ic was never going to be a work of art :D and yes, I have seen the resistor arrays. I had no idea how I would go about mounting them, other than a pcb, which as I said before would cost too much (may as well tracked down a rgb modable ntsc machine, once I buy materials for making board). Never heard or even seen the method you describe, that would have been nice as I could have done it that way, then removed the card or found a more permanent non conductive/flammable board to keep it on. Never built something that way either, always been either a pcb or some variation of stripboard or just together as this is, so would have been something new to learn/try :).

I was trying to remember the more common name to do a search with. It is called dead-bug contruction. It means a type of construction method like I suggested. You did something that is more point-to-point.. (Same article)

Got any links to your DIY programmer? (I hope it does EPROMs too! :P)

Anyway, it seems like I was late to the party, but I was going to suggest using the SMD components you found on eBay with a solid core wire on both sides. Oh well! :P
It was this http://www.digitalan...jtagpassme.jpg. Pretty sure it's just for programming Xilinx cplds. As for SMD resistors, think I would have passed on that. They are fiddly and annoying even when putting them on a board, couldn't deal with getting them in there with little links of wire.
Is it weird that I have 3.7V lithium cells just waiting to fit that role? Heck, even common coin cells would be great since you would need very little power to run it for less than an hour while programming. I bet you could get many programming cycles from just one 2032 lithium cell.
There are many different programming adapters including $15-25 premade (USB!) ones. Hell, the Parallax Propeller has a builtin EEPROM programmer! There are some many solutions that you should not have a problem programming your devices Well, at least from the interface part of the equation. The firmware compiler or programming software or properly soldering your chip to the board are a different set of issues.

SMDs aren't worth it for this kind of project... If I was asked to do that, I'd just get 3 freaking 8-bit DAC chips (or a 3-in-1) and go dead-bug!

Searching for 'dead-bug circuit' on Google Images shows some nice examples:

http://www.instructa...ve-Bug-Modules/
This example shows using the IC package itself as the base. The author doesn't consider it 'dead-bug' but P2P like you did. It's a 'live-bug', instead. Hahahahaha... And yes, instructables sucks unless you pay.

http://hackaday.com/...circuit-design/ A site that is much better has this example of a VERY compact design. If you look closely, you can see the 3-pin plastic (TO-92 case) transistors all laid alongside each other like the weiners in a 'vienna sausage' can.

Search for "For example... here's an R/C switch (non-PIC) using a dead-bug style assembling..." using CTRL-F at http://www.rcgroups....=1202382&page=3 leads to one of the most compact ways of using a 14-pin DIP. I think it's some 74xxx like a quad NAND-gate.

This one is sweet! Who needs a USB/parallel/EIA232 programmer when you can just use a line out from your sound card?! http://hackaday.com/...28Hack+a+Day%29 Yes, I2C or 1-line interface geeks have known of something like that for quite a while.

http://www.chipstobi...ur-electronics/ With a surface-mount chip. I imagine it's not exactly EMP-resistant with all those long wires! :P

http://www.candlepow...-Peak-AAA-light
Search for "This is how the famous 'deadbug' circuit looks like when done" using CTRL-F shows this:
http://imageshack.us...AAAlight08.jpg/



http://www.edn.com/a...-7_solution.php A funny explanation of my saying that a 278 Ohm resistor is very likely to be marked as either 270 or 280 Ohms. Remember that the 280 Ohm resistor is going to be a +/- 5 Ohm one while the 270 is going to be +/-10 or so. Actually probably a bit more but you get the idea. 7% is +/- 19 Ohms by the way.
 
That looks horrible, LOL!

You know that they have ICs for resistor arrays and not just transistorized circuits, right? Wish I had thought to mention it. You can get a single package with several resistors. Some come with common ground (B='buss') and others are separate (I='independant'). You obviously seem to have figured out that you don't need a board. Before people used custom-printed circuit boards or generic pre-drilled boards with lines set up for DIPs, there were people using something like a glue gun or temporary staging wire (AKA twist ties) to hold a chip in place while using a wire-wrap tool (read: small pliers or tweezers work) to run short wires between contacts and then remove the staging wire if used. You can solder that way, as well once all the connections are done because they provide a nice mechanical stability until you have a more permanent connection between them.

The fire hazard is a good reason that no one uses a glue gun/epoxy and cardboard/wood backing for circuits anymore. You can still use it to get the circuit layed out correctly and then remove the backing.

Well 60 resistors hanging off the side of an ic was never going to be a work of art :D and yes, I have seen the resistor arrays. I had no idea how I would go about mounting them, other than a pcb, which as I said before would cost too much (may as well tracked down a rgb modable ntsc machine, once I buy materials for making board). Never heard or even seen the method you describe, that would have been nice as I could have done it that way, then removed the card or found a more permanent non conductive/flammable board to keep it on. Never built something that way either, always been either a pcb or some variation of stripboard or just together as this is, so would have been something new to learn/try :).

I was trying to remember the more common name to do a search with. It is called dead-bug contruction. It means a type of construction method like I suggested. You did something that is more point-to-point.. (Same article)

Got any links to your DIY programmer? (I hope it does EPROMs too! :P)

Anyway, it seems like I was late to the party, but I was going to suggest using the SMD components you found on eBay with a solid core wire on both sides. Oh well! :P
It was this http://www.digitalan...jtagpassme.jpg. Pretty sure it's just for programming Xilinx cplds. As for SMD resistors, think I would have passed on that. They are fiddly and annoying even when putting them on a board, couldn't deal with getting them in there with little links of wire.
Is it weird that I have 3.7V lithium cells just waiting to fit that role? Heck, even common coin cells would be great since you would need very little power to run it for less than an hour while programming. I bet you could get many programming cycles from just one 2032 lithium cell.
There are many different programming adapters including $15-25 premade (USB!) ones. Hell, the Parallax Propeller has a builtin EEPROM programmer! There are some many solutions that you should not have a problem programming your devices Well, at least from the interface part of the equation. The firmware compiler or programming software or properly soldering your chip to the board are a different set of issues.

SMDs aren't worth it for this kind of project... If I was asked to do that, I'd just get 3 freaking 8-bit DAC chips (or a 3-in-1) and go dead-bug!

I have a question. How would you use pre-built/off the shelf DACs for it? Would you not need something to capture the signal and break it it down, to something they can understand and make into the RGB output? The replacement DAC using the cpld has been around since 07 and well, nothing has replaced it. If it was that simple, would someone else not have done it using them? or is it just a case of, right person hasn't seen/wanted to do it?

Thanks.
 
The old school 8-bit DACs just had 8 binary inputs (typically TTL/CMOS) that you'd get from a DRAM chip when doing a scanline. They essentially are like your resistor ladder but implemented in a case and with calibration using lasers or such. Some use voltage regulators('references'), a feedback circuit using and ADC and Op Amps for error correction, some have serial I/O (I2C/SPI/...), some have the video RAM (DRAM) built into the same package, only enough RAM for a single scanline but all 3 color outputs, and so on. You'd be looking for a DAC that accepts the digital inputs directly, just like how your resistors work. I was trying to find one cheaply on eBay that the datasheets said you could get away with the substitution.

"...something to capture the signal and break it down, to something..." is precisely what a DAC is. It just takes the bits and outputs the voltage based on the bits. Typically, they have sample-and-hold to prevent 'glitching' but that's not 100% needed. In fact, your resistor circuit would have those same glitches because there's no buffering at the analog (or digital, either) level.

The CPLD is just one solution. You could use some way over-complex Xilinx FPGA and get the same results. That would be insane since you could proably emulate an entire game system on some of those chips. You could (probably) get away with using a CPU since we did that back in the Apple II days. Quite a few products used a (2nd) 6502-based CPU for peripherals. Look at the Commodore 64's disk drives - all had a 6502 in them which was pretty much identical to program and interface as the one inside the main computer. This made developing firmware for them damn simple compared to having to learn an entirely new CPU family, buying more compilers, etc. Microcontrollers were actually specifically designed with this in mind since they have the RAM and ROM and I/O controllers all in the same package. Combined with a $2-5 price tag and packages smaller than a postage stamp even in the more soldering-friendly cases, you can see why they're so popular for these kinds of projects. Sadly, you need a lot of expertise to know which microcontrollers will even have a chance in hell of being the right choice. They might be too slow, low on RAM, too expensive, too hard for beginners to solder, and so on, but one thing going for them is that once you get them working even once, you're done. All other firmware and board revisions just add to existing capabilities or make it work on a cheaper version of the same chip. You can hand the firmware file to even a rank beginner and they can probably get it to work once they learn how not to destroy the chip with the soldering iron. (hehe, sockets help)
 
Nice work- other than a few attempting to work around RF induction problems on the cheap I so rarely see a nice bit of dead bug these days.

Others- regarding the link to the picture seems to have an errant . at the end ("....me.jpg." so remove it and it works http://www.digitalangel.it/wp-content/uploads/2011/11/jtagpassme.jpg

PS raulpica all the teensy and arduino stuff these days usually comes with EEPROM read/write circuits if not in the IDE directly then as a simple download and many times as part of the tutorials.

I already went on the DAC stuff as well but I will note trying to find some of the old style many inputs dac chips was a bit like trying to find some of the huge clunking relays is today- doable but not half as easy as a it was.
 
PS raulpica all the teensy and arduino stuff these days usually comes with EEPROM read/write circuits if not in the IDE directly then as a simple download and many times as part of the tutorials

I know, but I need a full, comprehensive EEPROM/EPROM multi-voltage programmer with PAL/GAL facilities too. One of those simple things wouldn't cut it for me :P
 
Lots of text

I already went on the DAC stuff as well but I will note trying to find some of the old style many inputs dac chips was a bit like trying to find some of the huge clunking relays is today- doable but not half as easy as a it was.

So a replacement DAC would run along side cpld? CPLD grabs signal, feeds 7 bits into dac, dac outputs nice stabilised RGB signal? Shame no one has found one then (I searched a alot and only this circuit), would make life much easier.

Anyway carried on with the install, had to stop though :(. As usual I get screwed :(. Out of the two video encoders denc-nus and mav-nus, apparently only one has a full pin-out documented and of course I have the other. So gotta find a 3.3V source on the board to take power from, pretty sure I saw a picture with them documented, if not I'll track one down with the meter, but no need to make more work for myself, so going to look around first, other issue it introduces is, if picture is shifted too far because of taking sync from composite, I'll have to cut the track to get rid of it, to use csync from the replacement, rather than being able to lift a leg. I suppose in theory the leg outputting the composite video should be the one with continuity between it and the V (composite) pin on the av connector, but I'd really like a pin out before I start lifting.

Also , tiny ic is tiny. Reminds me of ps2. Looks much bigger in pictures.

tinyic.jpg


Cut the insulation back a bit too far on two of them, but nothing near them so they'll be okay. Think my 12W iron may have been struggling a little with the legs, but had to try as I'm waiting on replacement iron for my station as the element cracked :( (my fault) and replacement iron is pretty much same price as an element :blink:
 
PS raulpica all the teensy and arduino stuff these days usually comes with EEPROM read/write circuits if not in the IDE directly then as a simple download and many times as part of the tutorials

I know, but I need a full, comprehensive EEPROM/EPROM multi-voltage programmer with PAL/GAL facilities too. One of those simple things wouldn't cut it for me :P
With a lot of those devices, people just have single-purpose programmers if doing it as a hobbyist. I have the official TI PAL/GAL programming specs and it's not pretty. You'd have to implement all kinds of extra logic to make a programmer that can handle them while still working with parallel EPROMs and JTAG and... There's a reason that many programmers come with the 'normal' model and sell separate adapters for different logic families like TIBPALxxxx/GAL or Xilinx FPGA or 29Fxxxx or such.

BTW, you can get 3.3V from other voltage sources. The stupid (but easy) way is to just use a resistor that will have 1.7V of drop at the amperage that your 3.3V chip will run at. You can find calculators online or just figure it out using a resistor of roughly the same resistance('load') as your IC at 3.3V. Yeah, stupid because this is partly why all those old Atari game consoles don't work. (Well, and corrosion from being in a landfill, heh)

1) Measure resistance of your chip using a 3.3V source (2 brand new and fresh 1.65V AA alkaline cells, anyone?) and Ohm's law. The current draw gives you the amount of resistance. Sadly, this is hard without a good meter. ;( You can cheat though and use the datasheets, instead.
2) Find a resistor of roughly the same ohms rating you figured out.
3) Use this as your fake load. Let's call it resistor 1 or R1.
4) Put another resistor in series and call it resistor 2 or R2.
5) Put a meter in 'voltage' mode across the pins of R2. Like magic, you'll see a voltage much lower than the 5V your power source puts out. We want this to be 1.7 volts since it'll reduce the 5 volts to 3.3 volts. For example with very bright LEDs, I often saw 100-470 Ohms depending on if it was blue, meant to run of 5V or 12V or many other factors.

http://www.ohmslawca..._calculator.php
I put in 1.7V and 100 Ohms into that calculator and got 17mA which is about what the LEDs draw. That would let a 3.3V LED work with a 5V power supply. Plugging 8.7V and 500 Ohms into it showed me that it would let it run of 12V with a 470 Ohm resistor in series. Problem being that semiconductors aren't linear by any stretch of the imagination. They like to blow up if you drive them too high. The power (wattage) of a CPU for example goes up with the SQUARE of the voltage! Very important if you're an overclocker going from 1.65V to 2.1V, heh.
 
Quick update in case anyone was curious, the mess of resistors and wires works great.

DSC08452.jpg


Here it is after being installed and tested. Just gotta put it back together now.

Wires look long, but by the time it's back in the case and the wires are routed to final placement, they'll be fine. Green wire running out the pic is the csync wire, didn't need to use it in the end, picture is fine using sync from composite, no major picture shift. Guess it must depend on the encoder.

Would definitely recommend the mod if you have a pal n64.
 
Nice! What kind of difference in picture is there? Similar brightness but less fuzzy? Easier to read text?
 
Colours are better. Picture is sharper, text is much clearer. Pretty the same improvements you get going from composite to RGB scart on all the consoles that support it. Downside, it exposes any graphical flaws (jagged edges etc) that the fuzzyness of composite covers up, but it's worth the trade off.

Someone has a gallery here with some comparison pics, http://www.8bitplus....jects/n64_rgb/. Using the simpler mod that works only on the early ntsc units, but from reading, people who have tested both, say quality is pretty much same. Really not sure what Nintendo was thinking taking it out in the first place. RGB scart was common over here when it was out, SNES came before and that supported RGB scart and both the Saturn and Playstation supported RGB scart.

It seems they just thought, NTSC users don't have a option for RGB at the time, so Europe can't have it either, even though there is a common standard for it.
 
No, I think it's more like: "Those stupid and dirty foreigners are lucky enough to get to play it, period!" Well, you'd think that with the way Sony and Nintendo treat us. :P
Most companies would have at least left it on the board but not put the connectors in there. That way they can use the same circuit designs and save time on recertifying for the foreign markets' FCC/EU rules since the restrictions are pretty damn close in practice. You probably couldn't get away with a pure plastic case, I'd think. Didn't the SNES have a plastic case with some conductive additive/inner coating to be accepted by the FCC?
 
Most companies would have at least left it on the board but not put the connectors in there.

They sort of done that with the NUS-001 (FRA) models (Early French pal version), they are capable of RGB out, but they didn't populate the board for it. The markings and pads are there, but you need to add the smd resistors, diodes and a couple of other components to make RGB work.

The others, they didn't really take it out, at least not in the way of, they could do it, but they took the components out. They cost cut on them. Early NTSC units have separate DAC and Video encoder. DAC converts to RGB, then encoder to s-video and composite. So you just take the signal from between them. Then they merged it all into one single chip, but didn't cater for the pal market and made it do composite and s-video only, and s-video is uncommon here (no need when you have RGB), so we get stuck with composite only :(.

The a/v out has all the pins present though. The RGB pins have nothing connected to them though. Still not really an excuse to not have the pal ones do RGB. They should have just done them all like the early french, but populated the board so they done it out the box or had the pal encoder doing RGB (it's a different chip to the ntsc one anyway).

Apparently Dev units all do rgb as well as standard.
 
Reducing part counts - gotcha. OK, that makes sense, sort of... I'd still have not done it because of legal reasons and the fact that the new chip may cost a large part of the savings in order to redesign. Yeah, stupid though that they essentially screwed people.
 

Site & Scene News

New Hot Discussed User Submitted