electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software » Arduino
Open gate with cellphone
Post new topic   Reply to topic
Page 1 of 1 [11 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
HyperC



Joined: Dec 27, 2012
Posts: 4
Location: Netherlands

PostPosted: Thu Dec 27, 2012 3:36 pm    Post subject: Open gate with cellphone
Subject description: Gate opener phone prepaid
Reply with quote  Mark this post and the followings unread

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 Razz. 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 Smile

Thanks on advance!
Back to top
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Thu Dec 27, 2012 4:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hah, ringtones is music Laughing

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 Shocked

(so recipes should be all over the place I guess ... Idea )

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.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
PHOBoS



Joined: Jan 14, 2010
Posts: 5591
Location: Moon Base
Audio files: 705

PostPosted: Thu Dec 27, 2012 4:59 pm    Post subject: Reply with quote  Mark this post and the followings unread

Another way I've seen it done is using a lightsensor on the display since it lights up on an incoming call.
_________________
"My perf, it's full of holes!"
http://phobos.000space.com/
SoundCloud BandCamp MixCloud Stickney Synthyards Captain Collider Twitch YouTube
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
HyperC



Joined: Dec 27, 2012
Posts: 4
Location: Netherlands

PostPosted: Fri Dec 28, 2012 2:40 am    Post subject: Reply with quote  Mark this post and the followings unread

Ha Blue Hell, that bomb tip is exactly what I needed! Razz
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 Smile

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
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Fri Dec 28, 2012 6:04 am    Post subject: Reply with quote  Mark this post and the followings unread

A 3.6 V relay is probably needed ... good luck and be careful with fireworks Cool
_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
ian-s



Joined: Apr 01, 2004
Posts: 2669
Location: Auckland, New Zealand
Audio files: 42
G2 patch files: 626

PostPosted: Fri Dec 28, 2012 2:52 pm    Post subject: Reply with quote  Mark this post and the followings unread

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. Shocked
Back to top
View user's profile Send private message
HyperC



Joined: Dec 27, 2012
Posts: 4
Location: Netherlands

PostPosted: Sat Dec 29, 2012 9:41 am    Post subject: Reply with quote  Mark this post and the followings unread

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 Razz

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
View user's profile Send private message
bubzy



Joined: Oct 27, 2010
Posts: 594
Location: United Kingdom
Audio files: 64

PostPosted: Mon Dec 31, 2012 12:38 am    Post subject: Reply with quote  Mark this post and the followings unread

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_ Smile
Back to top
View user's profile Send private message
PHOBoS



Joined: Jan 14, 2010
Posts: 5591
Location: Moon Base
Audio files: 705

PostPosted: Mon Dec 31, 2012 4:18 am    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Mon Dec 31, 2012 4:22 am    Post subject: Reply with quote  Mark this post and the followings unread

PHOBoS wrote:
(are they nuts ?)


Heh, they are bloody cheap, and its a nice copy protection at the same time Wink

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
HyperC



Joined: Dec 27, 2012
Posts: 4
Location: Netherlands

PostPosted: Mon Dec 31, 2012 4:53 am    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1 [11 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Arduino
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use