Analog-to-Digital Converter
Click View Circuit Diagram to see how the 8051 and LEDs are connected in the logic diagram and block diagram.
Click View Assembly Code to analyse the assembly code used for this experiment.
According to your analysis, write your code in the Assembly Code Editor.
Click Check Code to verify your program against the given code.
(a) If correct → a success message will appear and Start Simulation will be enabled.
(b) If incorrect → you’ll be asked to review and correct your program.(Optional) You can directly copy code into the editor by clicking on Use Code in the View Assembly Code popup.
After validation, move the Analog Input slider and click Convert to convert the analog input to digital output.
Observe the equivalent output on the 7-segment displays. You can move the slider and click Convert for other values as well.
If you want to save your program, click Download Code. It will be stored as
adc_code.asm.Click Reset to clear the editor and reset everything to default.