Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Do it with C programming. Give complete logic with PIC Microcontroller Qw3 Consider a scenario in which we have to design a height or length

image text in transcribed

Do it with C programming. Give complete logic with PIC Microcontroller

Qw3 Consider a scenario in which we have to design a height or length measurement instrument workins of Instrumente instrument consists of a U-shaped Infra ked sensor which is attached on "Measuring tape" in such a way that "U-Cut" of sensor is mounted across a transparent disk Disk revolves when tape is stretched out. Transparent disk has one thick black line on it Sensor has only one output pin that becomes high whenever black line pass through it, otherwise it is zero it in a character type variable namely HEIGHT Output of IR sensor is given to PIC as shown in figure. A switch Swis also Code: We have to write code to get measured height of a person in feet's (ignore inches) using this instrument and store attached with RAO which is only set high manually when we are measuring anything using this instrument otherwise microcontroller he will press SW and meanwhile stretch out the measuring tape and then he will release the sw button and after this height is calculated and stored in HEIGHT variable. 17-marks, Et - 40 min) Note: Take XTALEA MHz, IPEN bit is zero One complete revolution of disk means 2 inches tape has been stretched out. And one feet consists of 12 inches. Hint: Counting. Transparent disk along with U-cut i sensor will be attached with this shaft of measuring tape so that disk revolves when tape is stretched out of it. Transparent disk IR sensor with one output line Thick black line Qw3 Consider a scenario in which we have to design a height or length measurement instrument workins of Instrumente instrument consists of a U-shaped Infra ked sensor which is attached on "Measuring tape" in such a way that "U-Cut" of sensor is mounted across a transparent disk Disk revolves when tape is stretched out. Transparent disk has one thick black line on it Sensor has only one output pin that becomes high whenever black line pass through it, otherwise it is zero it in a character type variable namely HEIGHT Output of IR sensor is given to PIC as shown in figure. A switch Swis also Code: We have to write code to get measured height of a person in feet's (ignore inches) using this instrument and store attached with RAO which is only set high manually when we are measuring anything using this instrument otherwise microcontroller he will press SW and meanwhile stretch out the measuring tape and then he will release the sw button and after this height is calculated and stored in HEIGHT variable. 17-marks, Et - 40 min) Note: Take XTALEA MHz, IPEN bit is zero One complete revolution of disk means 2 inches tape has been stretched out. And one feet consists of 12 inches. Hint: Counting. Transparent disk along with U-cut i sensor will be attached with this shaft of measuring tape so that disk revolves when tape is stretched out of it. Transparent disk IR sensor with one output line Thick black line

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro Database Migration To Azure Data Modernization For The Enterprise

Authors: Kevin Kline, Denis McDowell, Dustin Dorsey, Matt Gordon

1st Edition

1484282299, 978-1484282298

More Books

Students also viewed these Databases questions

Question

1. Identify the sources for this conflict.

Answered: 1 week ago

Question

3. How would you address the problems that make up the situation?

Answered: 1 week ago

Question

2. What recommendations will you make to the city council?

Answered: 1 week ago