Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk
To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk
You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."
Today's Topics:
1. Re: R/C Waveforms for Status Power Plugs (James Pattinson)
2. Re: R/C Waveforms for Status Power Plugs (Peter Hemmings)
3. Re: R/C Waveforms for Status Power Plugs (Amias Channer)
4. Re: R/C Waveforms for Status Power Plugs (Ian Plain)
----------------------------------------------------------------------
Message: 1
Date: Mon, 28 Jul 2014 17:41:08 +0100
From: James Pattinson <james@pattinson.org>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] R/C Waveforms for Status Power Plugs
Message-ID: <22448A88-9733-4D92-83DA-4AB14D8E0EB6@pattinson.org>
Content-Type: text/plain; charset="windows-1252"
Hi Peter
How are you getting on with this?
I?m doing something similar, but initially with Arduino. I?ve not had to mess about with Audacity or an oscilloscope or anything, as I?m using a library someone has helpfully already written for this task:
https://code.google.com/p/rc-switch/
Allegedly has Pi compatible code too but not looked at it.
So far I?ve hooked up a very cheap 433MHz receiver module from eBay, run an example program which dumps the output to serial console, and I can see the different codes as I press different buttons on the remote.
Next step is to hook up the transmitter circuit but it looks like it will be pretty straightforward.
Cheers
James
On 25 Jul 2014, at 16:07, Peter Hemmings <peter@hemmings.eclipse.co.uk> wrote:
> Hi,
>
> I have been playing at getting a pi to (eventually) mimic a "R/C" from "Status" power sockets.
>
> I have been following the method below and will have to learn to do a bit of programming using sample scripts!!
>
> http://www.hoagieshouse.com/RaspberryPi/RCSockets/RCPlug.html
>
> I now have a waveform from my R/C (socket 4 -on) and need confirmation of interpretation of the code.
>
> Attached is a copy of the waveform (Audacity) which seems to me to have 25 pulses which I assume is wrong!
>
> The pulse lenghts seem to be of the same proportion as those in the article:
>
> short pulse 2.9usec
> longer pulse 8.95usec
> reset pulse 9.5 milliseconds
>
> I know there are several protocols used for R/C's so need to establish timings/code before going further.
>
> Assuming the small negative pulse is a zero, I think the code is:
> 0100110100000011001111100
>
> but I assume thats not quite correct, any comments/observations?
>
> If anyone is interested I can bring some H/W tomorrow.
>
> BTW it is a very l o n g time since I dabbled with waveforms!
>
>
> Regards
>
> --
> Peter H
> <waveform01.aup>_______________________________________________
> Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.lug.org.uk/mailman/private/bristol/attachments/20140728/8f317a28/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4139 bytes
Desc: not available
URL: <https://mailman.lug.org.uk/mailman/private/bristol/attachments/20140728/8f317a28/attachment-0001.bin>
------------------------------
Message: 2
Date: Mon, 28 Jul 2014 20:24:38 +0100
From: Peter Hemmings <peter@hemmings.eclipse.co.uk>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] R/C Waveforms for Status Power Plugs
Message-ID: <53D6A376.50407@hemmings.eclipse.co.uk>
Content-Type: text/plain; charset=windows-1252; format=flowed
Hi,
On 28/07/14 17:41, James Pattinson wrote:
> Hi Peter
>
> How are you getting on with this?
Sorry, I am catching up on things not done during the last 2 months on
crutches and do not have much time atm.
When I do, I will look at the pi programs for getting the "status"
plugs to work.
>
> I?m doing something similar, but initially with Arduino. I?ve not had
> to mess about with Audacity or an oscilloscope or anything, as I?m
> using a library someone has helpfully already written for this task:
>
> https://code.google.com/p/rc-switch/
It looks like the above is for a range of decoder chips.
FYI we took a plug apart on Saturday and it has a chip with a "K"
number, (K2-04 I think). John H thought it was a "special" made for
Status", not sure what is in the remote. I think the arduino program
may not work with my plugs.
>
> Allegedly has Pi compatible code too but not looked at it.
Coding is not my strong point (in fact I have never got beyond visual
basic 30 years ago!). So this may take a while to sort out.
>
> So far I?ve hooked up a very cheap 433MHz receiver module from eBay,
> run an example program which dumps the output to serial console, and
> I can see the different codes as I press different buttons on the
> remote.
Just to clarify Dave's query, the waveform does repeat itself if I keep
the button pressed, I just cut one complete sample for simplicity.
>
> Next step is to hook up the transmitter circuit but it looks like it
> will be pretty straightforward.
Yep, that's what I hope to do with GPIO from the pi. Once I figure out
the program I can put in the parameters, run the program and again
measure the receiver output and compare it to the original.
>
> Cheers James
snip
If you are a coder and look at the pi in the next few weeks, please let
me know your findings as it might save me some time!?
If I manage to make some progress I will post what I learn!
Regards
--
Peter H
------------------------------
Message: 3
Date: Tue, 29 Jul 2014 10:00:51 +0100
From: Amias Channer <me@amias.net>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] R/C Waveforms for Status Power Plugs
Message-ID:
<CAMgU7XVpwr3fMqnkHVvAzJkuxaejGMsFRfa2_Q9syqC65TNbrw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
On 26 July 2014 00:54, David Smith <David.Smith@ds-electronics.co.uk> wrote:
> And your data pattern is:
> IDLE---BABBAABABBBBBBAABBAAAAABB---IDLE
>
Oh i know this one , its by the beach boys , its on the tip of my tounge
Cheers
Amias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.lug.org.uk/mailman/private/bristol/attachments/20140729/136ccac2/attachment-0001.html>
------------------------------
Message: 4
Date: Tue, 29 Jul 2014 10:08:42 +0100
From: Ian Plain <ian@cyber-cottage.co.uk>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] R/C Waveforms for Status Power Plugs
Message-ID:
<CAPdamw-UrC2FqEHbzJvLWkE=16TVOrcR7bif1iC3YX9c+fUJDg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Why not just use a Tellstick ts001, works ith Pi Linux and macs etc ,
On Monday, July 28, 2014, Peter Hemmings <peter@hemmings.eclipse.co.uk>
wrote:
> Hi,
>
> On 28/07/14 17:41, James Pattinson wrote:
>
>> Hi Peter
>>
>> How are you getting on with this?
>>
>
> Sorry, I am catching up on things not done during the last 2 months on
> crutches and do not have much time atm.
> When I do, I will look at the pi programs for getting the "status" plugs
> to work.
>
>
>> I?m doing something similar, but initially with Arduino. I?ve not had
>> to mess about with Audacity or an oscilloscope or anything, as I?m
>> using a library someone has helpfully already written for this task:
>>
>> https://code.google.com/p/rc-switch/
>>
>
> It looks like the above is for a range of decoder chips.
>
> FYI we took a plug apart on Saturday and it has a chip with a "K" number,
> (K2-04 I think). John H thought it was a "special" made for Status", not
> sure what is in the remote. I think the arduino program may not work with
> my plugs.
>
>
>> Allegedly has Pi compatible code too but not looked at it.
>>
>
> Coding is not my strong point (in fact I have never got beyond visual
> basic 30 years ago!). So this may take a while to sort out.
>
>
>> So far I?ve hooked up a very cheap 433MHz receiver module from eBay,
>> run an example program which dumps the output to serial console, and
>> I can see the different codes as I press different buttons on the
>> remote.
>>
>
> Just to clarify Dave's query, the waveform does repeat itself if I keep
> the button pressed, I just cut one complete sample for simplicity.
>
>
>> Next step is to hook up the transmitter circuit but it looks like it
>> will be pretty straightforward.
>>
>
> Yep, that's what I hope to do with GPIO from the pi. Once I figure out
> the program I can put in the parameters, run the program and again measure
> the receiver output and compare it to the original.
>
>
>> Cheers James
>>
>
> snip
>
> If you are a coder and look at the pi in the next few weeks, please let me
> know your findings as it might save me some time!?
>
> If I manage to make some progress I will post what I learn!
>
> Regards
> --
> Peter H
>
> _______________________________________________
> Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol
>
--
Thanks
Ian Plain
http://www.cyber-cottage.co.uk
Twitter @cyberco
Skype ba17sw
The information transmitted is intended only for the entity or person to
whom it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you receive
this in error, please contact the sender and delete the material from any
computer or media on which it resides. Any information statements or
opinions contained in this message (including any attachments) are given by
the author. They are not given on behalf of cyber-cottage.co.uk. This
email is for information purposes only and does not create legal relations
unless confirmed in a letter or facsimile. cyber-cottage.co.uk does not
accept any liability for information not relating to its official business.
cyber-cottage.co.uk takes steps to minimise viruses and other errors but
cannot guarantee that this email is error free. cyber-cottage.co.uk
monitors email traffic for lawful purposes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.lug.org.uk/mailman/private/bristol/attachments/20140729/b9eeda66/attachment.html>
------------------------------
_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol
End of Bristol Digest, Vol 561, Issue 1
***************************************
Tidak ada komentar:
Posting Komentar