how do i send data through a one wire device?
crim
Posts: 8
how do i send data through a one wire device? what command do i use or whats the program?
please help
[noparse][[/noparse]Subject edited]
Post Edited By Moderator (Chris Savage (Parallax)) : 4/25/2007 11:57:26 PM GMT
please help
[noparse][[/noparse]Subject edited]
Post Edited By Moderator (Chris Savage (Parallax)) : 4/25/2007 11:57:26 PM GMT
Comments
If you have a BS2p/pe/px, you use the OWIN/OWOUT statements. Look at their description in the PBasic manual
What signals are sent depends on the device you want to communicate with.
What one wire device are you trying to communicate with?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Think Inside the box first and if that doesn't work..
Re-arrange what's inside the box then...
Think outside the BOX!
please help
How about posting a diagram or description of how you've connected the two devices and the program code you're using?
I took a quick look at the Rentron site and downloaded the SLED-C4 datasheet It is 8 pages long, and I guess it may be my level of experience, but it is very specific about the interface and thorough about the commands. It is ascii serial, using one wire from the Stamp to transmit data to the SLED-C4. It does use one wire, but there is another completely different interface named, "ONEWIRE", which is a different thing and that is what threw us off the track.
Your code should use the SEROUT command avaialble on any Stamp, or even the DEBUG command, not the OWOUT command. The data sheet has several examples using BASIC Stamp code, and also there is on the web site a .zip file (which I have not looked at) which claims to have code for several different processors.
So, my suggestion is to look at the Rentron web site and dig in from there.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
On the Rentron site's front page is a link to some examples. They include an example for the STAMP. It is attached.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
http://forums.parallax.com/showthread.php?p=637023
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support