Bs2 ds1620
pSxMoD
Posts: 4
Hi,
Does anyone have any example source code for the DS1620 temperature sensor and Basic Stamp 2? I am currently using the AppKit source code for the DS1620. How can I use this code to use the sensor in stand-alone mode? I would like a simple application so I can use the 1620 to light one color LED when the temperature is above a certain point, and when it drops below that point, it will light a different color LED. Any help with this is greatly appreciated. Thanks!
Does anyone have any example source code for the DS1620 temperature sensor and Basic Stamp 2? I am currently using the AppKit source code for the DS1620. How can I use this code to use the sensor in stand-alone mode? I would like a simple application so I can use the 1620 to light one color LED when the temperature is above a certain point, and when it drops below that point, it will light a different color LED. Any help with this is greatly appreciated. Thanks!
Comments
www.emesys.com/OL2d1620.htm#thermostat
Pin 7 on the DS1620 goes high when the temperature exceeds the threshold that you set. Pin 6 can be used for a different threshold. Don't try to connect the LEDs directly to the DS1620 pins, because that will caused the DS1620 to heat up. Drive the LEDs via transistors or a buffer like the CD4049.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
Check here: http://forums.parallax.com/showthread.php?131460-Ds1620&p=1073760#post1073760
I finally worked out a nice code (with big help of Scott Edwards...) using BS1.
You will find a complete information there.