Shop OBEX P1 Docs P2 Docs Learn Events
BS2 interfacing w/ a cellphone or landline — Parallax Forums

BS2 interfacing w/ a cellphone or landline

CruxCrux Posts: 74
edited 2007-07-31 01:04 in BASIC Stamp
Does anybody have an idea how to make a landline or cellphone dial number through BS2?is it possible?

Comments

  • FranklinFranklin Posts: 4,747
    edited 2007-07-07 17:34
    Some of the stamps have DTMF functions that could be used to dial. I don't remember which ones though.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • CruxCrux Posts: 74
    edited 2007-07-08 05:53
    Could you direct me to some links that will intriduce me to that stuffs?about DTMF is it good only to Landlines?
  • FranklinFranklin Posts: 4,747
    edited 2007-07-08 16:46
    Google DTMF there are many definations, tutorials and discussions here is one www.bobblick.com/techref/projects/tonedec/tonedec.html

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • mmmm Posts: 56
    edited 2007-07-09 15:08
    http://www.parallax.com/html_pages/downloads/nvcolumns/Nuts_Volts_Download_V1.asp

    You should go and check out the Parallax nuts-n-volts section on their main web page.

    To get there you can go to the link above, this will get you started on BS-2 and telephone control.

    The main parallax downloads page has a wealth of knowledge going back almost 15 years.


    Mike
  • eblanckeeblancke Posts: 26
    edited 2007-07-10 12:41
    Read this project:
    http://www.parallax.com/html_pages/resources/custapps/app_gps_track.asp
    It makes use of GSM and GPS modules.
    Regards
  • eblanckeeblancke Posts: 26
    edited 2007-07-10 12:44
    Also visit this website for a classic interface to an old mobile phone
    http://www.riccibitti.com/tinyplanet/tiny_intro.htm
    Regards
  • AA Posts: 22
    edited 2007-07-10 21:08
    DTMF out commands can create the tones you need to dial a phone number.· You can dial either cell phones or landlines.· you will have to dial out from the landline.· if you r interested P.M. me and I·will post the code I have for a BS2 autodialer/pager and a BS2 answering machine··
  • AA Posts: 22
    edited 2007-07-12 01:33
    Ok,

    Here is a schematic to interface the BS2 with a landline. Add a microphone and its a complete phone.

    Also attached is some short code showing how to pickup,hangup, and dial.

    As soon as I find the schematic for the autodialer/pager i will post that

    Aaron
  • AA Posts: 22
    edited 2007-07-12 21:12
    Anyone find this usefull?· I can post more if there is an interest
    A
  • LarryLarry Posts: 212
    edited 2007-07-12 22:06
    Of course! keep it coming

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • Mr. QuestionMr. Question Posts: 1
    edited 2007-07-13 01:46
    I am considering buying a BASIC STAMP #1 (not #2) for a custom home warning autodialing system of my own design. Don't worry this is not for preventing burlers.

    So I wondered if it could do an autodialer.

    I want something that will call me and make some beeps or something if the tempearture or humidity or water level or whatever is bad...

    Is the above all one needs to do to make basic stamp work as an autodialer?

    I was going to go "X-10" or computer control until I saw this forum topic.

    I also may want to run appliance modules to say turn on or off heat based on the temperature inside, outside, and humidity inside, outside, and cost of electricity and time of day. I can put these algorithms in basic stamp pretty easily...
    But I need the autodialer.

    I almost bought a Radio Shack PLUG AND POWER one today for $60 or $100
    It seems Radio Shack is phasing those out for somereason.

    Anyway if the autodialer works then I don't have to go that route.

    Anybody know how good a quality this autodialer is or how to add a speech modules or also even a morse code module to tell me what the problem is with the remote system if I am 1000 miles away etc..?

    I am attracted to the basic stamp cause one can do a lot with a 64 K long basic program!
    where as the the other stuff is propriatory.

    How much memory does the basic stampe use up for the above program -- considering all the other overhead it uses?

    Also how reliable will such an autodialer be?

    If I buy a basic stamp kit, which one should I get for the autodialer?
    Will it work with the educational model which is all Radio Shack sells?
  • AA Posts: 22
    edited 2007-07-13 03:35
    Mr, Question

    Yes, mostly...

    The above is all you need to do the autodialer.· It does require the BS2.· I have no experience with the bs1 so no idea if it is capable of doing the job.· I don't think it can (at least not easily)because it doesn't support the freqout or dtfmout commands.· I'm pretty sure ther are ic's that can produce the dtfm tones needed to dial.· I've attached a simpler version of the autodialer,· it uses 8% of the bs2 memory so lots of room for expansion.·I haven't found the schematic but will make a new one and post that soon.· The schematic in my previous post will work to autodial it just doesn't have the temperature sensing circuit.

    It is my own circuit and code so I can't really rate the "Quality" but it has never failed on me.....I built one and it is still in use a little more than a year later.· The only issue i've had is jitter in the temp sensing circuit but that's another topic.

    As far as what to buy, once again this setup requires a BS2.· The board of education will work well.
    I think the educational one radio shack sells uses a BS2 and will work ok but I can't say for sure.· Anybody know?

    Aaron

    Post Edited (A) : 7/13/2007 3:40:57 AM GMT
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-07-13 03:53
    Mr. Question said...(trimmed)
    I am attracted to the basic stamp cause one can do a lot with a 64 K long basic program!
    Question, where did you get a specification of 64K?· The BS2 has 2K of program space and the others all have 8x2K (16K) in slots for 2K each times eight.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • steve_bsteve_b Posts: 1,563
    edited 2007-07-13 19:58
    There's the old argument of tapping in to Ma'Bells phone line and how it's a big no no..la di la...

    Anyhow, why not grab an old serial modem from a swap meet (or the junk drawer).
    You can use a few stamp pins to monitor certain modem states, and you just listen/send on 2 lines. Seems easier to me than building a phone interface...AND it's FCC certified and all that jazz.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·

    Steve

    "Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
  • AA Posts: 22
    edited 2007-07-15 19:54
    That's probably a better idea.· When I made the phone dialer it was just an experiment on figuring out the phoneline interface.· As for the phone lines it doesn't work unless you already pay for phone acces and the only tones going over the phone are DTFM... the same tones any touch tone phone produces.

    A
  • Ben KirkpatrickBen Kirkpatrick Posts: 7
    edited 2007-07-30 18:03
    This DIP modem might be of help...
    http://www.halted.com/commerce/ccp17958-socketmodem-33-6k-by-rockwell-sfv336acfsph0d6a0p1-20217.htm
    It even looks like the DIP BS2's.
    --Ben
  • allanlane5allanlane5 Posts: 3,815
    edited 2007-07-30 18:16
    They still make stand-alone RS-232 based modems, right? Connecting to that with the serial port of the BS2 BOE and doing some dialing code would be a quick way of making an auto-dialer.
  • FlyingFishFingerFlyingFishFinger Posts: 461
    edited 2007-07-31 01:04
    I have a phone project that interfaces with a Stamp...I hand built a line interface using the transformer / Sidac etc along with a ring detector (opto + rectifier) and use an MT8880 IC for DTMF purposes (bidirectional). I'm going to add some features (speech, see my post a few topics down, SpeakJet vs SoundGin), redesign it surface mount and use an official DAA from Zarlink....feel free to ask questions [noparse]:)[/noparse]

    Rafael

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    You've got to play the game.
    You can't win.
    You can't break even, except on a very cold day.
    It doesn't get that cold.
    ~Laws of Thermodynamics~
Sign In or Register to comment.