6 relays phone line controller

Upload: frduran

Post on 04-Apr-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/30/2019 6 Relays Phone Line Controller

    1/8

    Author: Muris Pucic Trax year 2008

    www.elektronika.ba

    Phone line controller 6 relays (from www.elektronika.ba)

    This is a newer version of previous device with a single relay. This one can have upto 6 relays and 6 sensor-state inputs.

    The task was to build a device that connects to the phone line and has a relay as anoutput switch. It should also sense if the connected consumer is turned-on or offand report to the administrator at the other end of the phone line. The administratorwould then call-in the device, log in with the password, and check the state ofconsumer, turn it on or off, change password or some other settings.This version has 6 relays.

    Operation

    The administrator should call-in the device from another telephone. After a few(configurable amount of) rings, the controller will pick-up the line and answer with abeep. After the beepthe administrator must enter 4-digit password onto the keypadof his phone (DTMF). This must be done in 6 seconds. If the password is not enteredin 6 seconds or wrong password has been entered, the device will beepand hangup. You can call it again now.After the password has been successfully entered, you will hear one beeps. Now youmust choose which relay you want to operate (1 6), so you can press:

    1, 2, ..., 6 enter relay bank

    # end session (hang up)

    any other key will result in 5 beeps(invalid command)

    After pressing 1...6 you will hear as may beeps as the button value you pressed. Nowyou have entered a relay's bank. After a short break, you will hear two beepsor threebeeps. Two beepsmeans that the consumer is turned on (detected with sense-input if controller configured for pulse-mode) or that the relay is turned on (ifcontroller configured for switch-mode). Three beepsmeans that the consumeror the relay is turned off.

    After those two or three beepsyou can press:

    1 turn on relay (if configured for switch-mode) or pulse the relay for N(configurable) seconds (if configured for pulse-mode)

    0 turn off relay (if configured for switch-mode)

    * enter settings for current bank

    # end session (hang up)

    any other key will result in 5 beeps(invalid command)

    After pressing 1 or 0 the relay will do it's job and you will hear two or three beepsafter it has finished pulsing or turning on or off the relay. We know what those two orthree beepsstand for from above.

  • 7/30/2019 6 Relays Phone Line Controller

    2/8

    Author: Muris Pucic Trax year 2008

    www.elektronika.ba

    After pressing the pound key (#) the controller will not hang-up, it will return to themain menu. Now you can chose another relay to work with, or you can press thepoind key (#) again to exit/hangup.

    After pressing the star key (*) the device will enter setup. You will hear 2 long beeps

    and now you have these setup options:

    1 configure after how many rings the controller will answer a call (1 9, 0(for 10), * (for 11), # (for 12))

    2 set the type of the system: pulseor switch mode (1 - pulse, 2 - switchmode)

    3 the length of a relay pulse in seconds (1 9, 0 (for 10), * (for 11), # (for12)) if configured for pulse-mode

    4 set the new 4-digit password (* and # can also be used for password)

    # exit setup, allways saving changes

    After entering any of those options you will first hear 2 long beeps followed by asmany beepsas the chosen option-number. For example: If you press setup option 1,you will hear beeep-beeep-beep indicating that you entered setup option 1 (thissingle shorter/quicker beep).After entering an actual value in setup option, you will hear a short confirmation beep,followed by those two long beeps from entering the setup. Now we are back at thebeginning of the setup and can choose again from the setup options above.

    The device will remember the relay state even after power-down. When the powerget's back on it will put the relay into previous state before the power was lost.

    There is also a timeout timer so that if you hang-up before the controller, it will keepthe phone line occupied for about 35 sec and than hang-up.

    If you ever forget the password, you can press the reset_sw switch. This will resetthe password to the default value 1-2-3-4. The button only operates if the controlleris in idlestate. For example: waiting for a call...

    Modifications

    If you don't want to connect electrical consumer that operates on mains voltages,you might want to change the value of resistor at the sense-input from 47k to lessthan that or whatever you might need this detect-circuit for:

  • 7/30/2019 6 Relays Phone Line Controller

    3/8

    Author: Muris Pucic Trax year 2008

    www.elektronika.ba

    Schematics

  • 7/30/2019 6 Relays Phone Line Controller

    4/8

    Author: Muris Pucic Trax year 2008

    www.elektronika.ba

    Pictures and PCBs

    Picture 1

  • 7/30/2019 6 Relays Phone Line Controller

    5/8

    Author: Muris Pucic Trax year 2008

    www.elektronika.ba

    Picture 2

  • 7/30/2019 6 Relays Phone Line Controller

    6/8

    Author: Muris Pucic Trax year 2008

    www.elektronika.ba

    Both sides

  • 7/30/2019 6 Relays Phone Line Controller

    7/8

    Author: Muris Pucic Trax year 2008

    www.elektronika.ba

    Top side PDIP component side

  • 7/30/2019 6 Relays Phone Line Controller

    8/8

    Author: Muris Pucic Trax year 2008

    www.elektronika.ba

    Bottom side some SMD parts