Boolean algebra is the branch of mathematics that includes methods for manipulating logical variables and logical expressions. It performs the logical operations such as AND, OR, NAND, NOR, NOT and X-OR. The Boolean values are represented by using logic values 0 and 1. The basic laws used in Boolean algebra are commutative law, associate law, distributive law, identity law and redundance law. So the Boolean algebra calculator is used to perform the logical operations such as conjunction, disjunction, implication and equality. These operations can be stated in the following ways:

The application of the Boolean algebra is same as an electric switch state that can be either: in, on, or off mode, and these states can be represented by the logic values ‘1’ or ‘0’. The truth table can also be developed with the use of connectives.

Boolean algebra simplification calculator is an advanced calculator that immediately gives the result in the form of a math expression by performing the operations, such as multiplication, addition, etc., and, it also simplifies the fraction. The Boolean calculators are free to use and are the most compatible with any computer compared to a regular calculator.

## Boolean Algebra Calculator Circuit

The operation of this Boolean algebra simplifier calculator consists of different blocks such as power supply, microcontroller, LED display and keypad.

**Power Supply Unit:** The device that supplies electrical energy to one or more loads is known as power supply, and – in the same way, it converts other forms of energy like mechanical, chemical, solar energy into electrical energy. In this project, the power supply is about 5V, and it is given to the microcontroller, keypad and display.

**Micro Controller:** Microcontroller reads the data from the keypad and sends it to the display unit. Here, the microcontroller acts as the brain of the project, which is programmed in keil software.

**Display and Numeric Keypad:** The LED display used here is 3-bi-colors LED that displays the glowing pattern of the desired minimized expression. So, these Bi colors represent the normal and complements of the variables. Like switches, the keypad in this project – which gives the min terms as input, i.e., each digit on the keypad – corresponds to each min term.

This is a low-cost, low-power, portable, reliable and fast performing calculator that is built by the simple available component in the market like resistors, keypad, LEDs and microcontroller as shown in the figure.

### Operation

The circuit is a simple three-variable minimizer that uses the Quine MC Cluskey algorithm and finds minimum sum of products by implementing Boolean functions. Boolean algebra calculator simplifies the logic functions and Boolean expressions by using the laws and theorems that are implemented on this algorithm. The microcontroller plays a major role in this project which is coded with this algorithm and controls the other components used in the circuit.

When the power is switched on, the LED glows indicating that the microcontroller is ready to take the inputs as min terms provided by the keypad, and these Boolean expressions are given in the SOP (Sum of Products) form.

Here, we are using 9 switches on the keypad, among them, 8 switches correspond to minterms that performs the product operation, and the 9th switch is used as the next button. After entering the expression, the LED gets off, and the microcontroller reduces the minterm expression, based on the algorithm; and then, the input LED glows which means that the expression is minimized, and it gets displayed.

The output is displayed as one min-term at one time, and the next min term is displayed by pressing the next button, so after reaching the last min term, the expression gets reduced, and the input LED switches off which indicates that the output gets ended. After that, the LED automatically switches on indicating the microcontroller is ready to take the next input.

### Boolean algebra Simplification Examples

For better understanding of this concept, here, we are giving some Boolean algebra simplification examples.

**Example 1**

From the logic diagram, truth table expression is simplified by using De Morgan theorem. Here, this original form that involves the sum of products and common factors is eliminated by using the single variable theorems.

**Example 2**

The above diagram comprises two NAND and two OR gates that form the equation as AB + BC (B+C) as shown in the figure. By applying the identity rule and factorization final, the expression gets simplified to a simple form.

### Applications of Boolean algebra

Boolean algebra can be applied to any system in which each variable has two states: ‘1’ and ‘0’

**1.Two Floor Elevators**

This is the application of Boolean algebra that performs the Boolean operations in the circuit for opening and closing a door or moving up or down the elevators. To perform these operations, three inputs are needed in the first floor and the second floors. Therefore, pushing the button represents 1, otherwise zero, and these buttons are placed in the elevator both inside as well as outside. By implementing the Boolean algebra operations in the main controller, the elevator can perform the desired operation.

**2. Simple Vending Machine**

The Boolean algebra can be applied for implementing simple vending machine wherein the selection of Coffee, Tea and milk options is based on customer choice. The pressing of buttons corresponds to the logic 1 otherwise logic zero. So, based on the given inputs, the logical operations are performed and the output is obtained.

**Photo Credits**

- Boolean algebra Calculator Circuit by ggpht
- Display and numeric keypad by blogspot
- Boolean algebra simplification Example-1 by hyperphysics
- Boolean algebra simplification example -2 by allaboutcircuits
- Boolean algebra simplification example -2 by allaboutcircuits

Nallathmbi Thangam says

Mr.tarun agarwal thank you for sharing the wonder full project…I working on the project form my college event ..so I need full details about the input,output display and microcontroller program for the boolean algebra calculator….pls….send the details to my mail is: rahulsegannpaul@yahoo.com

Thank you..

Tarun Agarwal says

Hi Nallathmbi Thangam,

This is yet to be available as a kit. Not now.

Please check our new wonderful and user friendly website http://www.edgefxkits.com for all the details.

Please get back to us at info@edgefxkits.in or call the undersigned on 0 99591 78000 or our toll free no. 1800 108 7475 for clarifications/personal counseling.

Thanks and Regards

Suvarna

Mobile: +91 9959178000

kunal rughe says

please send me microcontroler program for boolean algebra calculator to

