Go to advanced search

by s7mx1
Fri Jan 18, 2013 5:37 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 78659

Re: PiHAT - Rasberry Pi Home Automation Transmitter

@engeeaitch @canyon

Just searched "saw filter 433" on ebay and found two links both below 6 pounds. Keep your progress updated if you want to go with the filter route.
by s7mx1
Fri Jan 18, 2013 5:34 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 78659

Re: PiHAT - Rasberry Pi Home Automation Transmitter

@redhawk The unit of 19.4 is inch so you need to convert to cm first which is 49cm. You can buy the same filters from eBay for about 6 quid I'm sure there're no different than the ones sold by Farnell. As for 144.64MHz the correct length is around 19.4cm according to - http://wb5mrn.com/ham/antenna....
by s7mx1
Fri Jan 18, 2013 5:24 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 78659

Re: PiHAT - Rasberry Pi Home Automation Transmitter

I went through these options as well and I have concluded its not worth it. The quality is really poor and the frequency needs to be turned from time to time as it will suffer from frequency shift over time. The range is unlikely to be good. You cannot use it straight and you will need either arduin...
by s7mx1
Fri Jan 18, 2013 12:01 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 78659

Re: PiHAT - Rasberry Pi Home Automation Transmitter

@engeeaitch

You can try this one and should not cost you more than £6 including delivery
http://uk.farnell.com/epcos/b39431b3710 ... dp/1791906
by s7mx1
Fri Jan 18, 2013 11:57 am
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 78659

Re: PiHAT - Rasberry Pi Home Automation Transmitter

The frequency it tunes to is 144.64 MHz therefore the antenna length should be around 49cm without filter. I could be wrong. I will upload some pictures later on to show my setup.
by s7mx1
Tue Jan 15, 2013 1:02 pm
Forum: Automation, sensing and robotics
Topic: Creating the one Pi to rule them all
Replies: 15
Views: 10181

Re: Creating the one Pi to rule them all

If you want RF remote controlled (by pi) power socket you can get one for £5 from asda/morrisons and no additional hardware needed except a single wire. Software is here:

http://www.raspberrypi.org/phpBB3/viewt ... 5&start=14

I am planning to use this solution to control my boiler.
by s7mx1
Mon Jan 14, 2013 12:57 pm
Forum: Automation, sensing and robotics
Topic: RF receiver 433MHZ
Replies: 37
Views: 52929

Re: RF receiver 433MHZ

The transmit unit in the ebay link is of poor quality and you may need to adjust to get the correct frequency and its bound to have frequency shift so you will need to readjust frequently. If you are only after transmission out of pi all you need to do is attach a cable to gpio pin 4 and run the pro...
by s7mx1
Sun Jan 13, 2013 6:50 pm
Forum: Automation, sensing and robotics
Topic: 240 v mains controller
Replies: 28
Views: 11335

Re: 240 v mains controller

That is elegant, but a very different project. The trade off for no components is that the the transmitter has 1/80th of the power and there is no state feedback. A very nice bit of engineering nevertheless. @Hugh The range as stated in that thread is far better than the original remote comes with ...
by s7mx1
Sun Jan 13, 2013 4:02 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 78659

Re: PiHAT - Rasberry Pi Home Automation Transmitter

Farnell sells the filter for less than a pound. The problem is the delivery charge is about £5. You could try maplin.
by s7mx1
Sun Jan 13, 2013 1:22 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 78659

Re: PiHAT - Rasberry Pi Home Automation Transmitter

You cannot use shielded or twisted wire. The range with standard plain wire is good for me and it does penetrate wooden floor well enough so I could control sockets upstairs. As suggested you should use filter to get the best range. Thanks for your quick reply. I definitely have the correct pin, but...
by s7mx1
Sun Jan 13, 2013 12:13 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 78659

Re: PiHAT - Rasberry Pi Home Automation Transmitter

What kind of range do you get with this ? With a 16cm piece of wire hanging off pin 7 (GPIO4) I get no more than ~10cm with the Status units from Asda. I got really good range. Far better than the original remote. My pi is located downstairs and it can control sockets upstairs. I guess you attached...
by s7mx1
Sun Jan 13, 2013 11:18 am
Forum: Automation, sensing and robotics
Topic: 240 v mains controller
Replies: 28
Views: 11335

