X = FGH(E*(D*(C + B + A) + B*(C + A) + AC) + CD*(B + A) + AB*(D + C)) + E*(FG + FH + GH)(CD*(B + A) + AB*(D + C)) + ABCD*((F + G)*(E + H) + EH + FG)
How do we maintain (or at least make it visible to those people have blurry eyes) the brightness of the LED after passing onto that ckt equation?
Above is my circuit equation that I need to create using Logic Gates. We will be using this as an improvised sensor for our project. Each variable is connected again to another variable 2 which are ANDed. All in all, we will be using 16 variables, each connected to external switches.
My problem is that we need an indicator to display the output. If the circuit equation falls on 1, the LED should light up. Unfortunately, we were not able to maintain the brightness of the LED. We are using the voltage supply from Arduino.
P.S. I am not sure either if I posted in the correct section. Move the thread if deemed appropriate.
guuwey:
My problem is that we need an indicator to display the output. If the circuit equation falls on 1, the LED should light up. Unfortunately, we were not able to maintain the brightness of the LED. We are using the voltage supply from Arduino.
Hmm, what do you mean? I stopped with the circuit since 1) the light of LED was too dim to be seen easily by me, and 2) my circuit all of a sudden messed up. For code, I don't use any code for it. I merely use Arduino for voltage supply (I will use Arduino for other parts of the project). For the specification, I don't know but this one does fit well. LED - Basic Red 5mm - COM-09590 - SparkFun Electronics
I don't use any code for it. I merely use Arduino for voltage supply
So why are you posting on an Arduino forum.
If you wire that logic expression with gates then simply put a resistor and LED on the output. It will either be on or off as is the nature with digital circuits.
How do we maintain (or at least make it visible to those people have blurry eyes) the brightness of the LED after passing onto that ckt equation?
I have no idea what these words mean, would you like to have another shot at explaining it.
As you notice, the intensity of the light of the two picture is different. The picture at the left is LED connected directly to the Arduino while the second have several logic gates already. As I continue with the logic equation, the brightness slowly fades away. I want to maintain at least the same brightness as the picture at the right.
Then before you go any further put one in. You are killing both the LED and what is driving it.
Read this:- http://www.thebox.myzen.co.uk/Tutorial/LEDs.html
It is probably the root of your problem.
Still no idea what you are on about, please supply a schematic if you can not use words.
I will eventually use the output of that circuit in the Arduino. Arduino is the brain of our project. I suppose that would be fine?
It will be fine when you get to that point but at the moment you are pushing it, especially with the total lack of information you are prepared to give. We can only go off what you tell us and if you chose to tell us only part of a tale we can only give you part of an answer.
It was just my assumption that the signal does not propagate from the inputs to the output. I was just paranoid. Anyway, thank you for the replies. From now on, I'll start using resistors with LEDs.