Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Lab 1: Sensor Design and Analog Digital Conversion Objectives: Learn how to design sensors with embedded microcontrollers Understand the operation of ADC Understand the design

Lab 1: Sensor Design and Analog Digital Conversion

Objectives:

Learn how to design sensors with embedded microcontrollers

Understand the operation of ADC

Understand the design of sensor circuitry

Description: It is often necessary that we understand the surrounding environment using sensors. To design sensors and their associated circuitry, and to obtain and processor sensory data are important tasks in the design of an embedded system. In this lab, you will need to design a light intensity sensor controlled by a PIC microcontroller. The parts given include a PIC16F18857, a photoresistor, a LED and assorted diodes and resistors. You can use a breadboard (or a wire-wrapping prototype board) to implement your circuit. The ADC module in PIC microcontroller will be used to convert an analog signal to corresponding digital value.

Your PIC based light sensor device must:

1. Convert the light intensity information to a variable voltage (0-3V).

2. Obtain an analog input signal (sensory data) via an analog pin of the PIC (e.g. AN0)

3. Use the internal ADC of PIC to convert analog signals to digital values

4. Turn on a LED if the sensor is encapsulated in a dark box or put in a dark environment.

5. Turn off the LED if the sensor is placed in a well-lighted environment.

Need circuit schematic and code in either C or PIC assembly.

Thanks!

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_2

Step: 3

blur-text-image_3

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

Fundamentals Of Database Systems

Authors: Sham Navathe,Ramez Elmasri

5th Edition

B01FGJTE0Q, 978-0805317558

More Books

Students also viewed these Databases questions