Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

This is my interview questions that I not answered properly

Status
Not open for further replies.

N.Karthick

Junior Member level 2
Junior Member level 2
Joined
Sep 19, 2014
Messages
24
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Location
Tirupur, India
Activity points
166
1. What is meaning to mention 16,18.. In Pic series.
2.how do you check your sensor connected with your pic controller are working properly through cide .
3.write a program to this diagram (diagram is attached with this post). Untitled.png
4.program to find number of zeros .
 

1. PIC16 and PIC18 are just different families of processor from Microchip. Originally PIC16 were all 8-bit registers and used 'banks' and 'pages' to segment the memory while the PIC18 used a linear memory map but there are now some PIC16 'enhanced' devices which can use linear memory as well.

2. That depends on what the sensor is. Typically you provide a calibrated stimulus to the sensor and make sure the reading comes back as expected.

3. The diagram is meaningless without knowing what units the axis is in.

4. number of zeros in what?

For 3 & 4, the correct response in an interview would be to say more information is needed!

Brian.
 
2.how do you check your sensor connected with your pic controller are working properly

Adding a 3rd state on reading, one for "1", other for "0" and another for "NOT connected".

The ausence of any signal is how to determine failure on digital sensor.
The ausence of offset, is how to determine failure on analog sensor.
 

2.how do you check your sensor connected with your pic controller are working properly through code. They take example as LM35.
 

A little bit more information makes all the difference.
The LM35 produces a voltage proportional to temperature so the code would read the voltage and confirm:
1. the voltage changes as the temperture changes
2. it can measure the lowest and highest temperatures anticipated
3. it detects a fault, for example if the sensor became disconnected it should read something 'abnormal' as report something is wrong. For example saying the temperature is -10000 degrees!
4. if units conversion is used (C/F) it should be mathematically accurate over the full temperature range.

Brian.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top