Go to advanced search

by Hoagie
Mon Jan 14, 2013 1:35 pm
Forum: Automation, sensing and robotics
Topic: Switch array layout.
Replies: 17
Views: 3634

Re: Switch array layout.

Hey, I want to create a array with a few switches but I don't want to use one GPIO per switch. I have created a layout: http://img827.imageshack.us/img827/3176/20130113214724.jpg The question I have now is what diode should I use? I thought about some 1N4001 but even after a few articles I don't se...
by Hoagie
Fri Jan 11, 2013 8:16 am
Forum: Automation, sensing and robotics
Topic: 12x S0 kWh-reader
Replies: 35
Views: 12033

Re: 12x S0 kWh-reader

Had to skip a bit near the end of this thread. If the number of pulses is a problem, just use a binary counter IC to divide the frequency by 16, or 256. Let me just expand on that a bit. Feed 5V through a resistor into the meter. When the transistor in the meter pulses, it'll pull it down and there...
by Hoagie
Thu Jan 10, 2013 1:02 pm
Forum: Automation, sensing and robotics
Topic: 12x S0 kWh-reader
Replies: 35
Views: 12033

Re: 12x S0 kWh-reader

Had to skip a bit near the end of this thread. If the number of pulses is a problem, just use a binary counter IC to divide the frequency by 16, or 256.
by Hoagie
Wed Jan 09, 2013 7:38 am
Forum: Automation, sensing and robotics
Topic: Where to start for an electric gate opening project?
Replies: 4
Views: 1560

Re: Where to start for an electric gate opening project?

It may be worth looking at a web page to open the gate. You could use a phone browser to control it then. The Pi would need an internet connection though. Of course, you'd want to password protect the page, but that's easy enough on most web server software. Something as simple as a CGI script could...
by Hoagie
Tue Jan 08, 2013 9:42 am
Forum: Automation, sensing and robotics
Topic: Home sms alarm - Powered by Rpi?
Replies: 2
Views: 4853

Re: Home sms alarm - Powered by Rpi?

Hi, Firstly, let me say that I agree on avoiding wireless sensors if possible. They simply aren't reliable enough for my liking. Having got that out of the way, here's how I did it... This post holds the code to read the data from a 433MHz receiver. I got a transmitter and receiver from ebay for £1....
by Hoagie
Thu Jan 03, 2013 12:13 pm
Forum: Automation, sensing and robotics
Topic: Alarm Control
Replies: 1
Views: 711

Re: Alarm Control

