Co3 Questions and Answer
Co3 Questions and Answer
Co3 Questions and Answer
Answer:
• Segments: The seven segments in a 7-segment display are typically labeled "a" through "g." The
eighth segment, when present, represents the decimal point and is labeled "dp." By selectively
illuminating these segments, various characters can be displayed.
• Common Anode and Common Cathode Displays: There are two main types of 7-segment
displays: common anode and common cathode. In a common anode display, all anodes of the
individual segments are tied together, and each cathode is controlled separately. In a common
cathode display, all cathodes are tied together, and each anode is controlled separately. You must
apply the appropriate voltage to either the common anode or common cathode to illuminate the
desired segments.
• Numerical Representation: 7-segment displays are often used to display numbers (0-9) and
sometimes a few additional characters, such as 'A,' 'b,' 'C,' 'd,' 'E,' 'F,' 'H,' 'L,' 'P,' and 'U.' To display
other characters, a combination of segments is used to approximate the desired shape.
• Applications: 7-segment displays are widely used in various applications, including digital clocks,
microwave ovens, calculators, scoreboards, and various digital meters.
•
Q2. Write HEX value of digit 0,1,2,3,4,5,6,7,8,9 for 7 –segment display.
Answer:
Q3. Program for 7-segment display to interface with 8051 and display 0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f
Q4. Explain the LCD Pins in detail?
Answer:-
Answer:
Q7. How stepper moter works? Calculate the angle traversed in each step if it completes 360 degree
rotation in 200 steps?
Answer:
Stepper motor is made up of a stator and a rotator. Stator represents the four electromagnet coils which remain
stationary around the rotator, and rotator represents permanent magnet which rotates.
Whenever the coils energised by applying the current, the electromagnetic field is created, resulting the rotation
of rotator (permanent magnet).
Coils should be energised in a particular sequence to make the rotator rotate. On the basis of this “sequence”
we can divide the working method of Unipolar stepper motor in three modes:
Wave drive mode, full step drive mode and half step drive mode.
A stepper motor rotates at small angles to complete 360 degrees rotation, these small angles are called steps,
hence the name Stepper Motor. Typically, a stepper motor consists of 200 steps.
• The high and low pulses are provided to the stator coil of the stepper motor.
• Here we’re using a 4-coil stator. The angle of each step is decided by the steps in the rotor and its alignment
with the stator.
Q8 Explain 3-Modes of stepper motor and write an assembly language program to operate the moter in these
modes
(a) Wave drive mode, (b) full step drive mode and (c) half step drive mode.
Q9. Explain ADC(0804)( Analog-to-Digital Converters and describes the functioning of each pins)?
Answer:-
ADCs( Analog-to-Digital Converters) are among the most widely used devices for data acquisition.
A Physical quantity, like temperature, pressure, humidity, and velocity, etc., is converted to
electrical ( Voltage , current) signals using a device called a transducer or sensor.We need ADCs
to translate the analog signals to digital numbers, so that the microprocessor/microcontroller can read
the data for further implement.
Chip select is an active low input used to activate the ADC0804 chip.
9. RD(Read)
This is an input signal and is active low. The ADC converts the analog input to its binary
equivalent and holds it in an internal register. RD is used to get the converted data out of the
ADC0804 chip. When CS=0, if a high-to-low pulse is applied to the RD pin, the 8-bit digital
output can be read from D0-D7. The RD pin is also referred to as Output Enable(OE).
This is an active low input used to inform the ADC0804 to start the conversion process. If
CS=0, when WR makes a low-to-high transition, the ADC0804 starts converting the analog
input value of Vin to an 8-bit digital number
This is an output pin and is active low. It is normally high pin and when the conversion is
completed, it goes low to signal the CPU that the converted data is ready to be picked up.
After INTR goes low, we make CS=0 and send a high- to- low pulse to the RD pin to get the
next analog data to be converted.
Q10.Explain Start of conversion, End of conversion. How to calculate the conversion time.
Answer:
This is an active low input used to inform the ADC0804 to start the conversion process. If
CS=0, when WR makes a low-to-high transition, the ADC0804 starts converting the analog
input value of Vin to an 8-bit digital number
This is an output pin and is active low. It is normally high pin and when the conversion is
completed, it goes low to signal the CPU that the converted data is ready to be picked up.
After INTR goes low, we make CS=0 and send a high- to- low pulse to the RD pin to get the
next analog data to be converted.
Q13. Calculate step size or resolution if vref =2.56 and vin=1 0r 2,56 v ,
and digital output for ADC?
Answer:
In these systems microcontroller generates output which is in digital form but the controlling
system requires analog signal as they don't accept digital data thus making it necessary to use DAC
which converts digital data into equivalent analog voltage.
we use 8-bit DAC 0808. This IC converts digital data into equivalent analog Current. Hence we
require an I to V converter to convert this current into equivalent voltage.