MCP3204 Questions
PThompson509
Posts: 6
Hi Folks,
I've got the Propeller Pro Dev Board, and the MCP3204 (4 channel) ADC (among other things). This is going to go into my electric car as a display.
What I want to measure is:
a) 0v to 400v (yes, this is dangerous, and will require a voltage divider)
b) -5v to +5v (this is the output of a hall-effect current sensor)
c) 0v to +15v (car switched voltage)
For part a), I'm using a voltage bridge with R1=1M, and R2=12.7K ohms. I will try that out in the open so if it melts, I'll know to try something else.
For part b), though, I'm unsure how to do this, as I am under the impression that the ADC only handles 0-5v. Thoughts?
For part c), this will also use a voltage bridge (R1=10K, R2=3.33K).
I'd appreciate a sanity check as well as thoughts on how to deal with the -5v to +5v range.
Cheers,
Peter Thompson
I've got the Propeller Pro Dev Board, and the MCP3204 (4 channel) ADC (among other things). This is going to go into my electric car as a display.
What I want to measure is:
a) 0v to 400v (yes, this is dangerous, and will require a voltage divider)
b) -5v to +5v (this is the output of a hall-effect current sensor)
c) 0v to +15v (car switched voltage)
For part a), I'm using a voltage bridge with R1=1M, and R2=12.7K ohms. I will try that out in the open so if it melts, I'll know to try something else.
For part b), though, I'm unsure how to do this, as I am under the impression that the ADC only handles 0-5v. Thoughts?
For part c), this will also use a voltage bridge (R1=10K, R2=3.33K).
I'd appreciate a sanity check as well as thoughts on how to deal with the -5v to +5v range.
Cheers,
Peter Thompson
Comments
Thanks for responding on a Sunday (wasn't expecting anything so soon).
I'll read up on the MAX1044 some more, as that looks promising.
Another thought I had was to add 5v to the output of the hall effect (thus creating 0v to 10v) and then halving that voltage. That might be easier for me
Do the parts a) and c) make sense?
Cheers,
Peter
it's voltage dividers (not "voltage bridges")
a) Is the range down to 0 important? Or is your actual interest in a range of 10-15V?
c) Is the range down to 0 important? Or is your actual interest in a range of 300-400V?
Right, voltage divider. I was going by the calculators on the web.
For a), the range is more important from 300-400v. (this is a lithion-iron-phosphate-iron pack)
For c), the range is 12-18v. (auto 12v system)
Cheers,
Peter
0V when the input is -5,
2.5V when the input is 0V,
5V when the input is +5V.
Choose the two resistors so that they don't load down the Hall effect sensor.
Hope this has been helpful.
Ben
The board has both 3.3v and 5v on it, so that was why I was going for the 5v solution. Is the 3.3v solution better?
Cheers,
Peter