kunal61294@rediffmail.com

Tarun Agarwal says

Hi Kunal,

Please check the user friendly website http://www.edgefxkits.com to see if anything near your requirements can be met.

Raji (Mobile: +91 9959178000)

sana says

Thankyou for introducing the new project on Boolean Algebra Calculator.I need full details about this project including microcontroller program as i want to implement this project.So,i request you to send all the details to my mail id.

Thank you..

Tarun Agarwal says

Hi Sana,

Please check the user friendly website http://www.edgefxkits.com to see if anything near your requirements can be met.

Raji (Mobile: +91 9959178000)

diya says

plz give me complete details of boolean algebra calculator& how to make it ?? ……thanks you

Tarun Agarwal says

Hi Divya,

Sorry we do not have your project. Please check the user friendly website http://www.edgefxkits.com to see if anything near your requirements can be met.

Raji (Mobile: +91 9959178000)

kunal says

please provide me program for this project,, i checked all the sites also http://www.edgefxkits.com but i get nothing,, due to unavalibility of program my project is pending so please provide me it on email id,,

kunal61294@rediffmail.com

Tarun Agarwal says

Hi Kunal,

Sorry we do not have your project at present, though it is a good idea. We have numerous projects on Electronics and Electrical,Please check the user friendly website http://www.edgefxkits.com to see if anything near your requirements can be met.

Raji (Mobile: +91 9959178000)

vishu says

please send me microcontroler program for boolean algebra calculator to in “vishu.mgm@gmail.com”

Tarun Agarwal says

Hi Vishnu,

Sorry we do not have your project. Please check the user friendly website http://www.edgefxkits.com to see if anything near your requirements can be met.

Raji (Mobile: +91 9959178000)

Sonika says

Can you please send me coding of micro controller for minimization of 3 variables to my mail sonikasuhana555@gmail.com

Tarun Agarwal says

Hi Sonika,

Sorry we do not have your project. Please check the user friendly website http://www.edgefxkits.com to see if anything near your requirements can be met.

Raji (Mobile: +91 9959178000)

Tarun Agarwal says

Hi Sonika,

Please check the user friendly website http://www.edgefxkits.com for complete details in the kit content section and go through the FAQ for details.

Raji (Mobile: +91 9959178000)

UTTARA KULKARNI says

heyy… thanks for giving such a nice idea… please can you give me some additional information about basics of coding and details about project… pleaseeeeee…………….

Tarun Agarwal says

Hi Uttara Kulkarni,

Click the below links for help:

http://www.edgefxkits.com/secret-code-enabled-secure-communication-using-rf-technology

http://www.edgefxkits.com/unique-office-communication-system-using-rf

You can download project abstract and seminar presentation also from the links . Please check the user friendly website for complete details in the kit content section and go through the FAQ for details. Please call the toll free no. 1800 108 7475 for clarifications/personal counseling.

Raji (Mobile: +91 9959178000)

Suraj Bhan Singh says

can you please mail me the program code for this project in this email ID….surajbhansingh1910@gmail.com…..Thankyou

Tarun Agarwal says

Hi Suraj, Sorry we do not have your project. Please check the user friendly website http://www.edgefxkits.com to see if anything near your requirements can be met. Please check the website for complete details in the kit content section: http://www.edgefxkits.com/kitdetails/ and go through the FAQ: http://www.edgefxkits.com/contact-us/#faq. Further if you have any queries you can call us on the toll free no. 1800 108 7475 for clarifications/personal counseling. Raji (Mobile: +91 9959178000)

jishnu says

pls anyone send the program code for this mini project……pls reply @nvjishnu@gmail.com..

plsss….pllssss….becoz,i want to do this topic as mini project…

Tarun Agarwal says

Hi Jishnu, Sorry we do not have your project. Please check the user friendly website http://www.edgefxkits.com for project ideas on all the latest technologies. You can download project abstract and seminar presentation also from the website. Please check the website for complete details in the kit content section: http://www.edgefxkits.com/kitdetails/ and go through the FAQ: http://www.edgefxkits.com/contact-us/#faq. Further if you have any queries you can call us on the toll free no. 1800 108 7475 for clarifications/personal counseling. Niveditha (Mobile: +91 9959178000)

NANDHINI P says

can you please send me the code for this project.

Tarun Agarwal says

Hi Nandhini,

Please visit our website once: http://www.edgefxkits.com

And also,Can we know the title of your project?

And also,we will be providing you the code,circuit diagram,etc when you purchase the project.

For more details please contact Mr.Tarun Agarwal on +91-9908208883.

Deepika G says

i want coding on related project

Tarun Agarwal says

Hi Deepika,

Yes,we providing the code ,once if you get purchase the project and also let we know the title of your project?

And also,

Once you purchase the kit then you would be getting circuit diagram, components, kit, PpT’s, project report,programming, coding and all the relevant documents in CD along with our guidance.

Meanwhile,we suggest you to please go through our website once: http://www.edgefxkits.com/

For more details please contact Niranjan on +91-9959178000.

Math problem solver says

Peculiar article, just what I wanted to find.

Tarun Agarwal says

Hi

Thank you so much for your feedback

And once again, please visit our domestic website http://www.edgefxkits.com/

For more details please contact Mr. Sathish on +91 8885507011 or you can email us at info@edgefxkits.in

ash says

can u please tell us where is the code for this type of calculator -_-

Tarun Agarwal says

Hi ashwith

the code was written in c language.