0% found this document useful (0 votes)
157 views8 pages

Ece 249

The document contains 3 questions for an assignment on basic electricals and electronics engineering. Question 1 involves applying Thevenin's and Norton's theorems using the input voltage as the last two digits of the student's registration number. Question 2 involves implementing a Boolean function using a 4:1 multiplexer based on the decimal to octal conversion of the registration number. Question 3 involves interfacing an IR sensor with an Arduino using the last digit of the registration number for the sensor pin and pin 10 for the LED, and printing the student's name and registration or roll number depending on whether an obstacle is detected.

Uploaded by

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

Ece 249

The document contains 3 questions for an assignment on basic electricals and electronics engineering. Question 1 involves applying Thevenin's and Norton's theorems using the input voltage as the last two digits of the student's registration number. Question 2 involves implementing a Boolean function using a 4:1 multiplexer based on the decimal to octal conversion of the registration number. Question 3 involves interfacing an IR sensor with an Arduino using the last digit of the registration number for the sensor pin and pin 10 for the LED, and printing the student's name and registration or roll number depending on whether an obstacle is detected.

Uploaded by

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

ECE 249: BASIC ELECTRICALS AND ELECTRONICS ENGINEERING

CA – 3

Name - Sameer Tripathi


Reg. no. - 12315821
Roll no. - 03

Q1. Apply the Thevenin and Norton theorem to find the value of
Current across 4 Ohm, if the input applied voltage is the last two digits
of your registration number.
Verify the simulation result with theoretical result.
(Example: If your registration is 12315216 then Input supply is 16 V and
if last two digit is zero then Input supply is 10 V.

Ans.
Q2. Implementation of a Boolean function using 4:1 multiplexer on
proteus software. The Minterms will be implementation of Decimal to
octal conversion of your registration number.
Ans.
Q3. Interfacing of IR sensor with an Arduino on Proteus.
Note: You need to connect IR sensor on pin no. (Last digit of your
registration no. and LED will be connected on pin no. 10).
Display your name and registration on virtual screen if obstacle
detected otherwise display your roll number.
Ans.
When there is no obstacle present
When obstacle is present
Code:
void setup() {
Serial.begin(9600);
// put your setup code here, to run once:
pinMode(10,OUTPUT);
pinMode(2,INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
int x=digitalRead(2);
if (x==HIGH)
{digitalWrite(10,HIGH);
Serial.println("Sameer Tripathi(12315821)");
}
else
{digitalWrite(10,LOW);
Serial.println("03");
}
delay(1000);
}

You might also like