Thursday, 25 April 2019

digital logic - Can you use diodes instead of OR gate?


I am building a computer and thought if I could simply use diodes instead of OR gates. Will this work with logic ICs such as the 74LS, 74HC and 75HCT series?


Sorry if this is a stupid question, I am new to electronics.



Something like this



Answer



There is a really cool trick that you can use under specific conditions that allows you to build a 2-input OR gate or AND gate using only 1 diode and 1 resistor.


The conditions are:


1) The circuit is low speed.


2) The load impedance is high, such as a CMOS input.


schematic


simulate this circuit – Schematic created using CircuitLab


This can be expanded to as many inputs as needed by adding more diodes.


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...