Go to advanced search

by Hoagie
Mon Apr 08, 2013 12:00 pm
Forum: Automation, sensing and robotics
Topic: Automating button presses on a circuit board
Replies: 12
Views: 2378

Re: Automating button presses on a circuit board

That would be 18 μA. It may seem low, but it's easily enough to switch the input of an IC.
by Hoagie
Wed Mar 27, 2013 10:00 pm
Forum: General discussion
Topic: handbrake-cli?
Replies: 26
Views: 12598

Re: handbrake-cli?

There's a thread on here somewhere about using the h264 hardware to encode stuff.

Handbrake uses libx264, which is pure software. .4 fps is doing well on an arm v6 like the pi.
by Hoagie
Wed Mar 20, 2013 7:32 am
Forum: Automation, sensing and robotics
Topic: ArduinoCommand - Raspberry PI --> Arduino
Replies: 24
Views: 20793

Re: Piwi : 433.92 Mhz Arduino <-> Raspberry PI

I posted some code on here that just dumps the times between transitions, you may be able to use that to find some better settings for the times in the receiver code. But, it could be a completely different modulation system that my receiver code doesn't work with.

Geoff.
by Hoagie
Sat Mar 16, 2013 10:23 pm
Forum: Automation, sensing and robotics
Topic: RF receiver 433MHZ
Replies: 37
Views: 54362

Re: RF receiver 433MHZ

HI, I sometimes find a bit here and there comes through wrong too. The code always gets repeated quite a few times though, so I generally just live with it. I just put it down to the number of devices all trying to use the same frequency. With the error always being the first bit, maybe it's somethi...
by Hoagie
Sat Mar 16, 2013 6:20 pm
Forum: Automation, sensing and robotics
Topic: Basic Z-Wave Home automation system on the Pi
Replies: 3
Views: 4534

Re: Basic Z-Wave Home automation system on the Pi

Not to blow my own trumpet, but have you looked at MagPi issue 8?
by Hoagie
Wed Mar 13, 2013 12:19 pm
Forum: Automation, sensing and robotics
Topic: portable rpi controlling relays
Replies: 3
Views: 1198

Re: portable rpi controlling relays

I'd go for an android tablet for the portable side, someone's already done the display, touch input, power, networking etc. for you that way. The PI is ideal for the server and control part of it though. At my house I have the Pi controlling some lights with a simple web page. This allows me to cont...
by Hoagie
Thu Mar 07, 2013 8:30 am
Forum: Automation, sensing and robotics
Topic: Email with activation of magnetic reed switch not working
Replies: 4
Views: 2939

Re: Email with activation of magnetic reed switch not workin

I'd go for making the code readable and maintainable first. Indentation is your friend. Simplify readInput() to read the value to a variable and call a separate function to handle it, then do the SetTimeout to make it loop. Functions within functions just make the code hard to debug. Once the code's...
by Hoagie
Wed Mar 06, 2013 7:26 am
Forum: Automation, sensing and robotics
Topic: Measuring home power consumption using Pi
Replies: 5
Views: 30404

Re: Measuring home power consumption using Pi

Does your electricity meter have a flashing light on it? Mine does and I count the flashes of that to monitor my power usage. I'm not using a Pi for it yet, but hope to do so soon. I have a LDR and resistor connected to the serial port of a small server and code on there to measure the frequency of ...
by Hoagie
Sun Mar 03, 2013 9:35 pm
Forum: Graphics, sound and multimedia
Topic: Compiling X264
Replies: 5
Views: 2498

Re: Compiling X264

Hi,

Sorted it in the end. I'm using HandBrakeCLI which uses x264. But it doesn't use the system libx264, which i had compiled with disable-asm. It downloads and builds its own and links with that. I posted what to edit in another thread on here. It should be easy to find.

Thanks anyway,
Geoff.
by Hoagie
Sat Mar 02, 2013 7:21 am
Forum: General discussion
Topic: handbrake-cli?
Replies: 26
Views: 12598

Re: handbrake-cli?

I now have handbrakecli working with x264. It seems that handbrake ignores the libx264 on your system and builds its own. By default it builds it with the neon stuff enabled. The Pi cpu doesn't have neon. To make it build an x264 that works do this... Edit ./contrib/x264/module.defs: in the handbrak...
by Hoagie
Fri Mar 01, 2013 12:39 pm
Forum: Automation, sensing and robotics
Topic: Opinion's needed - RaspPi Engine Monitoring
Replies: 5
Views: 1562

Re: Opinion's needed - RaspPi Engine Monitoring

Logging a few values 10 times a second sounds easily within the Pis capabilities. Outputting the live data to a display should be ok too.
by Hoagie
Fri Mar 01, 2013 8:02 am
Forum: Automation, sensing and robotics
Topic: Viewing sensor data on webpage from pi
Replies: 12
Views: 69694

Re: Viewing sensor data on webpage from pi

Here's how I would do it, with a lot of things to google in bold. Don't google AJAX first, or you may get scared off. I'd do it with a mostly static web page containing a bit of AJAX to periodically fetch the sensor readings from a CGI program on the Pi. mini-httpd works well as the web server. Type...
by Hoagie
Fri Mar 01, 2013 7:35 am
Forum: Automation, sensing and robotics
Topic: PCA9955 to increase PWM outputs
Replies: 1
Views: 816

Re: PCA9955 to increase PWM outputs

I can see a few differences between those ICs, which difference is the problem?
by Hoagie
Thu Feb 28, 2013 1:03 pm
Forum: Graphics, sound and multimedia
Topic: Compiling X264
Replies: 5
Views: 2498

Re: Compiling X264

Did you get x264 working? All my efforts seem to lead to an "illegal instruction" error message.
by Hoagie
Tue Feb 26, 2013 7:29 am
Forum: Automation, sensing and robotics
Topic: ArduinoCommand - Raspberry PI --> Arduino
Replies: 24
Views: 20793

Re: Piwi : 433.92 Mhz Arduino <-> Raspberry PI

Hi, It sounds like the timing is ok if most buttons work. But anyway, here's how to do it. Run the timing app and press your control button. Find the area in the output where the numbers seem consistently higher than the rest, this is where the control transmitted. Copy the data from there into note...
by Hoagie
Tue Feb 26, 2013 7:19 am
Forum: General discussion
Topic: handbrake-cli?
Replies: 26
Views: 12598

Re: handbrake-cli?

Hi,

I tried the --preset="high" option and it said it was using an MP4 codec, but no mention of x264. The result looks great on a Nexus 7 screen though, so I think I'll stick with that for now.

Basically, thanks. You made me remove my x264 blinkers and now I'm very happy with the results.

Geoff.
by Hoagie
Mon Feb 25, 2013 9:42 am
Forum: Automation, sensing and robotics
Topic: 433Mhz Tranmitter Receiver
Replies: 1
Views: 2725

Re: 433Mhz Tranmitter Receiver

Whether this is possible depends on how clever the signalling between the alarm components is. If they use rolling codes to prevent anyone intercepting and re-creating the signals, then it's going to be somewhere between very difficult and impossible. First step would be to get hold of the 433MHz re...
by Hoagie
Fri Feb 22, 2013 1:36 pm
Forum: Automation, sensing and robotics
Topic: Any one what to make a security system with Raspberry?
Replies: 9
Views: 2812

Re: Any one what to make a security system with Raspberry?

I have a system running with wireless PIRs and a usb keypad to enable / disable. It e-mails me if it detects anything. I did have it monitoring my phone to arm its self when I left the wifi range, but it turned out to be too temperamental to trust it. The only thing I'm missing now is an external so...
by Hoagie
Thu Feb 21, 2013 10:41 pm
Forum: Automation, sensing and robotics
Topic: ArduinoCommand - Raspberry PI --> Arduino
Replies: 24
Views: 20793

Re: Piwi : 433.92 Mhz Arduino <-> Raspberry PI

Hi, I think the rfm12 is a much more complex device than the one I used. I'm pretty sure the connections aren't as simple as your picture implies. There are a few threads on the forum discussing that device. The people in those know far more than me on it, so I think you would be better off searchin...
by Hoagie
Thu Feb 21, 2013 12:25 pm
Forum: Automation, sensing and robotics
Topic: RF receiver 433MHZ
Replies: 37
Views: 54362

Re: RF receiver 433MHZ

Searching the forum for rfm12b shows lots of people doing this kind of thing with that module. It seems a bit overcomplicated for this, and it's surface mount, so not as easy to connect.

Geoff.
by Hoagie
Thu Feb 21, 2013 8:50 am
Forum: Automation, sensing and robotics
Topic: Can I receive Radio signals with the GPIO
Replies: 1
Views: 878

Re: Can I receive Radio signals with the GPIO

You can't do this without extra hardware.

To be honest the simplest way would be to get a couple USB of wifi adaptors.
by Hoagie
Tue Feb 19, 2013 9:43 pm
Forum: Automation, sensing and robotics
Topic: RF receiver 433MHZ
Replies: 37
Views: 54362

Re: RF receiver 433MHZ

Hi, I'm interested too in connecting my receiver to the rpi. My goal is to get the code of a remote for 433mhz plugs which I cannot find.. I would like to keep transmitting the code from the remote and in some way record it with the rpi. I have found this https://github.com/CurlyMoo/433.92-Raspberr...
by Hoagie
Tue Feb 19, 2013 9:36 pm
Forum: Automation, sensing and robotics
Topic: Home Automation - Control via SSH
Replies: 13
Views: 5793

Re: Home Automation - Control via SSH

Firstly, you could pass 1-4 and f or o as the parameters to doxml from the button clicks. They would then get passed to the cgi script. The script would then be something like this... cd /var/www/cgi-bin PARAMS=`echo $QUERY_STRING | cut -d\? -f 2` CHAN=`echo $PARAMS | cut -d\& -f 1` ACT=`echo $PARAM...
by Hoagie
Mon Feb 18, 2013 1:16 pm
Forum: Automation, sensing and robotics
Topic: Home Automation - Control via SSH
Replies: 13
Views: 5793

Re: Home Automation - Control via SSH

Hey Geoff, I've now set up the httpd web server as you've suggested. How do I know input my commands into the page....I assume I have to change the switch.html file somewhere in the line: <td><button type="button" onclick="Doxml('1','on')">ON</button></td> So I tried this: <td><button type="button"...
by Hoagie
Mon Feb 18, 2013 12:58 pm
Forum: General discussion
Topic: handbrake-cli?
Replies: 26
Views: 12598

Re: handbrake-cli?

Thanks, good to know it's not just me. I like the x264 CODEC as I know it plays well on everything I use. I'll give the default mpeg 4 a go and see if I like it.

Cheers,
Geoff.

Go to advanced search