+ Reply to Thread
Results 1 to 11 of 11

Thread: PIC16F628 phone dialer

  1. #1
    ClydeCrashKop Newbie
    Join Date
    Apr 2005
    Location
    Florida
    Posts
    318

    Default PIC16F628 phone dialer

    I found this today from a Gadget Freak link.
    Do-it-yourself phone dialer security system calls your cell phone, office etc.
    whenever a door or window is opened, or panic button is pressed. Great Home Alarm.
    http://ourworld.compuserve.com/homep...n/autocall.htm
    C:\WHUT ?
    Beware the asterisk *


  2. #2
    futz Excellent futz Excellent futz Excellent futz Excellent futz Excellent futz Excellent futz Excellent
    Join Date
    Sep 2007
    Location
    Vancouver, B.C.
    Posts
    1,980

    Default

    Looks like an interesting project.
    =========================
    Futz's Microcontrollers & Robotics
    =========================

  3. #3
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,698
    Blog Entries
    5

    Default

    You could upgrade it to DTMF (touch tone) with the free demo version of PICBASIC Pro, only 40lines of code in the free version but you should be able to make a simple alarm & dialer if you're careful.
    From the PICBASIC Pro manual
    DTMFOUT Pin,{Onms,Offms,}[Tone{,Tone...}] Produce DTMF touch Tone sequence on Pin. Pin is automatically made an output. Pin may be a constant, 0-15, or a variable that contains a number 0-15 (e.g. B0) or a pin name (e.g. PORTA.0).
    Onms is the number of milliseconds to sound each tone and Offms is the number of milliseconds to pause between each tone. If they are not specified, Onms defaults to 200ms and Offms defaults to 50ms.
    Tones are numbered 0-15. Tones 0-9 are the same as on a telephone keypad. Tone 10 is the * key, Tone 11 is the # key and Tones 12-15 correspond to the extended keys A-D.
    DTMFOUT uses FREQOUT to generate the dual tones. FREQOUT generates tones using a form of pulse width modulation. The raw data coming out of the pin looks pretty scary. Some kind of filter is usually necessary to smooth the signal to a sine wave get rid of some of the harmonics that are generated:
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

  4. #4
    Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent
    Join Date
    Oct 2006
    Location
    Colombo
    Posts
    1,664
    Blog Entries
    1

    Default

    Quote Originally Posted by ClydeCrashKop
    I found this today from a Gadget Freak link.
    Do-it-yourself phone dialer security system calls your cell phone, office etc.
    whenever a door or window is opened, or panic button is pressed. Great Home Alarm.
    http://ourworld.compuserve.com/homep...n/autocall.htm
    Hi I haven't done this pulse dialing most i was used to tone dialing.

    I have a problem The author says
    Code:
    Circuit Operation:
    
    In operation, the switch closure is detected on pin 7 of the processor
    which activates the reed relay and takes the line off-hook for 3 seconds
    to establish the dial tone. The processor then dials the number by opening
    and closing the relay a number of times for each digit. When dialing is
    complete, the processor waits 3 seconds and then transmits a steady tone
    of about 300Hz for 30 seconds through the modem transformer. The call is
    then terminated and the processor waits for the switch to open before resetting.
    
    Does anybody knows whats the purpose of this steady tone of 300Hz after pulse dialing?

  5. #5
    Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent
    Join Date
    Mar 2005
    Location
    Brisbane Australia
    Posts
    6,791

    Default

    Quote Originally Posted by Gayan Soyza
    Does anybody knows whats the purpose of this steady tone of 300Hz after pulse dialing?
    So, the person receiving the call doesn't think it's a random call. Ideally, it would send out a recorded message but 300Hz is a lot easier to implement.

    Mike.

  6. #6
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,698
    Blog Entries
    5

    Default

    The tone is to identify itself to the human (you)
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

  7. #7
    SPDCHK Excellent SPDCHK Excellent SPDCHK Excellent SPDCHK Excellent SPDCHK Excellent
    Join Date
    May 2006
    Location
    South Africa
    Posts
    298

    Default

    I can only assume that it's there to give the receiver an audio warning. Some phones do not have "Caller Identify enable" on, so when you receive a call you don't know who it's from. Pointless if your alarm phones you and you don't know who called you

  8. #8
    Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent
    Join Date
    Oct 2006
    Location
    Colombo
    Posts
    1,664
    Blog Entries
    1

    Default

    Quote Originally Posted by Pommie
    So, the person receiving the call doesn't think it's a random call. Ideally, it would send out a recorded message but 300Hz is a lot easier to implement.

    Mike.
    Understood.So the person receiving the call hears that Signal 300Hz.If no signal transmitted withing the 30 second mark no any signal hears.

    How stupid am I

    Thanks Brother.
    Last edited by Gayan Soyza; 18th March 2008 at 03:41 AM.

  9. #9
    mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent
    Join Date
    Oct 2006
    Location
    Hyderabad, India.
    Posts
    2,474
    Blog Entries
    1

    Default

    Quote Originally Posted by Gayan Soyza View Post
    Understood.So the person receiving the call hears that Signal 300Hz.If no signal transmitted withing the 30 second mark no any signal hears.

    How stupid am I

    Thanks Brother.
    Afterall, the devices calls a cellular number as per the author. the cellphone would show where is this call from.
    we can also use the signal with a small mod- instead of tone, keep the port bit high for 30 sec and it could enable a prerecorded voice chip can send a voice message.

    In fact I am trying to extend this further that it would call another number after a 2 minute gap and send another message different from first using a different bit.
    Regards,
    Sarma.

  10. #10
    mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent
    Join Date
    Oct 2006
    Location
    Hyderabad, India.
    Posts
    2,474
    Blog Entries
    1

    Default

    Quote Originally Posted by blueroomelectronics View Post
    You could upgrade it to DTMF (touch tone) with the free demo version of PICBASIC Pro, only 40lines of code in the free version but you should be able to make a simple alarm & dialer if you're careful.
    From the PICBASIC Pro manual
    you mean to generate dual tone frequencies with a single PIC controller!

    Interesting rather. I was thinking unless a dtmf sender like a 91215 telelphone dialer or a DSP needs to be employed.
    Regards,
    Sarma.

  11. #11
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,698
    Blog Entries
    5

    Default

    It's all in the PIC BASIC Pro manual and examples page.
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

+ Reply to Thread

Similar Threads

  1. Phone / Computer Headset Mixer
    By Teflonatron in forum Electronic Projects Design/Ideas/Reviews
    Replies: 2
    Latest: 11th March 2009, 03:43 AM
  2. automatic phone dialer
    By andrew8485 in forum Electronic Projects Design/Ideas/Reviews
    Replies: 11
    Latest: 28th August 2008, 01:55 AM
  3. Interfacing and/or programming a cell phone
    By ElectricPhil in forum Electronic Projects Design/Ideas/Reviews
    Replies: 9
    Latest: 8th February 2008, 04:37 PM
  4. AT&T model 2500 phone dialer IC
    By tinkertech in forum Datasheet/Parts Requests
    Replies: 0
    Latest: 13th May 2004, 02:31 PM
  5. phone dialer
    By cpt_power in forum Electronic Projects Design/Ideas/Reviews
    Replies: 1
    Latest: 23rd December 2003, 10:17 PM

Tags for this Thread