Maker Pro
Maker Pro

Controlling a relay via cellular phone.....

M

Meindert Sprang

Jan 1, 1970
0
Maybe he needs to reboot because the computer gets locked up, in which case
he would need an "outside line".

Then maybe he needs to run an OS that does not need rebooting.....

Meindert
 
J

jasen

Jan 1, 1970
0
Hello,

Since a few weeks I am running a webcamserver . It is stationed 40
Kilometers away. I control it via an UltraVNC connection. However, about 2
times a week I need to hard-reset the computer manually.
I am looking for some kind of construction to reset the computer via a GSM
cellular phone.
The only thing I need is a relay that I can switch by making a call to the
GSM phone. So, I need only 1 channel.
This relay could switch the reset-button.

set the phone to vibrate when it gets a call from you
(if you set it to only do it on calls from you and to refusa other calls
that's probably best)

and then use a vibration detector to reboot the computer,
(or wire a small relay in place of the vibration motor)

the best part of this plan is that in many places unanswered calls are free!


vibration switch:

------+-------------------+----+--- +v.
| | |
/ relay |~/ |
1K \ coil |/| |
/ /_| |
\ | |
| +->|-'
+--->|-. 4K7 /
| | |/
vibration | +--/\/\/--|
contacts | | |\|
#|><| | ~\
| ===== |
| | 10uF |
| | |
--------+---+------------+-

the vibration sensor use two contacts one one fixed to the back of the phone
the other lightly touching and weighted (with a small weight (small coin
etc))

I've seen similar contacts used in pinball machines.

Bye.
Jasen
 
M

Michael A. Terrell

Jan 1, 1970
0
Meindert said:
Then maybe he needs to run an OS that does not need rebooting.....

Meindert


Even the old OS in ROM computers needed rebooted at times. The only
computer that never needs to be rebooted has already been tossed into
the pile to be recycled.


--
Service to my country? Been there, Done that, and I've got my DD214 to
prove it.
Member of DAV #85.

Michael A. Terrell
Central Florida
 
J

jasen

Jan 1, 1970
0
If it's locking up, the printer port makes even more sense. Output a
pulse at a regular interval. If it stops, your controller resets the
computer. A simple missing pulse detector and a little thought will
show you how it works. Think of it as an external watchdog timer.

the trick would be putting the pulse emmission in a place where it can't
happen when the computer needs to be rebooted.

I've seen machines with a totally hosed user interface continue to serve
other tasks

Bye.
Jasen
 
J

jasen

Jan 1, 1970
0
I wouldn't want a computer that rebooted every time it's telephone number
rang,

set the phone to "do-not disturb mode", put your phone number in the priority
list, then it'll only ring when called from your phone.

other peoples wrong numbers will be harmless.

Bye.
Jasen
 
M

Meindert Sprang

Jan 1, 1970
0
Michael A. Terrell said:
Even the old OS in ROM computers needed rebooted at times. The only
computer that never needs to be rebooted has already been tossed into
the pile to be recycled.

Mmmm..... my linux server hasn't been rebooted for over a year.....Still
running.

Meindert
 
M

Michael A. Terrell

Jan 1, 1970
0
Meindert said:
Mmmm..... my linux server hasn't been rebooted for over a year.....Still
running.

Meindert


That's no where close to "NEVER" is it? At some point a hard drive
will fail, or you'll want to add some memory, or even power it down to
clean the dust out of it.


--
Service to my country? Been there, Done that, and I've got my DD214 to
prove it.
Member of DAV #85.

Michael A. Terrell
Central Florida
 
M

Meindert Sprang

Jan 1, 1970
0
Michael A. Terrell said:
That's no where close to "NEVER" is it? At some point a hard drive
will fail, or you'll want to add some memory, or even power it down to
clean the dust out of it.

But I don't think the OP needed to remotely reboot once a month because of a
hardware failure or dust job, don't you think?

Meindert
 
M

Michael A. Terrell

Jan 1, 1970
0
Meindert said:
But I don't think the OP needed to remotely reboot once a month because of a
hardware failure or dust job, don't you think?

Meindert

It may not have to be, but he wants to. I've run Novel servers for
years, till the UPS failed. I had one that was still running with a bad
video card when lightning took out the Ethernet card. The customer had
insisted on RG58 instead of CAT5, and they unplugged all the computers,
except for the server when they heard the storm approaching. A nearby
strike induced enough current into the card to blow the transformer
windings.
--
Service to my country? Been there, Done that, and I've got my DD214 to
prove it.
Member of DAV #85.

Michael A. Terrell
Central Florida
 
P

Periproct

Jan 1, 1970
0
The only thing I need is a relay that I can switch by making a call to the
GSM phone. So, I need only 1 channel.
This relay could switch the reset-button.

http://www.jaycarelectronics.com/ and search for 'SMS'.

four inputs and eight outputs so a shade overkill but at only £15 not a
problem.
 
J

jasen

Jan 1, 1970
0
However, I accept that it is sometimes necessary to hard reboot a
machine far far away, and the peace of mind and sense of power simply
being able to do it brings. However as others have stated, using a phone
is open to abuse - I for one would get a sick satisfaction from phoning
your computer to reboot it every 5 minutes. Also bear in mind that
whatever phone you are using, you can GUARANTEE that some chap will
phone your computers mobile several times a day to sell you cheap double
glazing or save you money on your energy bills. do you really want that?

many phones can be programmed to only ring for a select few callers.
However, if you do decide to go ahead with it, and you may be thinking
what im thinking here, I suggest that you connect the relay to the reset
switch and NOT the power line, reason being that the second option can
cause far more data loss and even trash your hard disk beyond useability
(ive had it happen to me during repeated brownouts - I have a ups now)

I've had machines lock up in such a way that the red button could not shake
them out of it and they needed to be power cycled.

also there may be other appliances (ADSL router?) that need to be
power cycled to reset them.
another method that springs to mind however, is to have a fully
automated "watchdog device" a watchdog card will normally set you back a
few hundred bucks/lira/quid (delete as appropriate) and works by
monitoring your computer for lockups, and rebooting if one occurs. A
cheaper alternative is to build a circuit with a monostable timer, which
can be reset if it recieves a periodic signal. IE, get some software
which sends one of the pins on the parallel port high for a second or so
every 4 minutes, and if the circuit doesnt recieve this signal to reset
itself every 5 minutes, it triggers the relay and resets the computer
(does that make sense?)

the calls to the watchdog resetting routine need to come from the software
that's being monitored, if it's not done this way and the payload software
crashes ties the network in a knot but the watchdog pinger keeps pinging
you're no better off.

Bye.
Jasen
 
B

BobG

Jan 1, 1970
0
Good topic! My buddy Albert is looking for a phone controlled relay! He
asked all over and these helpful folks in black SUVs wanted to ask him
a bunch of questions. Anyway, if you have any good links on how to
control a realy with a phone, send them To Albert Kaida at aol.com.....
 
M

Michael A. Terrell

Jan 1, 1970
0
jasen said:
I've had machines lock up in such a way that the red button could not shake
them out of it and they needed to be power cycled.


What the hell is "The red button"?


--
Service to my country? Been there, Done that, and I've got my DD214 to
prove it.
Member of DAV #85.

Michael A. Terrell
Central Florida
 
M

Mark Fortune

Jan 1, 1970
0
Michael said:
What the hell is "The red button"?

You have never heard of "the big red button" the one with "panic" etched
into it?
 
M

Mark Fortune

Jan 1, 1970
0
EsDee wrote:

Ask yourself how many wrong numbers you get per week. Ask yourself
whether you really want your computer reset everytime someone misdials
the number of the pizza-parlor. Ask yourself whether you really want
everybody on the planet to be able to reset your computer at will.
Including everybody on usenet, once someone finds out the number you
assigned to this and posts it here.

I'm sorry, but no functional computer needs to be reset twice a week.
Hitting reset everytime your computer hangs is like buying a new car
everytime the old one runs out of gas. It is the desperate attempt to
avoid solving a problem.

If your computer hangs that often, then your setup is broken -- either
in hardware or in software. Fixing it will not only save you money in
the long run (no need to keep a GSM) but will probably teach you a
bunch of things. Some of which might even come in handy in the future.


cordially

Y.T.

I do agree with what YT says - even a windows box shouldnt need
rebooting that often, and often resorting to a hard reboot too often can
cause more problems in the long run, such as data corruption or nackered
hard disks.

However, I accept that it is sometimes necessary to hard reboot a
machine far far away, and the peace of mind and sense of power simply
being able to do it brings. However as others have stated, using a phone
is open to abuse - I for one would get a sick satisfaction from phoning
your computer to reboot it every 5 minutes. Also bear in mind that
whatever phone you are using, you can GUARANTEE that some chap will
phone your computers mobile several times a day to sell you cheap double
glazing or save you money on your energy bills. do you really want that?

However, if you do decide to go ahead with it, and you may be thinking
what im thinking here, I suggest that you connect the relay to the reset
switch and NOT the power line, reason being that the second option can
cause far more data loss and even trash your hard disk beyond useability
(ive had it happen to me during repeated brownouts - I have a ups now)

another method that springs to mind however, is to have a fully
automated "watchdog device" a watchdog card will normally set you back a
few hundred bucks/lira/quid (delete as appropriate) and works by
monitoring your computer for lockups, and rebooting if one occurs. A
cheaper alternative is to build a circuit with a monostable timer, which
can be reset if it recieves a periodic signal. IE, get some software
which sends one of the pins on the parallel port high for a second or so
every 4 minutes, and if the circuit doesnt recieve this signal to reset
itself every 5 minutes, it triggers the relay and resets the computer
(does that make sense?)

hope you find the solution that works best for you anyway.
 
M

Michael A. Terrell

Jan 1, 1970
0
Mark said:
You have never heard of "the big red button" the one with "panic" etched
into it?


Not on a computer. On the other hand, I work with well designed
equipment that doesn't need a panic button.


--
Service to my country? Been there, Done that, and I've got my DD214 to
prove it.
Member of DAV #85.

Michael A. Terrell
Central Florida
 
M

Mark Fortune

Jan 1, 1970
0
Michael said:
Not on a computer. On the other hand, I work with well designed
equipment that doesn't need a panic button.

I only ever needed it when I was using windows - now I only ever use it
when I try to run a bodged kernel
 
Top