Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


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

Reply
 
LinkBack Thread Tools Display Modes
Old 1st March 2006, 09:51 PM   (permalink)
Default OR gates

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 :=-
mstechca is offline  
Old 1st March 2006, 10:15 PM   (permalink)
Default

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
justDIY is offline  
Old 1st March 2006, 11:56 PM   (permalink)
Default

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:
__________________
Ron

Roff is offline  
Old 2nd March 2006, 12:53 AM   (permalink)
Default

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"
bryan1 is offline  
Old 2nd March 2006, 02:36 AM   (permalink)
Default

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
ljcox is offline  
Old 2nd March 2006, 04:02 AM   (permalink)
Default

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.
Dean Huster is offline  
Old 2nd March 2006, 04:26 AM   (permalink)
Default

Quote:
Originally Posted by Dean Huster
The only advantage [...] a HIGH of +800v with no problem at all ...
jeeze Dean, you almost made me fall from my seat laughing with that one

i've heard of high voltage eprom before ... but 800v! :P
justDIY is offline  
Old 4th March 2006, 02:27 PM   (permalink)
Default

Quote:
HIGH of +800v
LOL :lol:

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 :=-
mstechca is offline  
Old 4th March 2006, 02:30 PM   (permalink)
Default

Quote:
Originally Posted by bryan1
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
Look at the link. Look at the 3rd paragraph in the article.

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 :=-
mstechca is offline  
Old 4th March 2006, 10:52 PM   (permalink)
Default

Quote:
Originally Posted by mstechca
Quote:
Originally Posted by bryan1
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
Look at the link. Look at the 3rd paragraph in the article.

Do you think I'm going to spend $300+ on one programmer when I could make one myself for under $50?
But thanks for the suggestion Bryan1.
__________________
Len
ljcox is offline  
Old 4th March 2006, 10:56 PM   (permalink)
Default

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?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 4th March 2006, 11:38 PM   (permalink)
Default

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.
__________________
The most-hated young engineer in America.
* AVR Projects
* Robot War: TI
* About
DigiTan is offline  
Old 5th March 2006, 01:15 AM   (permalink)
Default

Quote:
Originally Posted by DigiTan
Just make sure all your diodes can safely dissipate the power they're going to take in.
I hope you're joking. :shock:
__________________
Ron

Roff is offline  
Old 5th March 2006, 01:24 AM   (permalink)
Default

In general. SMTs can melt faster than a slug in a salt mine.
__________________
The most-hated young engineer in America.
* AVR Projects
* Robot War: TI
* About
DigiTan is offline  
Old 5th March 2006, 03:34 AM   (permalink)
Default

Quote:
Originally Posted by DigiTan
In general. SMTs can melt faster than a slug in a salt mine.
:lol:
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.
__________________
Ron

Roff is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 10:25 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker