bs2 with lm335 temp sensor and adc0804 need help writing a program
betaboy
Posts: 8
can anyone help me write a program using those parts?
·
·
Comments
·
The LM34 is similar to the LM335 in that its output varies by 10 mv/degree, and it is measured with the ADC0831 and the BASIC Stamp in the Industrial Control text.·
·
The differences are in the pin map and the fact that it's calibrated for degrees Kelvin instead of Fahrenheit.· It also has a different pin map, so you'll need to check the datasheet for which pin goes to Vss, Vdd, and Vout/adj.·
Go to www.national.com and get the datasheet for the ADC0804. Build the circuit shown on page 24, but instead of LEDs, connect the ADC0804's DB0...DB7 to the BASIC Stamp's P0...P7. Also, get rid of the momentary switch and connect P8 to the /WR/INTR node. Then, you can use a test program like this to display the ADC values:
Post Edited (Andy Lindsay (Parallax)) : 2/14/2005 2:35:19 AM GMT