Lab 13

You might also like

You are on page 1of 6

Experiment No.

13

Open Ended Lab


(Rubrics)

Name: _______________ Roll No. : ____________________

A. PSYCHOMOTOR

Sr. Criteria Allocate Unacceptable Poor Fair Good Excellent Total


No. d Marks Obtained
0% 25% 50% 75% 100%
1 Program Coding 1 0 0.25 5 0.75 1
Skills
2 Software Use 2 0 0.5 1 1.5 2

3 Simulations 1 0 0.25 0.5 0.75 1

4 Equipment 2 0 0.5 1 1.5 2


Handling
Sub Total 6 Sub Total Marks Obtained in Psychomotor (P)

B. AFFECTIVE
Sr. Criteria Allocated Unacceptable Poor Fair Good Excellent Total
No. Marks Obtained
0% 25% 50% 75% 100%
2 Respond to 2 0 0.5 1 1.5 2
Questions
3 Lab Report 1 0 0.25 0.5 0.75 1

4 Assigned Home 1 0 0.25 0.5 0.75 1


Task
Sub Total 4 Sub Total Marks Obtained in Affective (A)

Instructor Name: ____________________________ Total Marks (P+A): _____________________

Instructor Signature: ________________________ Obtained Marks (P+A): _________________


Microprocessor Based Systems Lab 13

Experiment No. 13

Open Ended Lab.

Objective:

 To understand interfacing of basic level sensors and LCD using advanced microcontrollers.

Apparatus Required:

 Arduino board.
 Arduino Controller.
 Potentiometer.
 Computer System.

Software Required:

 Arduino Software
 Proteus Professional 8

Theory:

Example:

void setup() {

Serial.begin(9600);
}

void loop() {
int sensorValue = analogRead(A0);
Serial.println(sensorValue);
delay(1);
}

Figure 13.1
Microprocessor Based Systems Lab 13

Step Size = (5 / 2RESOLUTION BITS )


Analog Values = Digital Values * Step Size

Procedure:

1. Write program in Arduino software according to the steps discussed.


2. Run the program in software and remove the errors (if any).
3. Make the required Circuit in Proteus Professional 8. Upload the code file in Proteus and
observe results.
4. Upload the same file in Arduino using software and observe the results.
Microprocessor Based Systems Lab 13

Lab Tasks:

1. Connect Potentiometer (Variable Resistor) with A0 pin of Arduino. Run the code and
observe output.

2. Connect Potentiometer (Variable Resistor) with A0 pin of Arduino. Change the code to
display actual analog voltages applied on A0 (0 to 5 volts) instead of Digital Values (0 to
1023) on LCD by using given formulas.
Microprocessor Based Systems Lab 13

Home Tasks:
1. Connect Potentiometer (Variable Resistor) with A0 pin of Arduino. Change the code to
display actual analog voltages applied on A0 (0 to 5 volts) instead of Digital Values (0 to
1023) by using given formulas. Show both analogue and digital value on LCD.
Microprocessor Based Systems Lab 13

Conclusion:

__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________

You might also like