x10 On works but OFF does not?
KC8DKT
Posts: 76
turning the lights on works fine but they will not turn off.·· any ideas?
XOUT mpin,zpin,[noparse][[/noparse]0\0\2, 0\UNITON]········ Works
XOUT mpin,zpin,[noparse][[/noparse]0\0\2, 0\UNITOFF]······· Does NOT work
Another thing odd is that when xout is used and NOT plugged in the program/stamp does NOT stop/lockup
XOUT mpin,zpin,[noparse][[/noparse]0\0\2, 0\UNITON]········ Works
XOUT mpin,zpin,[noparse][[/noparse]0\0\2, 0\UNITOFF]······· Does NOT work
Another thing odd is that when xout is used and NOT plugged in the program/stamp does NOT stop/lockup
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
This may or may not lead to an answer, but there's no harm in trying
Which X-10 Interface are you using, the PL-513 or the TW523?
Which pin ports are you assigning to mpin and zpin?
Which PBASIC Stamp are you using?
Try repeating the second command, and see if anything changes.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
XOUT mpin,zpin,[noparse][[/noparse]0\0\2, 0\UNITOFF]
PAUSE 1000
XOUT mpin,zpin,[noparse][[/noparse]0\0\2, 0\UNITOFF]
PAUSE 1000
XOUT mpin,zpin,[noparse][[/noparse]0\0\2, 0\UNITOFF]
Does not turn them off
Pulsin ZPin,1,Power Power = 0 unplugged = 120 to 130 plugged in
count ZPin,1000,Power Power = 0 unplugged = 17 or 18 plugged in
XOUT mpin,zpin,[noparse][[/noparse]0\0\2, 0\UNITON] Works every time
Is there any way to talk to the TW-523 with out XOUT "like bit bashing I2C" to check if my 523 is bad? I still find it odd that the Program/Stamp does not lockup when XOUT is used and the 523 is unplugged. Pulsin/Count = 0 when unplugged EveryTime rules this out I think.
Thanks in advance, Jonathan...
black = Pin2
Green & Red grounded to VSS "wires 2 & 3"
Pin1 was tested with 4.7k up to +20k with no diff. There is a pulldown that has "Turns ON but not OFF" on the X10 webpage. I will post the info when they msg me back.
Have you ever seen a stamp that does NOT lockup when you use XOUT and the interface in unplugged? Help file says it should lockup and everyone that has PMed me here and on the x10 forum says it does lockup on them. I would guess this is some how linked to the problem. People on the x10 forum say my interface is bad and I should RMA it. I am holding off on that till some one from x10 gets back to me.