Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

Ideas for connecting to analog input of PIC

Status
Not open for further replies.

ipunished

Junior Member level 3
Joined
Mar 15, 2011
Messages
31
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
United Kingdom
Activity points
1,504
Hello,

I have written the code for it and now I want to actually make it work.

Its used to test or check resistance, and i am using a pic with analog input..

I was just wondering how to make that possible?

I know that I can drive a constant, known current through the resistor and then how do I connect it to the pic and how tio read it?

i was thinking differential amplifier but i dont think that will work....

anyone have any ideas on this?

Thank you
 

andre_teprom

Super Moderator
Staff member
Joined
Nov 7, 2006
Messages
9,181
Helped
1,140
Reputation
2,299
Reaction score
1,116
Trophy points
1,403
Location
Brazil
Activity points
53,324
The use of an OP-AMP or even an OTA is a good idea.
Make sure that resistance value applied don´t generate a voltage value that exeed rail range.

+++
 

klystron

Advanced Member level 4
Joined
Jul 11, 2002
Messages
1,014
Helped
192
Reputation
384
Reaction score
180
Trophy points
1,343
Location
South Africa
Activity points
4,515
You must start of with a requirement for example to read the room temperature using a LM35 temperature sensor
 

ipunished

Junior Member level 3
Joined
Mar 15, 2011
Messages
31
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
United Kingdom
Activity points
1,504
Thanks miguel, that is somewhat like the schematic i found in my link, can you give a bit more details on its working.. as in if im to make a schematic of this.. furthermore, how can it only take the value by just one connection?


Thanks
 

Miguel Gaspar

Advanced Member level 1
Joined
Mar 6, 2006
Messages
479
Helped
70
Reputation
140
Reaction score
34
Trophy points
1,308
Location
Culiacán, Sinaloa, Mexico
Activity points
4,971
By Ohms Law , if you have a current source of Ix value V = IxR
you must calibrate according the maximum value that accepts your PIC.

If your Vmax = 10, and your Rmax = 10K, Ix must be 10V/10K = 1mA so you can have a voltage proportional to the ohms of your resistence.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top