diff --git a/README.md b/README.md
index 6bcc731..d8dbdd6 100644
--- a/README.md
+++ b/README.md
@@ -1,24 +1,25 @@
## Introduction
-Discipline | Fill your discipline name here
+Discipline | Electronics and Communication and Engineering
:--|:--|
- Lab | Fill your lab name here
- Experiment| Fill your experiment name and number here
+ Lab | Analog Electronics Circuits Virtual Laboratory
+ Experiment| Digital to analog converter
### About the Experiment
-Fill a brief description of this experiment here
-
-Name of Developer | Fill the name of experiment owner here
+### Project Principal Investigator
+Name | **Prof. C.S.Kumar**
:--|:--|
- Institute |
- Email id|
- Department |
+ Institute | **Indian Institute of Technology Kharagpur**
+ Email id| **kumar@mech.iitkgp.ac.in**
+ Department | **Department of Mechanical Engineering**
+Webpage| [http://facweb.iitkgp.ac.in/~cskumar/](http://facweb.iitkgp.ac.in/~cskumar/)
+
### Contributors List
-SrNo | Name | Faculty or Student | Department| Institute | Email id
+SrNo | Name | Developer and Integration Engineer | Department| Institute | Email id
:--|:--|:--|:--|:--|:--|
-1 | . | . | . | . | .
-2 | . | . | . | . | .
+1 | **Sukriti Dhang** | Developer | Department of Mechanical Engineering | IIT Kharagpur | sukritid05@gmail.com |
+2 | **Prakriti Dhang** | Integration | Department of Mechanical Engineering | IIT Kharagpur | prakritidhang05@gmail.com |
diff --git a/experiment/aim.md b/experiment/aim.md
index 4bc1c54..11cca52 100644
--- a/experiment/aim.md
+++ b/experiment/aim.md
@@ -1 +1,4 @@
-### Aim of the experiment
+## Aim of the experiment
+
+1. To perform Digital to Analog Conveter
+2. To observe and plot the Output Voltage.
\ No newline at end of file
diff --git a/experiment/contributors.md b/experiment/contributors.md
index 43e714a..03f2ae6 100644
--- a/experiment/contributors.md
+++ b/experiment/contributors.md
@@ -1,11 +1,15 @@
-EMPTY
-
-### Subject Matter Experts
-| SNo. | Name | Email | Institute | ID |
-| :---: | :---: | :---: | :---: | :---: |
-| 1 | name | email | institute | id |
+## Project Principal Investigator
+Name | **Prof. C.S.Kumar**
+:--|:--|
+ Institute | **Indian Institute of Technology Kharagpur**
+ Email id| **kumar@mech.iitkgp.ac.in**
+ Department | **Department of Mechanical Engineering**
+Webpage| [http://facweb.iitkgp.ac.in/~cskumar/](http://facweb.iitkgp.ac.in/~cskumar/)
-### Developers
-| SNo. | Name | Email | Institute | ID |
-| :---: | :---: | :---: | :---: | :---: |
-| 1 | name | email | institute | id |
\ No newline at end of file
+
+## Contributors List
+
+SrNo | Name | Developer and Integration Engineer | Department| Institute | Email id
+:--|:--|:--|:--|:--|:--|
+1 | **Sukriti Dhang** | Developer | Department of Mechanical Engineering | IIT Kharagpur | sukritid05@gmail.com |
+2 | **Prakriti Dhang** | Integration | Department of Mechanical Engineering | IIT Kharagpur | prakritidhang05@gmail.com |
diff --git a/experiment/experiment-name.md b/experiment/experiment-name.md
index b0d364b..3af2185 100644
--- a/experiment/experiment-name.md
+++ b/experiment/experiment-name.md
@@ -1 +1 @@
-## Experiment name
+## Digital to analog converter
\ No newline at end of file
diff --git a/experiment/posttest.json b/experiment/posttest.json
index e0e6fc2..73f9d91 100644
--- a/experiment/posttest.json
+++ b/experiment/posttest.json
@@ -2,37 +2,62 @@
"version": 2.0,
"questions": [
{
- "question": "This is a Sample Question 1?",
+ "question": "A DAC converts an digital input signal to a analog output.",
"answers": {
- "a": "answer1",
- "b": "answer2",
- "c": "answer3",
- "d": "answer4"
+ "a": "True",
+ "b": "False"
+
},
- "explanations": {
- "a": "Explanation 1 here",
- "b": "Explanation 2",
- "c": "Explanation 2",
- "d": "Explanation 2"
+
+ "correctAnswer": "a",
+ "difficulty": "beginner"
+ },
+ {
+ "question": "The equivalent weight of LSB in a four-bit variable resistive divider D/A converter is",
+ "answers": {
+ "a": "1/16",
+ "b": "1/15",
+ "c": "1/8",
+ "d": "8/15"
+ },
+
+ "correctAnswer": "b",
+ "difficulty": "beginner"
+ },
+ {
+ "question": "What is used to represent the signed magnitude?",
+ "answers": {
+ "a": "MSB",
+ "b": "LSB",
+ "c": "None of the above"
+
},
+
"correctAnswer": "a",
"difficulty": "beginner"
},
{
- "question": "This is a Sample Question 2?",
+ "question": "Determine the resolution and full scale output of 4-bit weighted resistor DAC with a reference of 10 volts.",
"answers": {
- "a": "answer1",
- "b": "answer2",
- "c": "answer3",
- "d": "answer4"
+ "a": "Resolution=1.25 V, Full scale voltage=18.75 V",
+ "b": " Resolution=2.5 V, Full scale voltage=18.75 V",
+ "c": "Resolution=5 V, Full scale voltage=18.25 V",
+ "d": "Resolution=2.5, Full scale voltage=18.75 V"
},
- "explanations": {
- "a": "Explanation 1 here",
- "b": "Explanation 2",
- "c": "Explanation 2",
- "d": "Explanation 2"
+
+ "correctAnswer": "a",
+ "difficulty": "beginner"
+ },
+ {
+ "question": "A 4-bit R/2R digital-to-analog (DAC) converter has a reference of 5 volts. What is the analog output for the input code (B3, B2, B1, B0) = 0010.",
+ "answers": {
+ "a": "0.625",
+ "b": "0.765",
+ "c": "0.938",
+ "d": "-0.938"
},
- "correctAnswer": "c",
+
+ "correctAnswer": "a",
"difficulty": "beginner"
}
]
diff --git a/experiment/pretest.json b/experiment/pretest.json
index e0e6fc2..34cf8ac 100644
--- a/experiment/pretest.json
+++ b/experiment/pretest.json
@@ -2,38 +2,63 @@
"version": 2.0,
"questions": [
{
- "question": "This is a Sample Question 1?",
+ "question": "Analog signals have continuous electrical signals.",
"answers": {
- "a": "answer1",
- "b": "answer2",
- "c": "answer3",
- "d": "answer4"
+ "a": "False",
+ "b": "True"
+
},
- "explanations": {
- "a": "Explanation 1 here",
- "b": "Explanation 2",
- "c": "Explanation 2",
- "d": "Explanation 2"
- },
- "correctAnswer": "a",
+
+ "correctAnswer": "b",
"difficulty": "beginner"
},
{
- "question": "This is a Sample Question 2?",
+ "question": "Analog signal is represented by ___________",
"answers": {
- "a": "answer1",
- "b": "answer2",
- "c": "answer3",
- "d": "answer4"
+ "a": "Square Wave",
+ "b": "Triangle Wave",
+ "c": "Sine Wave"
+
},
- "explanations": {
- "a": "Explanation 1 here",
- "b": "Explanation 2",
- "c": "Explanation 2",
- "d": "Explanation 2"
+
+ "correctAnswer": "c",
+ "difficulty": "beginner"
+ },
+ {
+ "question": "A 4-bit R/2R digital-to-analog (DAC) converter has a reference of 5 volts. What is the analog output for the input code (B3, B2, B1, B0) = 0011.",
+ "answers": {
+ "a": "9.125",
+ "b": "0.765",
+ "c": "0.938",
+ "d": " -0.938"
},
+
"correctAnswer": "c",
"difficulty": "beginner"
+ },
+ {
+ "question": "Determine the resolution and full scale output of 4-bit weighted resistor DAC with a reference of 10 volts.",
+ "answers": {
+ "a": "Resolution=1.25 V, Full scale voltage=18.75 V",
+ "b": "Resolution=2.5 V, Full scale voltage=18.75 V",
+ "c": "Resolution=5 V, Full scale voltage=18.25 V",
+ "d": "Resolution=2.5, Full scale voltage=18.75 V"
+ },
+
+ "correctAnswer": "a",
+ "difficulty": "beginner"
+ },
+ {
+ "question": "The two ways of representing the 0 with signed magnitude representation is",
+ "answers": {
+ "a": "+0 and +0",
+ "b": "-0 and +0",
+ "c": "-0 and -0",
+ "d": "None of the above"
+ },
+
+ "correctAnswer": "b",
+ "difficulty": "beginner"
}
]
}
diff --git a/experiment/procedure.md b/experiment/procedure.md
index 37929cc..fb90a10 100644
--- a/experiment/procedure.md
+++ b/experiment/procedure.md
@@ -1 +1,59 @@
-### Procedure
\ No newline at end of file
+## Procedure
+
+- **3 bit Binary Weighted Resistors**
+1. Connect the components as mentioned below:
+L1-L5, L4-L6, L3-L5.(For eg. click on 1 and then drag to 5 and so on.)
+2. Click on 'Check Connection' button to check the connections.
+3. If connected wrong, click on the wrong connection. Else click on 'Delete all connection' button to erase all the connections.
+4. Set the Resistance (R) value (1 Kohm - 10 Kohm).
+5. Set the Feedback Resistance (Rf) value same as the Resistance (R) .
+6. Set input voltage (Vin).
+7. The IC is given proper bias of +12V and -12V to VCC and VEE respectively.
+8. Intially B2B1B0 are set to 000.(B2B1B0 are 3 bit input)
+9. Now note the output voltage and click on 'Add to table' button.
+10. Change the B2B1B0 and note the output voltage and click on 'Add to table' button.
+11. Repeat the experiment for another set of resistance value.
+
+ 3 bit Binary Weighted Resistors 4 bit Binary Weighted Resistors 4 bit Binary Ladder
+
+
+
Think you're smart enough to be on Jeopardy? Find out with this super crazy knowledge quiz!
", - "results": "Learn More.
", - "level1": "Jeopardy Ready", - "level2": "Jeopardy Contender", - "level3": "Jeopardy Amateur", - "level4": "Jeopardy Newb", - "level5": "Stay in school, kid..." // no comma here - }, - "prequestions": [ - {// Question 1 - Multiple Choice, Single True Answer - "preq": " Analog signals have continuous electrical signals. ", - "prea": [ - {"option": "False", "correct": false}, - {"option": " True", "correct": true}// no comma here - ], - "correct": "", - "incorrect": "" // no comma here - }, - {// Question 2 - Multiple Choice, Multiple True Answers, Select Any - "preq": "Analog signal is represented by ___________", - "prea": [ - {"option": "Square Wave ", "correct":false}, - {"option": " Triangle Wave", "correct": false }, - {"option": " Sine Wave", "correct": true}//no comma here - ], - "correct": "", - "incorrect": "" // no comma here - }, - {// Question 3 - Multiple Choice, Single True Answer - "preq": " A 4-bit R/2R digital-to-analog (DAC) converter has a reference of 5 volts. What is the analog output for the input code (B3, B2, B1, B0) = 0011.", - "prea": [ - {"option": " 9.125", "correct": false}, - {"option": " 0.765", "correct": false}, - {"option": " 0.938", "correct": true}, - {"option": " -0.938", "correct": false},// no comma here - ], - "correct": "", - "incorrect": "" // no comma here - }, - {// Question 4 - Multiple Choice, Single True Answer - "preq": " Determine the resolution and full scale output of 4-bit weighted resistor DAC with a reference of 10 volts. ", - "prea": [ - {"option": " Resolution=1.25 V, Full scale voltage=18.75 V", "correct": true}, - {"option": " Resolution=2.5 V, Full scale voltage=18.75 V", "correct": false}, - {"option": " Resolution=5 V, Full scale voltage=18.25 V", "correct": false}, - {"option": " Resolution=2.5, Full scale voltage=18.75 V", "correct": false},// no comma here - ], - "correct": "", - "incorrect": "" // no comma here - }, - {// Question 4 - Multiple Choice, Single True Answer - "preq": " The two ways of representing the 0 with signed magnitude representation is", - "prea": [ - {"option": " +0 and +0", "correct": false}, - {"option": " -0 and +0 ", "correct": true}, - {"option": "-0 and -0", "correct": false}, - {"option": " None of the above", "correct": false},// no comma here - ], - "correct": "", - "incorrect": "" // no comma here - } - ] -}; diff --git a/experiment/simulation/simulation/js/quiz/vlab-quiz-data.js b/experiment/simulation/simulation/js/quiz/vlab-quiz-data.js deleted file mode 100644 index e9f3922..0000000 --- a/experiment/simulation/simulation/js/quiz/vlab-quiz-data.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. - */ - -var quizJSON = { - "info": { - "name": "Test Your Knowledge!!", - "main": "Think you're smart enough to be on Jeopardy? Find out with this super crazy knowledge quiz!
", - "results": "Learn More.
", - "level1": "Jeopardy Ready", - "level2": "Jeopardy Contender", - "level3": "Jeopardy Amateur", - "level4": "Jeopardy Newb", - "level5": "Stay in school, kid..." // no comma here - }, - "questions": [ - {// Question 1 - Multiple Choice, Single True Answer - "q": " A DAC converts an digital input signal to a analog output.", - "a": [ - {"option": "True", "correct": true}, - {"option": " False", "correct": false}// no comma here - ], - "correct": "", - "incorrect": "" // no comma here - }, - {// Question 2 - Multiple Choice, Multiple True Answers, Select Any - "q": " The equivalent weight of LSB in a four-bit variable resistive divider D/A converter is", - "a": [ - {"option": "1/16", "correct":false}, - {"option": " 1/15", "correct": true}, - {"option": " 1/8 ", "correct":false}, - {"option": " 8/15", "correct": false} // no comma here - ], - "correct": "", - "incorrect": "" // no comma here - }, - {// Question 3 - Multiple Choice, Single True Answer - "q": "What is used to represent the signed magnitude?", - "a": [ - {"option": "MSB", "correct": true}, - {"option": "LSB", "correct": false}, - {"option": " None of the above", "correct": false} // no comma here - ], - "correct": "", - "incorrect": "" // no comma here - - }, - {// Question 4 - Multiple Choice, Single True Answer - "q": " Determine the resolution and full scale output of 4-bit weighted resistor DAC with a reference of 10 volts. ", - "a": [ - {"option": " Resolution=1.25 V, Full scale voltage=18.75 V", "correct": true}, - {"option": " Resolution=2.5 V, Full scale voltage=18.75 V", "correct": false}, - {"option": " Resolution=5 V, Full scale voltage=18.25 V", "correct": false}, - {"option": " Resolution=2.5, Full scale voltage=18.75 V", "correct": false},// no comma here - ], - "correct": "", - "incorrect": "" // no comma here - - }, - {// Question 5 - Multiple Choice, Single True Answer - "q": " A 4-bit R/2R digital-to-analog (DAC) converter has a reference of 5 volts. What is the analog output for the input code (B3, B2, B1, B0) = 0010.", - "a": [ - {"option": " 0.625", "correct": true}, - {"option": " 0.765", "correct": false}, - {"option": " 0.938", "correct": false}, - {"option": " -0.938", "correct": false},// no comma here - ], - "correct": "", - "incorrect": "" // no comma here - - } - ] -}; - - - - - \ No newline at end of file diff --git a/experiment/simulation/simulation/weightedladder4bit.html b/experiment/simulation/simulation/weightedladder4bit.html index 0ba342a..f465f05 100644 --- a/experiment/simulation/simulation/weightedladder4bit.html +++ b/experiment/simulation/simulation/weightedladder4bit.html @@ -244,15 +244,16 @@ - - + + -