•  
  •  

Telephone operated remote control using PIC16F84A microcontroller

This design controls up to 8 devices using a PIC microcontroller (PIC16F84A) connected to the phone line. The unique feature here is that unlike other telephone line based remote control, this device does not need the call to be answered at the remote end so the call will not be charged. This device depends on number of rings given on the telephone line to activate/deactivate devices.

1. Circuit diagram (designed by www.tronicszone.com)
2. Parts List
3. C source code complied using HT-Soft PIC C compiler
4. Compiler Hex code file to be directly programmed into the PIC

Instructions for the telephone operated remote switch:

A) While constructing the main circuit, make sure you use 18pin sockets (base) for the PIC16F84A. Do not solder the IC directly to the board since you may have to remove it for programming. Before you use the PIC on the main circuit, you have to first program it.

B) To program the PIC16F84A microcontroller:

There are lots of programmers on the Internet available to program PIC microncontrollers. Given below are links to some free PIC programmer hardware/software:

  • http://www.covingtoninnovations.com/noppp/
  • http://www.picallw.com/
  • http://www.lpilsley.uklinux.net/software.htm

Note: Programm the chip with the hex file attached above and remember to set the fuse bits to use “EXTERNAL HS OSCILLATOR” mode!

C) Remove the PIC from the programmer socket and put it into the main circuit socket.

Set the DIP SWITCH as follows:

Switch3 Switch4 No. of initial rings to Switch ON(activate half of the board)

OFF OFF 5

ON OFF 4

OFF ON 3

ON ON 2
The number of initial rings to Switch OFF is one more than the number of rings to switch ON. For example, if you have set switch3 OFF & Switch4 ON then number of initial rings to activate half of the board to switch ON the relays is 3 and number of initial rings to activate half of the board to switch OFF the relays is 3+1 = 4

Switch1 Swtich2 Delay before making the second set of rings

OFF OFF 20sec

ON OFF 15sec

OFF ON 10sec

ON ON 5sec

This is the maximum delay the board can take after it is half activated. It will reset after this delay.

D) Now connect the circuit to the phone line and switch on its power supply.
E) You can test the board now. For example set the DIP switch to Switch1 ON, Switch2 OFF (15 sec delay) & switch3 ON, switch4 OFF (4 rings to activate half for switching ON). If you want to switch ON relay 1 (connected to RB0 of main circuit) then you have to do the following:

1. Give 4 rings and put down the receiver
2. Wait 5 seconds (this 5 seconds wait is required to prevent the board from detecting continous rings)
3. then within 15 seconds give 1 ring (1 ring for relay1, 2 rings for relay2 and so on) and put down the receiver
4. then within 5 sec the relay1 will switch ON

To switch off relay1:

1.Give 5 rings and put down the receiver
2.Wait 5 seconds (this 5 seconds wait is required to prevent the board from detecting continous rings)
3.then within 15 seconds give 1 ring (1 ring for relay1, 2 rings for relay2 and so on) and put down the receiver
4.then within 5 sec the relay1 will switch OFF

IMPORTANT: This circuit has been tested by me and found to work correctly. I cannot guarantee that the circuit will work at your end since it depends on error free construction and usage. Please do not contact for any support and requests, any such requests will not be entertained.

If there are any problems please contact [email protected]

Please share & like


HD Electric HDE LV-5 Direct Contact Low Voltage Detector w/ Case picture

HD Electric HDE LV-5 Direct Contact Low Voltage Detector w/ Case

$300.00



Acme Electric Low Voltage Distribution Transformer TF279264S picture

Acme Electric Low Voltage Distribution Transformer TF279264S

$1000.00



DiversiTech DSP-1 Single Phase Line Voltage Monitor picture

DiversiTech DSP-1 Single Phase Line Voltage Monitor

$65.00



Q-TRAN QSET-60-120/12 Q-SET-1 Luminaire Power Supply 60W 12V/24V picture

Q-TRAN QSET-60-120/12 Q-SET-1 Luminaire Power Supply 60W 12V/24V

$386.00



Energy Saving Device Stopwatt Electricity Saving Box Stabilize Voltage Device-US picture

Energy Saving Device Stopwatt Electricity Saving Box Stabilize Voltage Device-US

$14.52



2pcs Household Energy Saver Power Factor Voltage Regulation Energy Saving Device picture

2pcs Household Energy Saver Power Factor Voltage Regulation Energy Saving Device

$19.87



‌USB Tester Type-C PD Digital Capacity Meter 8A Voltage Current Monitor Power picture

‌USB Tester Type-C PD Digital Capacity Meter 8A Voltage Current Monitor Power

$7.87



Fluke 1AC II VoltAlert Non-Contact Voltage Tester, Pocket-Sized, 90-1000V AC-NEW picture

Fluke 1AC II VoltAlert Non-Contact Voltage Tester, Pocket-Sized, 90-1000V AC-NEW

$20.80



High Voltage Probe 40,000 Volts Max DC, 28,000 Volts Max AC (50/60 Hz) picture

High Voltage Probe 40,000 Volts Max DC, 28,000 Volts Max AC (50/60 Hz)

$119.99



Milwaukee 2202-20 Non-Contact Voltage Detector with LED picture

Milwaukee 2202-20 Non-Contact Voltage Detector with LED

$19.50