0% found this document useful (0 votes)
30 views1 page

Objective

We created a new project in MPLAB IDE to convert a digital input to an analog output by writing code for analog conversion that selects a microcontroller channel. The code was developed, simulated, and tested on a logic analyzer and in Proteus. Then, the hex file was downloaded to the microcontroller which was connected to hardware via a computer's hyperterminal after making signal conditioning connections. Observations showed the digital output was converted to analog, and we concluded MPLAB helped control a stepper motor while the digital to analog conversion was demonstrated.

Uploaded by

inayat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views1 page

Objective

We created a new project in MPLAB IDE to convert a digital input to an analog output by writing code for analog conversion that selects a microcontroller channel. The code was developed, simulated, and tested on a logic analyzer and in Proteus. Then, the hex file was downloaded to the microcontroller which was connected to hardware via a computer's hyperterminal after making signal conditioning connections. Observations showed the digital output was converted to analog, and we concluded MPLAB helped control a stepper motor while the digital to analog conversion was demonstrated.

Uploaded by

inayat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Objective

DAC

Procedure

Create new project using MPLAB IDE


Our task is to convert the digital input to analogue output.
Then we write a code for analogue conversion.
In code we select the channel in the microcontroller.
Develop the code, simulate it and demonstrate its working.
Then we check the working of code in logic analyzer
Then we verify it in the proteous.
Download the code in micro controller using hex file
Then using hyper terminal connect the hardware with the

our computer
Then we made hardware connections using signal
conditioning

Observations
Digital output is converted into analogue output.

Conclusion
MPLAB is very useful software through which we can control
the stepper motor and demonstrate its working in logic
analyzer.
We convert the digital input to analogue output

You might also like