Shop OBEX P1 Docs P2 Docs Learn Events
x10 On works but OFF does not? — Parallax Forums

x10 On works but OFF does not?

KC8DKTKC8DKT Posts: 76
edited 2006-03-07 00:32 in BASIC Stamp
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

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2006-03-05 23:30
    Are you using an appliance module or a lamp module?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • Bruce BatesBruce Bates Posts: 3,045
    edited 2006-03-05 23:58
    KC8DKT -

    This may or may not lead to an answer, but there's no harm in trying smile.gif

    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 -->
  • KC8DKTKC8DKT Posts: 76
    edited 2006-03-06 00:57
    BS2p24, TW-523, ZPin CON 1, MPin CON 2

    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.
  • KC8DKTKC8DKT Posts: 76
    edited 2006-03-06 00:59
    PLW01 Wall switch module
  • GalacticGalactic Posts: 6
    edited 2006-03-06 23:38
    KC8DKT if you could post how you interfaced the power line interface into your bread board for communication with your basic stamp I would be EXTREMELY grateful. It's a problem I've been trying to tackle now for 2 weeks...

    Thanks in advance, Jonathan...
  • KC8DKTKC8DKT Posts: 76
    edited 2006-03-07 00:32
    yellow = Pin1
    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.
Sign In or Register to comment.