Go to advanced search

by ant_thomas
Tue Jan 15, 2013 7:36 pm
Forum: General discussion
Topic: PRI Sensors
Replies: 22
Views: 4805

Re: PRI Sensors

gordon@drogon.net wrote: If you have wiringPi installed, then test the GPIO as follows:
Only just had chance to give wiringPi a go but it doesn't seem to want to compile using "./build" even as root.

Here's the output

http://pastebin.com/TB9XNWkQ

(probably not the best thread for this!)
by ant_thomas
Thu Jan 10, 2013 8:24 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 82716

Re: PiHAT - Rasberry Pi Home Automation Transmitter

I'm currently running a bash script to execute pihat with every id between 0-65535.

Just waiting for my light to turn off....
by ant_thomas
Thu Jan 10, 2013 7:57 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 82716

Re: PiHAT - Rasberry Pi Home Automation Transmitter

One more question.

Is it possible to find out the id of my actual remote without trying 0-65535?
by ant_thomas
Thu Jan 10, 2013 7:55 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 82716

Re: PiHAT - Rasberry Pi Home Automation Transmitter

I can confirm it does work with Status remote switches (ones sold by Asda in 3 packs). Do you have an antenna wire attached to "GPIO 4" pin?? without this your TX range is approximately 10cm. http://elinux.org/RPi_Low-level_peripherals#General_Purpose_Input.2FOutput_.28GPIO.29 For the best range at...
by ant_thomas
Thu Jan 10, 2013 7:32 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 82716

Re: PiHAT - Rasberry Pi Home Automation Transmitter

There's a fault in the code somewhere it's not accepting the --brand parameter. A work around: edit main.c goto line 119 and change BRAND_NEXA to BRAND_STATUS then make and it should work. Richard S. Thanks. Doesn't seem to work. It's not pairing. Hopefully someone else can try too, might just be me!
by ant_thomas
Thu Jan 10, 2013 7:06 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 82716

Re: PiHAT - Rasberry Pi Home Automation Transmitter

Got the files.... https://dl.dropbox.com/u/14641356/rpi/20X2-Morissons.txt #Picaxe 20X2 #No_Table #No_Data #Terminal 38400 Symbol DATA_PIN = pinB.0 ' HINT1 - Received from 433MHz module Symbol dataStream.lsw = w0 ' b1:b0 Symbol dataStream.msw = w1 ' b3:b2 Symbol dataLast.lsw = w2 ' b5:b4 Symbol data...
by ant_thomas
Thu Jan 10, 2013 6:50 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 82716

Re: PiHAT - Rasberry Pi Home Automation Transmitter

I just downloaded the binary and it won't run: -bash: ./pihat: cannot execute binary file according to "file" it appears to be an x86 not ARM executable. root@raspberrypi:~# file pihat pihat: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Li...
by ant_thomas
Thu Jan 10, 2013 4:20 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 82716

Re: PiHAT - Rasberry Pi Home Automation Transmitter

I did some quick code and you can download the modified version (for status remote) here https://github.com/s7mx1/pihat/raw/master/pihat Usage is here https://github.com/s7mx1/pihat I have not tested it personally so it may or may not work and I am not responsible for any damage it may cause. Thank...
by ant_thomas
Wed Jan 09, 2013 6:33 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 82716

Re: PiHAT - Rasberry Pi Home Automation Transmitter

This thread might be helpful.... http://www.picaxeforum.co.uk/showthread.php?16509-El-cheapo-mains-remote&s=1f9adcd582a0818dde9e6c850d92f87e More so this post..... Decoding the RCT-08 remote using a standard 433MHz receiver module and 20X2 :-) Typical output ... 0001 <0110 0000 0111 1011> <1000> 0 R...
by ant_thomas
Wed Jan 09, 2013 6:03 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 82716

Re: PiHAT - Rasberry Pi Home Automation Transmitter

Based on the brilliant work on the project, I decided to use the fractional divider to control remote power switches operating at 433.92 MHz. A long story short; it worked! As of now it is limited to controlling Nexa-remotes (which is commonly available at least here in Scandinavia). Source code, c...
by ant_thomas
Wed Jan 09, 2013 3:14 pm
Forum: Automation, sensing and robotics
Topic: PiHAT - Rasberry Pi Home Automation Transmitter
Replies: 194
Views: 82716

Re: PiHAT - Rasberry Pi Home Automation Transmitter

Based on the brilliant work on the **** project, I decided to use the fractional divider to control remote power switches operating at 433.92 MHz. A long story short; it worked! As of now it is limited to controlling Nexa-remotes (which is commonly available at least here in Scandinavia). Source co...
by ant_thomas
Wed Jan 09, 2013 11:18 am
Forum: General discussion
Topic: PRI Sensors
Replies: 22
Views: 4805

Re: PRI Sensors

Thanks Gordon, I'll give that a go. Matt: Definitely referencing the correct GPIO pin (12/18). Once I unplug the "out" cable it goes to "0". I'll give wiringPi a go tonight. Maybe it is constantly detecting movement. I'll stick the sensor in a box or something to avoid light/movement. I got mine off...
by ant_thomas
Wed Jan 09, 2013 10:36 am
Forum: General discussion
Topic: PRI Sensors
Replies: 22
Views: 4805

Re: PRI Sensors