Re: 240 v mains controller

Try this
http://www.raspberrypi.org/phpBB3/viewt ... 37&t=26485

and this

https://github.com/s7mx1/pihat

Get status remote control socket from either asda or Morrison. Cost is £5 per socket. No any additional hardware needed.
by s7mx1
Sat Jan 12, 2013 1:21 am
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 78659

Re: PiHAT - Rasberry Pi Home Automation Transmitter

Updated binary to extend id to 18 bits. For morrison's remote the id will starts from 65536 - 131071 and 196608 - 262143 for Status remote. Use channel 0 to turn off all sockets registered with the same id. I found my remote id in the end. You can have up to 7 sockets/switches registered with the sa...
by s7mx1
Fri Jan 11, 2013 11:10 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 78659

Re: PiHAT - Rasberry Pi Home Automation Transmitter

redhawk wrote:As a work around for the slight variations in the remote control IDs perhaps you could define a subsection of --brand=5 like --brand=5a for "0011" start sequence and --brand=5b for "0010" start sequence??

Richard S.
That will be 5, 6, 7, 8.
by s7mx1
Fri Jan 11, 2013 10:01 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 78659

Re: PiHAT - Rasberry Pi Home Automation Transmitter

I am not really sure to be honest. Easiest way will be extend id to 18 bits so with status remote the id starts from 131072 -196607 and morrisions' one start from 65536 - 131071.
by s7mx1
Fri Jan 11, 2013 9:29 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 78659

Re: PiHAT - Rasberry Pi Home Automation Transmitter

To change to 0011 you can just modify the line in main.c from

data |= ((uint64_t)1) << 21;

to

data |= ((uint64_t)3) << 21;

The first 4 bits could be OEM strings
by s7mx1
Fri Jan 11, 2013 9:17 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 78659

Re: PiHAT - Rasberry Pi Home Automation Transmitter

What button did you press with your real remote?
by s7mx1
Fri Jan 11, 2013 9:16 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 78659

Re: PiHAT - Rasberry Pi Home Automation Transmitter

in status.c file can you change symbol=0 to symbol=1? then compile the binary
by s7mx1
Fri Jan 11, 2013 9:04 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 78659

Re: PiHAT - Rasberry Pi Home Automation Transmitter

It looks like the pi sends too much zeros.

Can you try run it twice with low id can see if the capture are the same?
by s7mx1
Fri Jan 11, 2013 8:40 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 78659

Re: PiHAT - Rasberry Pi Home Automation Transmitter

With your original remote can you hold down the button and capture the wave? The gap with repeated button is about 9 ms, i.e. 10 times longer than the 0 or 1.
by s7mx1
Fri Jan 11, 2013 8:29 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 78659

Re: PiHAT - Rasberry Pi Home Automation Transmitter

Can you download the latest pi-hat from the github and then run it again? The new binary should be able to print out the binary code it sends out so it will make more sense to me.
by s7mx1
Fri Jan 11, 2013 8:20 pm
Forum: Automation, sensing and robotics
Topic: Home Automation with Raspberry Pi
Replies: 15
Views: 15765

Re: Home Automation with Raspberry Pi

It certainly has potential. It's quite easy to write support for any remote as long as the protocol is known. It can only send out, i.e. transmitter. It's the cheapest and easiest way to do RF control on pi. Instead of hooking up remote with pi's gpio you can transmit 433MHz straight from GPIO pin 4...
by s7mx1
Fri Jan 11, 2013 7:31 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 78659

Re: PiHAT - Rasberry Pi Home Automation Transmitter

The other thing you may want to try is to use a fm radio to record the sound when the button on your remote is pressed. You need to analysing the wave then figure out the emote id.
by s7mx1
Fri Jan 11, 2013 7:28 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 78659

Re: PiHAT - Rasberry Pi Home Automation Transmitter

The id field is only 16 bits which means you can get maximum 65536 unique remote id (including 0). Have you tried my latest binary (which should fix a few bugs) ? There appears to be a problem with the remote ID generated by the app I've counted from 0 to 65535 and still it doesn’t turn off my remot...

Go to advanced search