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.

Need help for two analog inputs to PIC

Status
Not open for further replies.

tufan

Junior Member level 3
Joined
Oct 3, 2004
Messages
26
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
228
HELLO
FRIENDS I need your help
Can you do the following circuit with u
controller.?

pic has two DC analog inputs
I have to use two adc I think

and the controller will make the following algebric
manipulation:
(Input1-ınput2)/( Input1+Input2)
now I Thougth to use 16f877
However I dont know how to code them ADC is a NEED BUT I need two output or a mux is enough?Do you have any advices to me ?

regards
 

Re: NEED HELP FOR TWO ANALOG INPUTS TO PIC

tufan said:
HELLO
FRIENDS I need your help
Can you do the following circuit with u
controller.?

pic has two DC analog inputs
I have to use two adc I think

and the controller will make the following algebric
manipulation:
(Input1-ınput2)/( Input1+Input2)
now I Thougth to use 16f877
However I dont know how to code them ADC is a NEED BUT I need two output or a mux is enough?Do you have any advices to me ?

regards

1. Do not post your title in all caps.
2. Another I think analog inputs are used as comparators only (correct me here if I am wrong).
3. You need either a differential amplifier and feed the result to the ADC of the micro or if the rail of your analog input is from 0 to 5V, I think you can feed it directly to the ADC.
4. Do not forget to use signal conditioners if your rails are above 5V or you have a negative rail.
 

Re: NEED HELP FOR TWO ANALOG INPUTS TO PIC

What kind of signal conditionar do you mean?
else
I won't give anolog inputs to directlı uc but of course to ADC
and inputs maybe 10 volts
 

Thanks for adjusting your title, you will inject a 10V analog signal to PIC? I do not know if the ADC can support that but you can check the datasheet.

Signal conditioners are like pre-amps, buffers or level converter, they convert the input signal to an acceptable level by the microcontroller or any circuit.
 

    tufan

    Points: 2
    Helpful Answer Positive Rating
Dear glenjoy
I want to ask :can I use only one uc which has one ADC (for two inputs)?
and doyou have any idea about the codes in C for Adc and
(Input1-ınput2)/( Input1+Input2) manipulation?

thanks

Added after 19 minutes:

sizce bugun yetisir mi?

Dear friends

Do you think that I can solve this problem within a 3 hours?

Have you got any offers?
 

tufan said:
Dear glenjoy
I want to ask :can I use only one uc which has one ADC (for two inputs)?
and doyou have any idea about the codes in C for Adc and
(Input1-ınput2)/( Input1+Input2) manipulation?

thanks

Added after 19 minutes:

sizce bugun yetisir mi?

Dear friends

Do you think that I can solve this problem within a 3 hours?



Have you got any offers?

Do you want to outsource it? PM me.
 

Can not you do?
I think it is easy for you
so I said that

If you can help I need it much
 

Yes I can do it, just PM me your requirements and if you yahoo messenger, you can PM me your email address.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top