Coldbreak Brewing Giveaway - Open to All!

Home Brew Forums > Home Brewing Beer > Electric Brewing > temperature sensor to 10 bit ADC
Reply
 
Thread Tools
Old 12-07-2010, 04:28 PM   #1
cheese
Feedback Score: 0 reviews
Recipes 
 
Join Date: Nov 2008
Location: Israel
Posts: 138
Liked 3 Times on 3 Posts

Default temperature sensor to 10 bit ADC

Hi,

I'm trying to automate my brewery and using this board.

It's usb powered and has a 10 bit adc input among other IO's.


Which temperature sensor do you think will fit this board?


I was thinking of LM35/34 but wasn't sure if the usb voltage supply is stable enough for it.



Thanks,
Royi


cheese is offline
 
Reply With Quote
Old 12-07-2010, 05:33 PM   #2
Quaffer
Feedback Score: 0 reviews
Recipes 
 
Join Date: Dec 2008
Location: Snohomish, WA
Posts: 488
Liked 28 Times on 15 Posts
Likes Given: 1

Default

Quote:
Originally Posted by cheese View Post
I was thinking of LM35/34 but wasn't sure if the usb voltage supply is stable enough for it.
That should work. It is not clear, however, what the input voltage range of the ADC is. You may have less than 10 bit resolution for your temperature range.

I would try it with the 5V source from the board. If it is too noisy or have drift you will need to provide a more stable supply. Try doing other things with the computer and see if the temperature reading fluctuates. Generally, computer power supplies (which this is) tend to be rather noisy when used for data acquisition. Since the board receives 5V from the USB port there is no headroom to regulate the 5V output on the board. There appears to be a regulator in the bottom left of the board, but it must be for a lower voltage used internally only. The LM34/35 temp sensors require at least 5V supply.


__________________
Alcohol, the source of - and solution to - all of life’s problems. H.J.S.
My keezer, My E-brewery build thread, How I soldered 1" nut for heater
Quaffer is offline
 
Reply With Quote
Old 12-07-2010, 08:23 PM   #3
jkarp
Feedback Score: 0 reviews
Recipes 
 
Join Date: Jun 2008
Location: Elizabeth, CO
Posts: 2,106
Liked 38 Times on 31 Posts
Likes Given: 4

Default

LM35 supports down to 4V. In my experience, these aren't that sensitive to Vs. Certainly nothing a cap or two couldn't handle. You could also average out any noisy readings in your code.
jkarp is offline
 
Reply With Quote
Old 12-07-2010, 11:20 PM   #4
Quaffer
Feedback Score: 0 reviews
Recipes 
 
Join Date: Dec 2008
Location: Snohomish, WA
Posts: 488
Liked 28 Times on 15 Posts
Likes Given: 1

Default

Quote:
Originally Posted by jkarp View Post
LM35 supports down to 4V.
That's weird. I just now realized that LM35 can indeed go as low as 4V while LM34 needs 5V. I guess it has to do with the numerical difference of Fahrenheit vs. Celsius.
__________________
Alcohol, the source of - and solution to - all of life’s problems. H.J.S.
My keezer, My E-brewery build thread, How I soldered 1" nut for heater
Quaffer is offline
 
Reply With Quote
Old 12-08-2010, 08:08 AM   #5
cheese
Feedback Score: 0 reviews
Recipes 
 
Join Date: Nov 2008
Location: Israel
Posts: 138
Liked 3 Times on 3 Posts

Default

Thanks, Guys

I'll try it and update.

National suggests to add capacitor and/or resistor in some cases , Do you think I need that?
cheese is offline
 
Reply With Quote
Old 12-13-2010, 06:21 AM   #6
cheese
Feedback Score: 0 reviews
Recipes 
 
Join Date: Nov 2008
Location: Israel
Posts: 138
Liked 3 Times on 3 Posts

Default

I've connected the LM35 to Vdd, Gnd and one of the ADC inputs.
It got very hot in a few secs and then the board automatically turned off.

tried that with 2 sensors, same thing.

Any suggestions?
cheese is offline
 
Reply With Quote
Old 12-13-2010, 12:46 PM   #7
jkarp
Feedback Score: 0 reviews
Recipes 
 
Join Date: Jun 2008
Location: Elizabeth, CO
Posts: 2,106
Liked 38 Times on 31 Posts
Likes Given: 4

Default

Can you sketch out your circuit?
jkarp is offline
 
Reply With Quote
Old 12-13-2010, 04:33 PM   #8
Quaffer
Feedback Score: 0 reviews
Recipes 
 
Join Date: Dec 2008
Location: Snohomish, WA
Posts: 488
Liked 28 Times on 15 Posts
Likes Given: 1

Default

Yes, a sketch would really help. In the mean time check that you don't have the VDD and GND pins swapped. That would make it heat up quick.
__________________
Alcohol, the source of - and solution to - all of life’s problems. H.J.S.
My keezer, My E-brewery build thread, How I soldered 1" nut for heater
Quaffer is offline
 
Reply With Quote
Old 12-13-2010, 07:57 PM   #9
cheese
Feedback Score: 0 reviews
Recipes 
 
Join Date: Nov 2008
Location: Israel
Posts: 138
Liked 3 Times on 3 Posts

Default

pretty strait forward ,
I double checked the pins, but now I'm that positive...
cheese is offline
 
Reply With Quote
Old 12-14-2010, 07:22 PM   #10
Quaffer
Feedback Score: 0 reviews
Recipes 
 
Join Date: Dec 2008
Location: Snohomish, WA
Posts: 488
Liked 28 Times on 15 Posts
Likes Given: 1

Default

Quote:
Originally Posted by cheese View Post
pretty strait forward ,
I double checked the pins, but now I'm that positive...
Your sketch looks OK. It is so simple it is hard to see what can go wrong. Well, there is one thing that still could be wrong, but you already checked the pinout. Do you understand that the pinout drawing is the view from the bottom of the sensor? If you think it is the top view then Vs+ and GND pins will indeed be reversed. Look at the data sheet again, compare to your part. That's the only thing I can think of now.


__________________
Alcohol, the source of - and solution to - all of life’s problems. H.J.S.
My keezer, My E-brewery build thread, How I soldered 1" nut for heater
Quaffer is offline
 
Reply With Quote
Reply


Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fermentation Temperature Controller Sanity Check bacampbe Electric Brewing 6 01-24-2015 04:52 AM


Forum Jump

Newest Threads

LATEST SPONSOR DEALS