[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
RE: xAP switch
- Subject: RE: xAP switch
- From: Kevin Hawkins
- Date: Wed, 16 Apr 2003 13:12:00 +0000
Paul,
Ah - but you could have a short press for bedroom lamp on and off
and a long press for dim all upstairs lights. Or even a short press for
outside light and a long press for bedside light. Doing the latter would
require you to actually activate the lamp on release of the switch though.
Additionally these are events - so you tie an action to an event -
otherwise each output device would have to time the press period and you
might get inconsistent results or even delays introduced on very large
bridged networks. Generating the event at the switch eliminates any
problems
- and provides a clear place to put the actions.
Kevin
> -----Original Message-----
> From: Paul Gordon [mailto:<a
href="/group/xAP_developer/post?postID=qNhr6kVph8diEf_D2bo5FKuQf2UdEBZRnNwX4Bt0HoaIJLid7o_4sSDKpVvLbrTQBBP_UU0JYTBDMzVoKmPBCg">paul_gordon@h...</a>]
> Sent: 16 April 2003 09:21
> To: <a
href="/group/xAP_developer/post?postID=05PtwdUVaF4CJbMiXGWAfuRFPxqhyZfbY0VEM9xt34EYWyydOXWmP3SqfRkYkPPi2H9jVIRvPP_3DMLkbkHHI7uuYuQnsA">xAP_developer@xxxxxxx</a>
> Subject: RE: [xAP_developer] xAP switch
>
> Seems an odd way of doing it... I'd have thought just a
"Down" and an
> "up"
> (aka "press" and "release") would be
sufficient....
>
> Still, what do I know?...
>
> Paul G.
>
>
>
>
>
>
>
> >From: "Kevin Hawkins" <<a
href="/group/xAP_developer/post?postID=7KL6KI_T3yy_OcLdZGfV4or6zffRyVZjACT2WyLJ4vw9ExnnWnDHiCLpi5vhSKfAVK0iWqlizYr0ZH2RB-i1AoQ">lists@u...</a>>
> >Reply-To: <a
href="/group/xAP_developer/post?postID=05PtwdUVaF4CJbMiXGWAfuRFPxqhyZfbY0VEM9xt34EYWyydOXWmP3SqfRkYkPPi2H9jVIRvPP_3DMLkbkHHI7uuYuQnsA">xAP_developer@xxxxxxx</a>
> >To: <<a
href="/group/xAP_developer/post?postID=05PtwdUVaF4CJbMiXGWAfuRFPxqhyZfbY0VEM9xt34EYWyydOXWmP3SqfRkYkPPi2H9jVIRvPP_3DMLkbkHHI7uuYuQnsA">xAP_developer@xxxxxxx</a>>
> >Subject: RE: [xAP_developer] xAP switch
> >Date: Tue, 15 Apr 2003 00:02:36 +0100
> >
> >Thought I'd just mention how Clipsal handle switch actions on
C-Bus -
> they
> >generate 3 messages - from these they can handle toggle and dimmer
> type
> >functionality.
> >
> >Short Press
> >Long Press
> >Release
> >
> >Basically their switches are momentary and if you press and
release
> one
> >quickly you get short press / short release ie 2 messages. If you
> press
> >and
> >hold one you get short press / long press / release ie all 3
messages.
> You
> >need the short press one so that things respond instantly.
> >
> > Kevin
> >
> > > -----Original Message-----
> > > From: Ian B [mailto:<a
href="/group/xAP_developer/post?postID=tTfJ2Oi1W6CMnDNWAAcZqV7CW5ZrAnBzAHxQmu4LilN7FdzOi6oW7GDdPQlkptgs_U4tSHygraiEsg">Ian@M...</a>]
> > > Sent: 14 April 2003 21:51
> > > To: <a
href="/group/xAP_developer/post?postID=05PtwdUVaF4CJbMiXGWAfuRFPxqhyZfbY0VEM9xt34EYWyydOXWmP3SqfRkYkPPi2H9jVIRvPP_3DMLkbkHHI7uuYuQnsA">xAP_developer@xxxxxxx</a>
> > > Subject: RE: [xAP_developer] xAP switch
> > >
> > > Hi Steve
> > >
> > > The relay board controller I am working on currently has 8
> inputs.
> > > These are
> > > switches than can be momentary or locking. The program lets
you
> > > configure
> > > whether a message is sent on the input going low, high or
both.
> I
> >also
> > > use a
> > > Maxim chip (max6818) to do all my debouncing which saves a
lot
> of
> > > processing
> > > time.
> > >
> > > It would be quite easy to modify the program to just send
input
> >changes
> > > and
> > > even make a new PCB for it. Having said that the board has 8
> open
> > > collector
> > > outputs which folks might find useful. There is also RS485
and
> serial
> > > on
> > > board although only one can be used at once. You can see the
> current
> > > prototype on my site under projects then relay board
controller.
> Note
> > > the
> > > 'production' version will not have the switches on board.
They
> will
> >be
> > > connected by a plug of some nature so can be remote.
> > >
> > > I have been thinking of adding another 8 inputs, not for any
> reason
> > > other
> > > than I can. Well, that's not quite true. Since this is
designed
> to
> > > control
> > > my relay board and I am thinking of using them at home I
might
> need
> > > more
> > > than the current inputs. This might be for travel limit
sensing
> for
> > > example.
> > > We shall see.
> > >
> > > All this is done on an Atmel chip using the CodeVision
compiler.
> I
> > > found
> > > PIC's became unreliable and space became tight once I got
beyond
> the
> > > first
> > > page of memory.
> > >
> > > Ian
> > >
> > > >-----Original Message-----
> > > >From: Kevin Hawkins [mailto:<a
href="/group/xAP_developer/post?postID=7KL6KI_T3yy_OcLdZGfV4or6zffRyVZjACT2WyLJ4vw9ExnnWnDHiCLpi5vhSKfAVK0iWqlizYr0ZH2RB-i1AoQ">lists@u...</a>]
> > > >Sent: 14 April 2003 12:17
> > > >To: <a
href="/group/xAP_developer/post?postID=05PtwdUVaF4CJbMiXGWAfuRFPxqhyZfbY0VEM9xt34EYWyydOXWmP3SqfRkYkPPi2H9jVIRvPP_3DMLkbkHHI7uuYuQnsA">xAP_developer@xxxxxxx</a>
> > > >Subject: RE: [xAP_developer] xAP switch
> > > >
> > > >
> > > >Basic switch functionality to send xAP messages can as
you say
> be
> >done
> > > at
> > > >any level of complexity. The lightest implementation
could just
> > > effectively
> > > >send an ON or OFF state based on switch change and all
you
> would
> > > >really need
> > > >is to alter the last two digits of the UID to represent
each
> switch
> >on
> > > one
> > > >unit. (It would have to transmit it's xAP source address
'text'
> as
> > > well of
> > > >course).
> > > > A receiver could also be very lightweight if you wanted
> just
> > > >monitoring the UID to know when your switch has changed
state -
> this
> > > is one
> > > >of the great features of the UID facilitating an
absolutely
> > > >minimal receiver
> > > >complexity. However this would not support wildcarding
if you
> needed
> > > that
> > > >feature.
> > > > The choice of coding several xAP message types into the
> > > transmitter
> > > >or not is really one you personally have to decide. You
could
> >achieve
> > > the
> > > >same by monitoring a particular switch (or switches)
from the
> xAPp
> > > >receiver,
> > > >and as the receiver may already be a PC based
application this
> might
> > > be
> > > >easier code wise. In my view switches should provide
basic
> switch
> >type
> > > xAP
> > > >functionality and loading them with additional
functionality
> may
> >prove
> > > >problematic to maintain as you system expands. If you
had
> several
> > > switches
> > > >each controlling one device they would all need updating
'code
> wise'
> > > if and
> > > >when the destinations changed. Really you should just be
> updating
> > > target
> > > >addresses on the switch rather than the format of the
messages
> > > themselves I
> > > >feel.
> > > > It sounds like your real decision here is based on
whether
> you
> > > will
> > > >envisage using some form of xAP controller in your setup
in the
> long
> > > term -
> > > >a central co-ordinator for exactly this sort of issue
that
> might
> > > provide
> > > >some mapping of sources to destination. Really an issue
of if
> you
> >will
> > > have
> > > >a PC running 24/7 and if you are happy with reducing
your
> >reliability
> > > down
> > > >by becoming dependant on such a controller for the
system to
> work
> > > (ignoring
> > > >the possibility of having a backup/redundant second
> controller). The
> > > system
> > > >would be far more resilient if you supported a direct
source to
> >target
> > > >linking (or even a wildcard variant) and I guess
(thinking as I
> type
> > > here)
> > > >that incorporating the filtering in the target xAPp's
might be
> >easier
> > > and
> > > >the approach I would take.
> > > > Ian B's xAP relay board has some switch inputs IIRR -
you
> could
> > > use
> > > >one of these - indeed maybe Ian could consider offering
an
> input
> >only
> > > >version for exactly this purpose (essentially a
partially
> populated
> > > board).
> > > >A Clipsal C-BUS switch would also do this via the xAP
gateway
> and is
> > > >cosmetically appealing.
> > > >
> > > > I too am interested in the state of any PIC based xAP
> > > framework....
> > > >
> > > > Kevin
> > > >
> > > > > -----Original Message-----
> > > > > From: <a
href="/group/xAP_developer/post?postID=8IvHWnWt_vBPX-Y7bytKvpfsQfGvUVj8MW-25kNkxsQ6w_b2KLgwqEVpaRbd6sIQX-dvUjRzoSalYF1KzthcyC8">steve.cooper@u...</a>
> > > [mailto:<a
href="/group/xAP_developer/post?postID=8IvHWnWt_vBPX-Y7bytKvpfsQfGvUVj8MW-25kNkxsQ6w_b2KLgwqEVpaRbd6sIQX-dvUjRzoSalYF1KzthcyC8">steve.cooper@u...</a>]
> > > > > Sent: 14 April 2003 11:20
> > > > > To: <a
href="/group/xAP_developer/post?postID=05PtwdUVaF4CJbMiXGWAfuRFPxqhyZfbY0VEM9xt34EYWyydOXWmP3SqfRkYkPPi2H9jVIRvPP_3DMLkbkHHI7uuYuQnsA">xAP_developer@xxxxxxx</a>
> > > > > Subject: [xAP_developer] xAP switch
> > > > >
> > > > >
> > > > > Hi
> > > > >
> > > > > Been out of the loop for a while as we have been
rewiring
> and
> > > > > decorating
> > > > > our house. Anyway just starting to catch up again
and
> last
> >night
> > > > > thought
> > > > > of an ideal xAP device.
> > > > >
> > > > > What I need is to have keypad at different points
round
> the
> > > >house. For
> > > > > instance in the bedroom I could do with a small
keypad
> stuck to
> > > the
> > > > > wall
> > > > > that will arm the alarm to night mode, change the
volume
> on the
> > > Rio,
> > > > > trigger the headline and news to be read over the
> speakers,
> > > switch on
> > > > > the
> > > > > bedroom lights.
> > > > >
> > > > > My thought was either to make a xAP switch device
that
> sends
> > > >out a sort
> > > > > of
> > > > > I'm switch unit A and button 1 has been pressed,
then let
> a
> > > controller
> > > > > device on the PC translate the xAP message from a
switch
> xAP
> > > >message to
> > > > > say
> > > > > a Rio or Comfort type xAP message. The alternative
is to
> >program
> > > the
> > > > > switch with the ability to send multiple xAP
messages
> types
> > > >up front so
> > > > > it
> > > > > send the correct message out straight away. The
later
> sound
> > > >better but
> > > > > requires a bit more coding space and I was
thinking of
> just
> > > bashing it
> > > > > out
> > > > > on a PIC. Any views?
> > > > >
> > > > > Also are we anywhere with the PIC developer code
framework
> >based
> > > on
> > > > > Patrick's success with xAP message detection and
> heartbeats.
> > > > >
> > > > > S.
> > >
> > >
> > >
> > > ------------------------ Yahoo! Groups Sponsor
> >---------------------~--
> > > >
> > > Get 128 Bit SSL Encryption!
> > > <a href="http://us.click.yahoo.com/xaxhjB/hdqFAA/VygGAA/dpFolB/TM">http://us.click.yahoo.com/xaxhjB/hdqFAA/VygGAA/dpFolB/TM</a>
> > >
>
>---------------------------------------------------------------------
> ~-
> > > >
> > >
> > > To unsubscribe from this group, send an email to:
> > > <a
href="/group/xAP_developer/post?postID=_ZFzleTtUbxQeayGlEFQr0GeT7BziR_xIF1lUaNWXqYqrIngz6Bq0ONWSKMWfJmO-OG47u580MJNmXokIQoy7uVkirss6RmsG5Y4mnCtKw">xAP_developer-unsubscribe@xxxxxxx</a>
> > >
> > >
> > >
> > > Your use of Yahoo! Groups is subject to
> > > <a href="http://docs.yahoo.com/info/terms/">http://docs.yahoo.com/info/terms/</a>
> >
> >
> >
> >
> >To unsubscribe from this group, send an email to:
> ><a
href="/group/xAP_developer/post?postID=_ZFzleTtUbxQeayGlEFQr0GeT7BziR_xIF1lUaNWXqYqrIngz6Bq0ONWSKMWfJmO-OG47u580MJNmXokIQoy7uVkirss6RmsG5Y4mnCtKw">xAP_developer-unsubscribe@xxxxxxx</a>
> >
> >
> >
> >Your use of Yahoo! Groups is subject to
> <a href="http://docs.yahoo.com/info/terms/">http://docs.yahoo.com/info/terms/</a>
> >
> >
>
>
> _________________________________________________________________
> Stay in touch with absent friends - get MSN Messenger
> <a href="http://www.msn.co.uk/messenger">http://www.msn.co.uk/messenger</a>
>
>
> ------------------------ Yahoo! Groups Sponsor
---------------------~--
> >
> Get 128 Bit SSL Encryption!
> <a href="http://us.click.yahoo.com/xaxhjB/hdqFAA/VygGAA/dpFolB/TM">http://us.click.yahoo.com/xaxhjB/hdqFAA/VygGAA/dpFolB/TM</a>
>
---------------------------------------------------------------------~-
> >
>
> To unsubscribe from this group, send an email to:
> <a
href="/group/xAP_developer/post?postID=_ZFzleTtUbxQeayGlEFQr0GeT7BziR_xIF1lUaNWXqYqrIngz6Bq0ONWSKMWfJmO-OG47u580MJNmXokIQoy7uVkirss6RmsG5Y4mnCtKw">xAP_developer-unsubscribe@xxxxxxx</a>
>
>
>
> Your use of Yahoo! Groups is subject to
> <a href="http://docs.yahoo.com/info/terms/">http://docs.yahoo.com/info/terms/</a>
xAP_Development Main Index |
xAP_Development Thread Index |
xAP_Development Home |
Archives Home
|