Author |
Message |
HyperC
Joined: Dec 27, 2012 Posts: 4 Location: Netherlands
|
Posted: Thu Dec 27, 2012 3:36 pm Post subject:
Open gate with cellphone Subject description: Gate opener phone prepaid |
|
|
Hey everybody,
Not sure whether this is the right forum for my question, but it looked techy enough. I also don't think I need arduino parts, but something close to it. I'll jump right to it, here's what I want to do:
I have this gate at my home which can be opened using a remote or a button. The button is simply connecting 2 wires, which gives the gate the signal to open.
What I want to achieve, is to be able to call to a cellphone which I would connect to the gate (the button) to open it. There are devices out there to do this for me, but they cost $300 so I'd rather use the old nokia I recently found in some drawer.
The concept is fairly easy, I just need someone to help me a littls more with the detailed part . This is my plan:
- Take apart the nokia.
- Use either the connection to the speaker or the vibrating rotor to connect to some kind of switch that connects the 2 wires from the gate for a short period. < this is where I need advise.
- Put in a prepaid sim card.
- Set up the nokia with some white-list numbers that trigger the speaker/rotor when it's called. (Already did).
- And I also set it to go off for 2 seconds contiously and then be quiet. This should do as a signal to the gate. Otherwise the gate would open and close all the time.
- Call the nokia, and while it rings, the gate gets the signal and opens. All free of charge, since it doesn't answer.
Who can help me on this? It can't be too hard and it looks like a nice project to me
Thanks on advance! |
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Thu Dec 27, 2012 4:02 pm Post subject:
|
|
|
Hah, ringtones is music
Welkom.
Anyway, yeah, sounds doable, you'd need some post processing and it would not have to be an arduino, but rather something like an envelope follower and an MMV ... people make bombs go off with that
(so recipes should be all over the place I guess ... )
But then again a bomb would be easier prolly.
What is your skill level on electronics? _________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
PHOBoS
Joined: Jan 14, 2010 Posts: 5591 Location: Moon Base
Audio files: 705
|
|
Back to top
|
|
|
HyperC
Joined: Dec 27, 2012 Posts: 4 Location: Netherlands
|
Posted: Fri Dec 28, 2012 2:40 am Post subject:
|
|
|
Ha Blue Hell, that bomb tip is exactly what I needed!
I think what I'll be doing is replace the vibrator with a relay, and that should do the trick. And my skill level is definitly not too high, but I like to figure things out and improve along the way :p
Phobos, I also thought about that solution, but I think a relay will be easier. Thanks for the help though
I'm going to try it out today. Hopefully the voltage the vibrator gets is high enough for the relay, cause I don't want to add extra batteries :/ |
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Fri Dec 28, 2012 6:04 am Post subject:
|
|
|
A 3.6 V relay is probably needed ... good luck and be careful with fireworks _________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
ian-s
Joined: Apr 01, 2004 Posts: 2669 Location: Auckland, New Zealand
Audio files: 42
G2 patch files: 626
|
Posted: Fri Dec 28, 2012 2:52 pm Post subject:
|
|
|
A relay for sure but if you could use the voltage to the backlight, it would give a signal more like what you need. The vibrate is a sequence of short pulses while the backlight stays on for a specific (sometimes adjustable in settings) time. The pulse nature of the vibrator is not a problem for bombs due to the phone being in a million pieces when the second pulse occurs. |
|
Back to top
|
|
|
HyperC
Joined: Dec 27, 2012 Posts: 4 Location: Netherlands
|
Posted: Sat Dec 29, 2012 9:41 am Post subject:
|
|
|
Yeah ian, but this is one of those nokia's that loves to flash the screen when it's called. Besides, I need it to give a signal for about 1 second max, otherwise the gate just will open-close all the time (this happens when the signal is on for too long). Anyway, this is for later concern!
A little update: I went to this local electronic store and the guy had exactly what I needed; a DIY kit called the MK 160 from Velleman. It serves exactly for the purpose I need it for using an LDR. It catches the light from the phone and then activates a relay for a period I could choose myself. I had to solder like 30 joints, and it looked very neat. Just didn't work. I probably messed it up somewhere, and I won't try again
But it brought me some ideas. I tried to just use the 12v relay that came with it, connected to an adapter. I attached it to the joints of the vibrator. But the voltage of the phone was too low to make it work. So I added the adapter in between. The relay now went on when the vibrator were to be activated, but it didn't go off anymore. I lowered the voltage. Same thing. Seems that when the relay goes on, it still gets enough power from just the adapter to not go off anymore.
Conclusion: I need something like a 3V relay, like Blue already mentioned. And then I need to find a way to just let it give a signal for like 1 second. (This mk160 did all this perfectly.. if it worked. Check youtube for a working one).
Where do I get such a relay? I live in the Netherlands, just so you know. Thanks again everyone :p I must succeed with this thing! It driving me nuts haha |
|
Back to top
|
|
|
bubzy
Joined: Oct 27, 2010 Posts: 594 Location: United Kingdom
Audio files: 64
|
Posted: Mon Dec 31, 2012 12:38 am Post subject:
|
|
|
if you have 12v available in your circuit somewhere you can build an opamp with 3.3x gain to boost your phone signal up to 12v.
http://en.wikipedia.org/wiki/File:Operational_amplifier_noninverting.svg
with Rf being something like 33k
and Rg being 10k
dont know if this helps at all, i use this method for boosting 5v to 15v _________________ _Richard_ |
|
Back to top
|
|
|
PHOBoS
Joined: Jan 14, 2010 Posts: 5591 Location: Moon Base
Audio files: 705
|
Posted: Mon Dec 31, 2012 4:18 am Post subject:
|
|
|
You don't need an opamp,. just a transistor driver which is allready present on the velleman PCB. And I would suggest to
try to get that one working. It's probably easier then building something from scratch.
However I did notice that it uses a microprocessor (are they nuts ?) so if you screwed up that one it's a lost cause.
But you can still use part of the circuit anyway. _________________ "My perf, it's full of holes!"
http://phobos.000space.com/
SoundCloud BandCamp MixCloud Stickney Synthyards Captain Collider Twitch YouTube |
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Mon Dec 31, 2012 4:22 am Post subject:
|
|
|
PHOBoS wrote: | (are they nuts ?) |
Heh, they are bloody cheap, and its a nice copy protection at the same time _________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
HyperC
Joined: Dec 27, 2012 Posts: 4 Location: Netherlands
|
Posted: Mon Dec 31, 2012 4:53 am Post subject:
|
|
|
The microprocessors, are those the black units? Cause I noticed I soldered them on facing the wrong way (at least the holders they are in). For some reason the relais instantly clicks on when I put the power in. It does however turn off again after the amount of seconds I tell it to. Giving it light doesn't make the circuit work again though. I need to replug the power for that. |
|
Back to top
|
|
|
|