If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.
Special Thanks To:
Aaron Holmes
Aaron Wheeler
Adam Horden
Alan Scrimgeour
Andre
Andrew Haynes
Anonymous000
asabase
Austin Weil
barney
Barry
Bert Hickman
Bill Kukowski
Blitzorn
Brandon Paradelas
Bruce Bowling
BubeeMike
Byong Park
Cesiumsponge
Chris F.
Chris Hooper
Corey Worthington
Derek Woodroffe
Dalus
Dan Strother
Daniel Davis
Daniel Uhrenholt
datasheetarchive
Dave Billington
Dave Marshall
David F.
Dennis Rogers
drelectrix
Dr. John Gudenas
Dr. Spark
E.TexasTesla
eastvoltresearch
Eirik Taylor
Erik Dyakov
Erlend^SE
Finn Hammer
Firebug24k
GalliumMan
Gary Peterson
George Slade
GhostNull
Gordon Mcknight
Graham Armitage
Grant
GreySoul
Henry H
IamSmooth
In memory of Leo Powning
Jacob Cash
James Howells
James Pawson
Jeff Greenfield
Jeff Thomas
Jesse Frost
Jim Mitchell
jlr134
Joe Mastroianni
John Forcina
John Oberg
John Willcutt
Jon Newcomb
klugesmith
Leslie Wright
Lutz Hoffman
Mads Barnkob
Martin King
Mats Karlsson
Matt Gibson
Matthew Guidry
mbd
Michael D'Angelo
Mikkel
mileswaldron
mister_rf
Neil Foster
Nick de Smith
Nick Soroka
nicklenorp
Nik
Norman Stanley
Patrick Coleman
Paul Brodie
Paul Jordan
Paul Montgomery
Ped
Peter Krogen
Peter Terren
PhilGood
Richard Feldman
Robert Bush
Royce Bailey
Scott Fusare
Scott Newman
smiffy
Stella
Steven Busic
Steve Conner
Steve Jones
Steve Ward
Sulaiman
Thomas Coyle
Thomas A. Wallace
Thomas W
Timo
Torch
Ulf Jonsson
vasil
Vaxian
vladi mazzilli
wastehl
Weston
William Kim
William N.
William Stehl
Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Registered Member #902
Joined: Sun Jul 15 2007, 08:17PM
Location: North Texas
Posts: 1040
Hi ya'll,
I am building an Arduino based light controller: it has adjustable duration and delay between turn ons of the lights, and I am interfacing it with a prepaid phone to activate the on cycle manually (some of the things it controls are likely to overheat easily, so they are on little and my friends and myself don't want to wait for them... like the Jacob's ladder)
the timing programming and the LCD interface work great, problem is that the cell phone keeps setting the pin on the arduino as HIGH even when not called
I tried a resistance to ground and a resistance between the pin and the cell phone, to no avail
I could use an ADC pin but I want to keep those open for use, and one is already taken
Registered Member #27
Joined: Fri Feb 03 2006, 02:20AM
Location: Hyperborea
Posts: 2058
Exactly where have you connected the pin on the cell phone? If you can tell us the waveforms and voltages then we can tell you 100 ways to get your signal.
Registered Member #902
Joined: Sun Jul 15 2007, 08:17PM
Location: North Texas
Posts: 1040
sorry, it is from the vibrate motor - I cannot quite say what the waveform is, I don't have a storage Oscilloscope - but the main issue is that when the phone is not sending a signal it is still read as High... I used to just connect the wires of the vibrate motor directly to the Solid State Relay, but since the vibe motor is on for about a second, then off, I hope a microcontroller will just hear the first vibe, turn on the relay, and ignore the rest until a timer on the microcontroller goes off
Registered Member #27
Joined: Fri Feb 03 2006, 02:20AM
Location: Hyperborea
Posts: 2058
If you use an optocoupler in parallel with the motor it will work. Then you will get a signal only when the motor is running, no matter what common-mode voltages might be on the wires.
Registered Member #1232
Joined: Wed Jan 16 2008, 10:53PM
Location: Doon tha Toon!
Posts: 881
If you are using the vibrate on a mobile to fire up something hazardous please think about the safety implications.
You wouldn't want an incoming wrong number to the handset to make something go live at an inconvenient moment! All sorts of things like incomming SMS, cell broadcast messages, voicemail, and incoming calls can all make that little motor spin for a few seconds!
Registered Member #902
Joined: Sun Jul 15 2007, 08:17PM
Location: North Texas
Posts: 1040
GeordieBoy wrote ...
If you are using the vibrate on a mobile to fire up something hazardous please think about the safety implications.
You wouldn't want an incoming wrong number to the handset to make something go live at an inconvenient moment! All sorts of things like incomming SMS, cell broadcast messages, voicemail, and incoming calls can all make that little motor spin for a few seconds!
-Richie,
nothing hazardous is being controlled except the jacob's ladder, but it is far out from where anyone can touch it and there is a master switch for setting up and tearing doen the assembly, and the whole point is that anyone at our school Homecoming can call it
it is for the Superman Baby Rocket area, because the scientist can save one baby from exploding krypton, I figured some sciency looking things ere in order as well as some timed black lights on some green fluorescent items...
Registered Member #1394
Joined: Sun Mar 16 2008, 06:18PM
Location:
Posts: 111
Just don't use a cell phone unless you need ABSOLUTELY RIDICULOUS range I am talking about activating it from the other side of the globe. Instead get a second arduino and hook a push button switch to it, then buy a radio transmitter/receiver pair from sparkfun for $9 and follow the arduino tutorial on setting it up. After this just make a "remote" that sends an "A" to the 2nd arduino and program that to turn a relay on if it receives an "A" You will have around a 300ft range and it will be near instantaneous not a 5 second delay that a cell phone provides.
EDIT - sry I didn't read that it was for your homecoming dance. You could also buy a celluar module from sparkfun if you can remove the phones sim card. 2nd edit - I had to leave school then so I had to make it quick but if you can remove the sim card then the sparkfun cell module is a good idea.
That is a simple module now its $160 which is a lot but there is a cheaper one for $99 however this one has buit in usb, a sim card socket, and power regulatation! I believe that there is a pin on the module and when you dial the sim card (the prepaid phone number) it will toggle that pin high or low. This is in the documentation but I do know that it spits out some sort of serial data when a call is received so you could run it off serial data as well.
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.