![]() | ![]() | ![]() |
| | |||||||
| General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion? |
| View Poll Results: Which of the following is better? | |||
| An OR gate from an IC | | 4 | 57.14% |
| 2 diodes with cathodes together for an OR gate | | 2 | 28.57% |
| both are equal | | 1 | 14.29% |
| Voters: 7. You may not vote on this poll | |||
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| What I intend to do is make an EEPROM programmer for the chip AM29F010. My design involves using 24 OR gates, one for each address bit (except A17, since A17 is 0 when sending the unlock code), and one for each data bit. I have found that 10 1N4007 diodes cost me $1, and the flexibility is high when placing them on the circuit board. In the basic sense, I can use two of them and connect the cathodes together to form a 2-input "OR" gate. If I must use OR gate IC's I will, but if I can get away with 1N4007 diodes, I would rather do that, because it is cheaper. The question is, is there A difference between making an OR gate from diodes, and using an or gate from a logic chip? What would you recomend and why? I don't want anything to overheat.
__________________ -=: The best low-priced components to troubleshoot with are the speaker and the LED :=- | |
| |
| | (permalink) |
| I don't really have much to say about programming the eeprom, no experience there but... isn't the 1n4007 a bit much for this application? I mean, its rated for 1 amp of current with 1000 volts breakdown ... that is a high voltage rectifier diode - I think you want a signal / switching diode? Here's a good general purpose diode for logic circuits (1N914 equiv): http://www.bgmicro.com/prodinfo.asp?prodid=DIO1N4148 only 3 cents each | |
| |
| | (permalink) |
| I can buy CD4071 from Jameco for US $0.28. That's 7 cents per OR gate. There may be cheaper ones available. Jameco also has CD4011 (2-input NAND) for $0.20, which is a negative-input OR gate, if you have the complement input data available. Of course, you have to pay for shipping. If you can get the diodes locally, maybe it's a better deal. I wouldn't try to use 1N4007 if the input transition times are fast, because the 1N4007 has significant capacitance (remember varactors?). This can cause slow fall times, and possibly glitches on the falling edge. You will also lose about 0.6V on your logic "1" levels. As mentioned by justDIY, 1N4148s are much better for logic. I also have never built an EEPROM programmer. :cry: | |
| |
| | (permalink) |
| Hiya Mstechca, Here's a link to a eeprom programmer siliconchip did back in 2002 http://www.siliconchip.com.au/cms/A_30475/article.html now take a look at the schematic then tell us you can do the same just using or gates :?: . Now why bother trying to re-invent the wheel when there's plenty of circuits out there to do the same thing your attempting. Cheers Bryan
__________________ " The only way to avoid human error is to avoid the use of humans" | |
| |
| | (permalink) |
| The IC gates are better. I had a problem with a diode OR gate using the 1N4148 because of the stored charge. This causes spikes in the output which may cause problem - depending on where the output is connected.
__________________ Len | |
| |
| | (permalink) |
| The only advantage to using 1N4007s as the logic is that you can have a HIGH of +800v with no problem at all, so wild logic levels are no sweat. But as Ron and others have said, speed is a problem. And I'd bet that the 14 diodes required to replace 7 IC gates would be bigger than the IC! Dean
__________________ Dean Huster, Electronics Curmudgeon Contributing Editor emeritus, "Q & A", of the former "Poptronics" magazine (formerly "Popular Electronics" and "Electronics Now" magazines). R.I.P. | |
| |
| | (permalink) | |
| Quote:
i've heard of high voltage eprom before ... but 800v! :P | ||
| |
| | (permalink) | |
| Quote:
actually, I'm not going higher than 5V. and the outputs of the OR gates are connected directly to each address and data lines of the AMD's 29F010B.
__________________ -=: The best low-priced components to troubleshoot with are the speaker and the LED :=- | ||
| |
| | (permalink) | |
| Quote:
Do you think I'm going to spend $300+ on one programmer when I could make one myself for under $50?
__________________ -=: The best low-priced components to troubleshoot with are the speaker and the LED :=- | ||
| |
| | (permalink) | ||
| Quote:
__________________ Len | |||
| |
| | (permalink) |
| Does anyone have any idea what the OR gates are for?, it seems pretty pointless discussing diode OR versus IC OR when the entire premise might be completely wrong?. Perhaps mstechca might like to post a block diagram of what he's trying to do?. | |
| |
| | (permalink) |
| It sounds sort of like you're using the OR's as a bus enable line. If you can get a CMOS device, you'll have extremely low leakage current; as opposed to diode logic which generally depends on a larger current to create a TTL voltage across its output resistance. In general it could really go either way though. Just make sure all your diodes can safely dissipate the power they're going to take in. | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| In general. SMTs can melt faster than a slug in a salt mine. | |
| |
| | (permalink) | |
| Quote:
Maybe, but a diode in a logic gate is practically indestructible unless you make a wiring error or your probe slips. This is especially true of 1N4007, which is definitely not an SMT device, and is good for one amp continuous current. | ||
| |