Short answer (to the will I need extra hardware question) - most likely. It all depends on the inputs and outputs available on the alarm system. If the outputs are relay type (where a pair of connections are connected together or not to signal an active or inactive output) or 3.3v logic (highly unli...
by Hoagie
Thu Dec 20, 2012 1:07 pm
Forum: Automation, sensing and robotics
Topic: WIFI based remote light control
Replies: 5
Views: 7392

Re: WIFI based remote light control

Sorry to blow my own trumpet, but take a look at MagPI issue 8. I use radio controlled mains sockets to control things around my house.

Regards,
Geoff.
by Hoagie
Wed Dec 19, 2012 2:06 pm
Forum: Automation, sensing and robotics
Topic: ArduinoCommand - Raspberry PI --> Arduino
Replies: 24
Views: 20792

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

Here goes. I'm not sure how much I can paste into this forum. // g++ -o in rfin.cpp -lwiringPi -lrt // use the line above to compile this. #define MINCYCLE 1000000 #define MAXCYCLE 1600000 #define THRESHOLD 600000 #include <wiringPi.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #incl...
by Hoagie
Tue Dec 18, 2012 4:54 pm
Forum: Automation, sensing and robotics
Topic: ArduinoCommand - Raspberry PI --> Arduino
Replies: 24
Views: 20792

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

Hi, I have a 433Mhz receiver hooked up to a Pi and can intercept the 24 bit control codes used by my remote control mains sockets. The data is encoded in the width of the pulses, 300uSec for a zero and 900uSec for a one. The starts of the pulses are always 1200uSec apart. Let me know if you want the...
by Hoagie
Tue Dec 18, 2012 4:20 pm
Forum: Automation, sensing and robotics
Topic: reading domestic electricity use
Replies: 34
Views: 38528

Re: reading domestic electricity use

Right, I must admit I payed no attention whatsoever to S/N on my setup, though mine is in a place that's always dark.
by Hoagie
Wed Dec 05, 2012 7:12 am
Forum: Automation, sensing and robotics
Topic: Logging temperatures using RRDTool and Highcharts
Replies: 68
Views: 79911

Re: Logging temperatures using RRDTool and Highcharts

Very cool, well done! The USB device looks awesome, do you think it can receive data from WH1080 weather sensors? Commonly sold by Maplin in the UK... http://j.mp/YlEWmM I had a PC recording graphs from a similar wireless weather station. However, I did it by intercepting the radio transmission and...
by Hoagie
Fri Nov 09, 2012 12:29 pm
Forum: Automation, sensing and robotics
Topic: reading domestic electricity use
Replies: 34
Views: 38528

Re: reading domestic electricity use

I didn't want to spend money on gadgets like this, and I'm fortunate enough to have an electricity meter that encorporates a flashing LED. I built a simple circuit and some Python code to read the blinks and store them in a database, from which I can create my own graphs. You can grab the source co...
by Hoagie
Thu Oct 11, 2012 11:57 am
Forum: Automation, sensing and robotics
Topic: Drive DC star(3.5 floppy) motor with ULN2003
Replies: 4
Views: 1987

Re: Drive DC star(3.5 floppy) motor with ULN2003

You could also try adding some more steps to the sequence as follows...
Currently you have
a
b
c

but you could try
a
ab
b
bc
c
a c

Also, are you giving enough current to the coils?
by Hoagie
Wed Oct 10, 2012 2:51 pm
Forum: Automation, sensing and robotics
Topic: How can you use a pi to controlled a mains switch
Replies: 32
Views: 21713

Re: How can you use a picture to controlled a mains switch

Its simple take a maplins remote control plug, http://www.maplin.co.uk/remote-controlled-mains-sockets-5-pack-348217 plus a 433mhz trannsmiter http://www.maplin.co.uk/rf-transmitter-receiver-and-transceiver-modules-267236 And check the forum for code, lot of people have done it. Example: https://gi...
by Hoagie
Sun Oct 07, 2012 10:00 am
Forum: Automation, sensing and robotics
Topic: How can you use a pi to controlled a mains switch
Replies: 32
Views: 21713

Re: How can you use a pi to controlled a mains switch

Here's how I did it.

http://www.hoagieshouse.com/RaspberryPi ... CPlug.html

I have 2 bedside lamps controlled by cron jobs now to come on just before Me and the Mrs need to wake up in the mornings.
by Hoagie
Fri Oct 05, 2012 12:04 pm
Forum: Automation, sensing and robotics
Topic: RF Bitbanger ported to Raspberry Pi
Replies: 91
Views: 45303

Re: RF Bitbanger ported to Raspberry Pi

I did something just like this, but without any kernel hacking. A user space program outputs all the data at a suitable speed. So far it's proved 100% reliable, despite other programs running on the PI fighting for CPU cycles.

http://www.hoagieshouse.com/RaspberryPi ... CPlug.html
by Hoagie
Thu Oct 04, 2012 11:58 am
Forum: Automation, sensing and robotics
Topic: How can you use a pi to controlled a mains switch
Replies: 32
Views: 21713

Re: How can you use a pi to controlled a mains switch

I have a set of Morrisons (a UK supermarket) Status remote control mains sockets. Cost me a fiver with some petrol. I hooked a 433MHz transmitter to my PI, and can control all three sockets anywhere in the house. I'm half way through writing up a little web page on the project and will post a link o...
by Hoagie
Wed Oct 03, 2012 11:44 am
Forum: Graphics, sound and multimedia
Topic: Bat detector
Replies: 28
Views: 30109

Re: Bat detector

I made a bat detector a long time ago and keep thinking about making a new one. My sensor was a 40KHz Ultrasonic receiver intended for remote control applications. The bandwidth of it was only 2 KHz which helped for my design. I amplified the signal, then used an analogue switch to sample at a 38kHz...
by Hoagie
Sun Sep 23, 2012 7:45 pm
Forum: Other projects
Topic: Controlling a mains power socket switch? (home automation)
Replies: 174
Views: 65287

Re: Controlling a mains power socket switch? (home automatio

I have a system working with these on my Pi. Status remote control power sockets from Morrisons. 3 for 5 quid when you buy petrol a while ago. I used one of these http://www.ebay.co.uk/itm/1Pcs-New-433Mhz-RF-transmitter-and-receiver-link-kit-for-ARM-MCU-WL-/251155482508?pt=UK_BOI_Electrical_Componen...

Go to advanced search