- Back to Home »
- Binary to decimal conversion using 8051 »
- Binary to decimal conversion using 8051
This is the circuit diagram of binary to decimal conversion using 8051 microcontroller. Result will be displayed on LCD. We can enter binary number of 4 digit to get the result in decimal. I have connected two switches with the pin p2.0 and p2.1.
You are required to know about LCD and keypad interfacing. When we press the first switch that is connected to p2.0 then 0 will be displayed on LCD and when we press the switch connected to P2.1 then 1 will be displayed on LCD.
We just have to enter the 4 binary digit, then result will be automatically displayed on LCD.
CLICK HERE TO SEE THE ASSEMBLY LANGUAGE PROGRAM