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 ?
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 ?
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.
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.
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?
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?