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.

[PIC] how to check ADC of a pic if DAC is not available there

Status
Not open for further replies.

biswaIITH

Full Member level 4
Joined
Aug 23, 2014
Messages
204
Helped
27
Reputation
54
Reaction score
28
Trophy points
1,308
Location
Hyderabad
Activity points
2,907
hii folks...i am using a PIC16F876A micro..it doesnt have ne inbuilt DAC...How to check its ADC is properly working or not...I followed the approach below

i gave a reference of 2V inside the code...varied the input to the micro..in the code i gave a condition that if the input voltage was more than 2 then it would generate pulses of certain fixed frequency(set in code)....and it is showing the result...Is it the correct approach???
 

simply put result of the ADC on a port and use LED to see the result. why you have complicated the situation? furthermore your approach does not guarantee that the ADC works properly.
 

https://www.edaboard.com/blog/1573/

there many ways to check the adc is working proper or not but the steps you follow in above blog will give you surety that you configured the adc well correct and its is working fine.
 

That chip has 2 comparator modules as well as a fairly flexible reference source module (or you can use your own external reference pin) - why use the ADC at all if all you want to do is see if an input is above or below your reference.
Susan
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top