I get annoyed by simple things - two things, right now, in particular.
1. My lightswitch is like, 20 feet away from my bed. I've got a string running on a pulley track made of pushpins across my wall, but that's annoying/inconvenient, and breaks semi-often.
2. My car is old, and while it has internal door lock/unlock buttons, there aren't any remote ones.
Hopefully, you can see where this is leading to. I want to make a remote - Ideally staying with inexpensive and low-power components. I've looked at the sparkfun and seeed RF module kits (seeed here: http://www.seeedstudio.com/depot/315mhz-rf-link-kit-p-76.html
), the seeed is less expensive, so I'd prefer to use that.
The remote will be as small as possible, probably powered ball a small lipo cell, still debating about that - rechargeable, a simple cr2032, something else, etc.
For the lightswitch, I've found a SPDT relay that can handle mains voltage, I'll hook it up in (a sort of) series with my current lightswitch, probably with the traveler
system, and then I'd like to have a receiving module there hooked up to the relay via attiny to interpret the signal. It'll all be powered pretty easily, I've got mains power right there, and transformers are cheap.
In my car, I'll probably just run it off the car battery, because the current draw will ideally be tiny. I'd like it to also be just a receiver and an attiny to interpret/act ('press' the unlock or lock button), but I have a couple concerns:
1. I'm new to RF - the simplest way for me to do it, as far as I've seen so far, is with virtualwire, which looks pretty easy to use. That way, I could just have it send a different message for each command I want, depending on which button I pressed. That way I don't accidentally turn my lights on/off when I'm unlocking or locking my car. However, I don't know that virtualwire can run on an attiny. What's my best bet here - just go with an atmega 168 or 328, pay the $4 extra each, and have it be more convenient/easy, or is there a simpler solution?
2. Interference - from what I understand, that's a big problem. I don't want some random interference unlocking my car, that would be BAD. This is why I wanted to use virtualwire, because it's got (again, from what I understand) built-in checksums and stuff, so it's not likely that random interference will just happen to perfectly emulate a sent command+checksum.
Those are my main concerns right now. If you have any general tips for me, or if you get the gist of what I'm saying/asking and know what I need (a little low on sleep, I'M not even sure what I'm trying to say right now).
... In conclusion, HELP WITH SECURE(ISH) RF ON ATTINY (OR SHOULD I NOT USE ATTINY?)! because I think that's what I've been trying to ask with the past 80 lines of text. Man, I'm going to sleep. Sorry you had to read that.