How to make a Logic Circuit with 5 LEDs and a 3V battery? Nothing else allow

Click For Summary

Discussion Overview

The discussion revolves around constructing a logic circuit using only 5 LEDs and a 3V battery, focusing on the implementation of basic logic gates such as AND, OR, or NOT. Participants explore the limitations and possibilities of using LEDs in this context, considering both theoretical and practical aspects.

Discussion Character

  • Homework-related
  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant expresses difficulty in using LEDs as diodes for constructing the logic circuit.
  • Another participant inquires about the logic levels being used, specifically asking for simple level 1 logic like AND or OR.
  • A suggestion is made to create a 2-input OR gate using 2 diodes and an LED, with the option to specify LED colors.
  • Discussion includes the possibility of using two RED LEDs in series with a 3V battery, where one LED acts as a diode and the other indicates the output state.
  • Participants discuss defining logic levels in terms of current rather than voltage, proposing a flexible interpretation of the assignment.
  • One participant introduces the concept of "open-collector" gates, suggesting that if input signal current capabilities are flexible, it may allow for the construction of logic gates with a single LED.
  • There is mention of how the representation of input states can affect the design of the logic circuit.

Areas of Agreement / Disagreement

Participants express various ideas and suggestions, but no consensus is reached on a definitive method for constructing the logic circuit. Multiple competing views and approaches remain present in the discussion.

Contextual Notes

Participants note the limitations imposed by the assignment, including the specific materials allowed and the voltage constraints. There is also uncertainty regarding the definitions of logic levels and how they can be represented in this context.

Sahil#
Messages
2
Reaction score
0

Homework Statement



We can't use anything else, and just have to make a logic circuit (either OR, AND or NOT) with just this material. We can use less or more diodes but I have only 5.

Homework Equations





The Attempt at a Solution


I tried setting it up like doides but no help at all. I thought LEDs would function same as diodes but it didn't.
 
Physics news on Phys.org
What logic levels did you use?
 
CWatters said:
What logic levels did you use?
I just need a simple level 1 logic. Like simple AND or OR.
And I can't use that switch equivalent.
 
If you were asked to make a 2 input OR gate, could you make one with 2 diodes and a LED?

You can specify which colour LEDs you are going to use.
 
Sahil# said:
I just need a simple level 1 logic. Like simple AND or OR.
And I can't use that switch equivalent.

I meant what voltages :-)

Have a look at the I/V curve of various LEDs and compare with diodes.
 
The question specifies a 3 volt battery, but two RED LEDs can run in series off a 3 volt battery. One could function as a diode and the other as a LED showing the output state.

Remember the truth table for an OR gate.
 
Anything to stop you defining a logic 1 as a 10mA current rather than a voltage :-)
 
If the assignment is flexible regarding the current capability on the input signal(s), then I suggest researching a little about "open-collector" gates, as a starting point.

Normally, we're accustomed to logic gates having voltage rails that are separate from the inputs and outputs; and normally inputs have very high input impedance, and outputs have low impedance. But you might want to ignore that for this exercise. If impedance/current requirements are laxed, than this is separation is not always necessary.

As a matter of fact, it is possible to build at least one of your logic gates with a single LED*, using this open-collector [like] scheme. (Following the same idea with the emitter will create yet a different type of gate.) You may not be able to build all types of logic gates with just LEDs alone, but you can build at least a couple of them.

*(If the output state is indicated by the LED lighting up or not)

I'll let you figure out how many types can be built.

[Edit: It also can make a big difference depending on what your inputs representations are. For example, if input state '1' is represented by Vcc; and input '0' by "no-connection" allows for different opportunities than '1' being Vcc and '0' being GND (0 V).]
 
Last edited:

Similar threads

  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 26 ·
Replies
26
Views
5K
Replies
34
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K