Can't speak for Farnell but this does what it says on the tin (at least for me). http://www.ebay.co.uk/itm/Automatical-AK-GY001-Pyroelectric-PIR-IR-Infrared-Motion-Sensor-Detector-Module-/320947825391 Can you tell me how you've wired this up? Did you connect it direct to the GPIO? I've got a very s...
by ant_thomas
Mon Jan 07, 2013 5:59 pm
Forum: Other projects
Topic: Very simple relay/switch
Replies: 14
Views: 8560

Re: Very simple relay/switch

I bought a 3rd Relay which works the same way as the 1st

3rd Relay - Arduino 5V Relay Module - Blue + Black
http://dx.com/p/arduino-5v-relay-module ... ack-121354

Image
by ant_thomas
Thu Jan 03, 2013 8:23 pm
Forum: Other projects
Topic: Another POE Question
Replies: 4
Views: 1192

Re: Another POE Question

Hi All, I plan to use RPI's as either Openelec Media Centers or DLNA control points around the house, (7 units for now). I have been thinking about the cleanest solution and this obviously involves POE. I have an 8 port POE switch witch would be perfect and I intend to use a 5v HV UBEC at the RPI e...
by ant_thomas
Tue Jan 01, 2013 3:28 pm
Forum: Other projects
Topic: A DIY PoE solution
Replies: 36
Views: 90556

Re: A DIY PoE solution

I've made a homemade POE system for an RPi that lives outside. It uses an old 24V (I think 550mA) power supply and both of the spare pairs. The ethernet cable is 50M CAT5E. I had a spare 2 pair ethernet cable lying around so cut that in half and spliced it in to save me putting connectors on. At the...
by ant_thomas
Mon Dec 31, 2012 3:09 pm
Forum: Other projects
Topic: Very simple relay/switch
Replies: 14
Views: 8560

Re: Very simple relay/switch

Might be of use to some people. I bought a 2nd relay which looks very similar but doesn't work in the same way as the first. 1st Relay - 1 Channel 5-12v Relay Module for Arduino PIC ARM http://www.ebay.co.uk/itm/170967093388 https://dl.dropbox.com/u/14641356/rpi/relay1.jpg 2nd Relay - New 5V 10A 1-C...
by ant_thomas
Sat Dec 29, 2012 8:05 pm
Forum: Other projects
Topic: Security Camera System
Replies: 83
Views: 116936

Re: Security Camera System

Oh yes, same in my RPi. During my first experiments I used 'capture'. Then I wrote Java application based on v4l4j library http://code.google.com/p/v4l4j/ that is trying to take frame (it takes one second, sometimes less, sometimes more) and then wait for example 0.5 sec, then take frame again. I c...
by ant_thomas
Sat Dec 29, 2012 7:54 pm
Forum: Other projects
Topic: Very simple relay/switch
Replies: 14
Views: 8560

Re: Very simple relay/switch

Relay connected to the camera and it works great. The camera check is done quite simply using lsusb, grep and an if statement lsusb | grep -i -c canon >> lsusbcanon.txt CAMERA=$(cat lsusbcanon.txt) if [ $CAMERA = "0" ]; then echo "17" > /sys/class/gpio/export echo "out" > /sys/class/gpio/gpio17/dire...
by ant_thomas
Sat Dec 29, 2012 10:29 am
Forum: Other projects
Topic: Security Camera System
Replies: 83
Views: 116936

Re: Security Camera System

Though I do have a Logitech HD Webcam C310 working well at full resolution (1280x960) via a powered USB hub running 24/7 taking a photo every 20 seconds. Can you set highest resolution for this camera and take photo every 1 second? I'll see what I can do. But I think 1sec is too much. I think the a...
by ant_thomas
Sat Dec 29, 2012 10:16 am
Forum: Other projects
Topic: CCCAM / OSCAM
Replies: 38
Views: 87320

Re: CCCAM / OSCAM

Looks like it. Are you overclocking?

I have my cccam/oscam server rebooting at 5am each night to help with stability.
by ant_thomas
Fri Dec 28, 2012 11:02 pm
Forum: Other projects
Topic: DLSR SD card backup
Replies: 2
Views: 856

Re: DLSR SD card backup

USB Reader for the camera SD card since the Pi will need the inbuilt SD card slot to boot off.
by ant_thomas
Fri Dec 28, 2012 10:23 pm
Forum: Other projects
Topic: Very simple relay/switch
Replies: 14
Views: 8560

Re: Very simple relay/switch

I've gone down the relay route. I bought a "1 Channel 5-12v Relay Module for Arduino". Hooked it up to the GPIO and it's turning on and off exactly as I want it. Just need to connect it to my camera on/off button and I'm done. I used bash for the GPIO bits, which I got from here http://www.susa.net/...
by ant_thomas
Fri Dec 28, 2012 10:16 pm
Forum: Other projects
Topic: Security Camera System
Replies: 83
Views: 116936

Re: Security Camera System

I tried Camorama, but It failed totally. I never really looked into Camorama any farther to see if I could adjust settings. Any other software you recommend? During summer holidays I have tried many programs and Logitech, Creative and Microsoft webcams. Forget about it - you will get tons of proble...
by ant_thomas
Tue Dec 25, 2012 11:01 pm
Forum: Other projects
Topic: Security Camera System
Replies: 83
Views: 116936

Re: Security Camera System

I'm looking at adding a pi/camera to my vehicle for a dash cam /nighttime security. I found I can upload nightly via FTP using a crontab, and then having another crontab delete all the old files. My only problem is getting Motion to work with the camera above 320x280 res. I think it may be a USB is...

Go to advanced search