MCP3202 connection with LM34 not working
Naziba
Posts: 7
in Propeller 1
Hello Everyone!
I was using the LM34 with the ADC MCP3202 for the temperature measuring project given in the parallax website : http://learn.parallax.com/project/temperature-measuring .
I had connected everything as specified in the circuit diagram given in that project. However when I downloaded the spin program, given in the project, and tried to view the temperature in the Parallax Serial Terminal, it kept on showing 0 degrees. I ran it in the Propeller Quick start Board.
I measured the LM34 output and it was giving the right volts which was 800mV according to the room temperature which is caliberated as 80 degrees Fahrenheit.
How do I know if my ADC converter is working? Should I connect the circuit using a Propeller Project Board?
Thanks !
Naziba
I was using the LM34 with the ADC MCP3202 for the temperature measuring project given in the parallax website : http://learn.parallax.com/project/temperature-measuring .
I had connected everything as specified in the circuit diagram given in that project. However when I downloaded the spin program, given in the project, and tried to view the temperature in the Parallax Serial Terminal, it kept on showing 0 degrees. I ran it in the Propeller Quick start Board.
I measured the LM34 output and it was giving the right volts which was 800mV according to the room temperature which is caliberated as 80 degrees Fahrenheit.
How do I know if my ADC converter is working? Should I connect the circuit using a Propeller Project Board?
Thanks !
Naziba
Comments
When I get really stuck, I rip the entire thing apart down to the very last wire and put it together again.
Good luck!
Same here. I make sure and use a different section of the breadboard.
I've been surprised how often this approach works.
So I do not need to attach a amplifier across the LM34 output and the MCP3202 channel ?
May a picture of your setup would help us troubleshoot the problem.
For the MCP, make sure pin 1 is pulled low or is driven low when you are reading data from the chip. Usually won't work if it is floating. Of course you also need to check power, ground, clock, and data connections as well.
Kwinn how do I make sure the CS pin is low? Do I have to change the code?