One-Wire on BS2
Ryan Smaglik
Posts: 19
Are there any examples or instructions on giving a BS2 (not BS2p) one-wire abilities? I've ordered the thermocouple kit, and I need to interface it to the BS2.
Could someone provide a schematic for setting this up or detailed instructions and example code?
I'm guessing I need a maxim-ic serial to 1-wire interface, but I have no idea how to set this up with the BS2 and how I need to modify the example code in the DS2760 documentation to port it.
Buying another stamp is not an option for me at the moment, I really need to use the BS2.
I'm not worried about efficiency, just anything that will work would suffice.
This BS2 would be dedicated to reading the temperature from the DS2760, so I'm not worried about using up all the code space to implement this.
Thanks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--
Ryan Smaglik
Student, Milwaukee School of Engineering
Post Edited (Ryan Smaglik) : 7/6/2005 5:23:00 PM GMT
said...
The following BASIC Stamp application will run on either the BS2p or BS2pe and demonstrates how easy measuring wide-range temperatures can be when using the DS2760 Thermocouple Module. Other Stamps will require a Serial-to-1-Wire protocol converter, as well as code to manage the large tables across program slots, and are not covered in this document.
Could someone provide a schematic for setting this up or detailed instructions and example code?
I'm guessing I need a maxim-ic serial to 1-wire interface, but I have no idea how to set this up with the BS2 and how I need to modify the example code in the DS2760 documentation to port it.
Buying another stamp is not an option for me at the moment, I really need to use the BS2.
I'm not worried about efficiency, just anything that will work would suffice.
This BS2 would be dedicated to reading the temperature from the DS2760, so I'm not worried about using up all the code space to implement this.
Thanks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--
Ryan Smaglik
Student, Milwaukee School of Engineering
Post Edited (Ryan Smaglik) : 7/6/2005 5:23:00 PM GMT
Comments
Do you have to use a thermocouple? Can you not use a DS1620 in high resolution (0.05 degrees C) mode?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
There is an application note on using the uM-FPU floating point coprocessor with thermocouples. See Application Note 6 - Measuring Temperature using Thermocouples located at:
http://www.micromegacorp.com/appnotes.html
Cam Thompson
Micromega Corporation
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--
Ryan Smaglik
Student, Milwaukee School of Engineering