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.

+/- 10v adc interface with pic micro

raman00084

Full Member level 6
Full Member level 6
Joined
Nov 29, 2010
Messages
372
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Activity points
4,062
I am having a load cell unit that can output a analog voltage of +/- 10v
Positive voltage for push and negative voltage for pull. It is a push pull load cell. I am using dspic33ep512mu810 ic.
How to interface +/-10v in this microcontroller.
 
Hi,

the first question is: Do you like to use the PIC interneal ADC or an external one? Both is possible.

There may be external ADCs which provide the input voltage range you need.

Or - in any case - you can use an external analog circuit to adjust Sensor_output_voltage_range to ADC_input_voltage_range.

It depends on what YOU need. And on the specifications for that ... like any anlog/digital circuit does.
If you want detailed answers you need to provide complete and detailed specifications first.


Klaus
 
Link your 10V output load cell first.

I suspect it is only10 mV/V FS.

The approach is simply to shift bipolar 0V to Vref/2 and choose gain = full scale {ADC/source} often equal to Vref or Vdd for ADC.
 
Last edited:
Is there ant external adc ic can I interface directly and communicate with i2c
The load cell unit has 2 terminals marked + and - 10v
 
If +/-10V really is the output do this:
Find half the PIC supply voltage (or half Vref if you are using an external reference),
Scale the entire -10V to +10V (in other words 20V) to full PIC supply or full Vref, whichever you have to configured to use with a potential divider,
Add on the half voltage you first calculated.

For example if the PIC supply is 3.3V and you select VDD as Vref:
1. half of 3.3V is 1.65V
2. use resistors to scale 20V to 3.3V, the scaled voltage will now be -1.65V to +1.65V
3. add the 1.65 from step 1 and the ADC will now see 0V to 3.3V as the input goes from -10V to +10V.

You can do it entirely with resistors or you could use a combination of resistors to drop the voltage and an op-amp to do the adding.

Brian.
 
Your DSP only has a 10 bit resolution A/D, seems low for a load cell application.

What range of load and resolution do you want ?


Regards, Dana.
 
Hi,
My first choice is to use the internal adc. How can I do this kindly explain
Is there ant external adc ic can I interface directly and communicate with i2c
Wow, did not last long ...
Just go to the electronics distributor of your choice and use the ADC selection tool.

If you want detailed answers you need to provide complete and detailed specifications first.
Is still valid.
You give no details .. but ask for solutions...

Klaus
 
Resistor divider lifts bipolar AC up into positive polarity. Incoming signal must source and sink tiny amount of current:

level shift +10-10 V to positive via 1 pot 3V.png
 
Using a non-inverting (unity gain) Op Amp, the R divider is 50% with an offset of 5V. Both AC and DC offset are attenuated by 50% thus the output gives the necessary linear gain = 0.25 and offset = +2.5V)
1725304940137.png

Both OpAmp inputs are the same with a null difference in theory. In practice, it is the output reduced by the open loop gain for the virtual ground (which means ~0V input.)

Any questions?
 

LaTeX Commands Quick-Menu:

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top