interface DS2436 voltage monitor to Basic Stamp II
Vladimir059
Posts: 9
Hello Everybody! Please inform me is it possible interface DS2436 voltage monitor to Basic Stamp II?· I couldn’t find any I2C commands for BS2.
If it is·possible please provide sample code for I2C protocol and example BS2 program for ·DS2436 ·voltage monitor.
Thank you in advance
Vladimir.
Post Edited By Moderator (Joshua Donelson (Parallax)) : 10/23/2009 4:06:15 AM GMT
If it is·possible please provide sample code for I2C protocol and example BS2 program for ·DS2436 ·voltage monitor.
Thank you in advance
Vladimir.
Post Edited By Moderator (Joshua Donelson (Parallax)) : 10/23/2009 4:06:15 AM GMT
Comments
With that said, let me note that the Dallas Semiconductor product identified as DS2436 is a "one-wire" device, not I2C. That's a different protocol. I haven't seen code for it on the website, but I imagine it is there. Probably your best bet for either of these protocols is an article in Nuts and Volts magazine. The ones related to Basic Stamps are kept on the website. I'll find the link and post it in a minute.
In both cases, the BS2P and later models of Stamp (or at least higher end ones) have these protocols coded in the firmware. And a couple of other nice protocols as well, like the interface to popular LCD controllers.
http://www.parallax.com/html_pages/downloads/nvcolumns/Nuts_Volts_Downloads.asp
is the link for the Nut and Volts columns. At a quick glance, #79, #85 and #115 deal with I2C. I did not see one about one-wire, but I don't have time for an extensive search.
Post Edited (Harbor) : 6/3/2006 7:02:39 AM GMT
Just to confirm, Harbor is correct on both couts. The BS-2p series, and all subsequent PBASIC Stamp processors can use either I2C or Dallas 1-wire. The plain BS-2 can not support either in native mode.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
Post Edited (Bruce Bates) : 6/3/2006 1:18:17 PM GMT
http://www.parallax.com/detail.asp?product_id=27976
http://www.parallax.com/dl/docs/cols/nv/vol5/col/nv115.pdf
The programming examples can be downloaded here --
http://www.parallax.com/html_pages/downloads/nvcolumns/Nuts_Volts_Downloads_V5.asp
Post Edited (PJ Allen) : 6/3/2006 1:49:17 PM GMT
But you'll need a BS2480(b) chip to do it.
You can find datasheets on http://www.maxim-ic.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't visit my new website...
Maybe does anybody know another voltage monitor divice, which can be easy interfaced with Basic Stamp II ?
Thank you in advance
Vladimir