Microcontroller › AVR › Need coding for Boolean Algebra Calculator
- This topic has 2 replies, 2 voices, and was last updated 10 years, 6 months ago by Kalyani Joshi.
-
AuthorPosts
-
March 4, 2014 at 4:34 pm #4852Kalyani JoshiParticipant
I’m working on a project- Boolean Algebra Calculator. I’m not able to write the code for it.
Can anyone please help me over it??
Details of the project are mentioned below.
In our circuit, we use Boolean algebra simplification methods like the Quine-McCluskey algorithm to simplify the Boolean expression and display the output on the display. It works as a portable calculator to simplify the Boolean expression on the fly
Circuit Schematic:
This circuit is a simple 3 variable Boolean expression minimizer.In this the microcontroller plays a major role, it consists of code to implement the described algorithm as well as controlls other components in the circuit.
Initially when the power is switched on an LED will glow which indicates that the microcontroller is ready to take the input. Here the input boolean expression is given in SOP form, i.e only min-terms are to be entered through the keypad provided.
The keypad consists of 9 switches of which 8 switches corresponds to one min-term each and the 9th one is used as next button.After entering the expression the input indicating LED will go OFF, now based on the algorithm microcontroller reduces the expression and the input representing LED glows which means that the expression has been minimized and is displayed.
The display consists of 3 Bi-color LED’s in which Green Light represents the variables in normal form and the rest Red Light represents the variables in the complemented form, the order of them is as shown in the circuit diagram.
The output is displayed as one min-term at a time, next min-term is displayed by pressing the next button and after reaching the last min-term of the reduced expression the input indicating LED is switched OFF which represents end of the output. After few seconds it is again switched ON automatically when microcontroller is ready to take the next input.
March 5, 2014 at 7:27 am #11203AJISH ALFREDParticipantHi Kalyani,
“it uses the Quine McCluskey algorithm which was described in the chapter 1”
Chapter 1?
I guess guess you refered the circuit from some text book or website. Do you have the code also but having trouble to make it working? If it is so would suggest to post the code also so that we can point out the mistakes.
March 5, 2014 at 4:03 pm #11206Kalyani JoshiParticipantI’m really sorry for posting such blunder mistake.
Actually I’m not able to write the code at all.
-
AuthorPosts
- You must be logged in to reply to this topic.