• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Secret code circuit

Status
Not open for further replies.

zambalik

New Member
hi
i am making remote control circuit using telephone ( TELESWITCH ).
i just need a digital lock circuit for protecting my home from outsiders.
thanx
 

bogdanfirst

New Member
what actually do you want to build?
do you want to make a code lock that can be controlled trough the phone?
or it has nothing to do with the phone remote?
 

zambalik

New Member
nop
i am making a circuit that controls electrical applinaces in my home using the telephone where the tones are the control circuit.
i need a circuit that accepts 1st a secret code to enable controlling the appliances.
 

tansis

New Member
I know what your looking for, an off the shelf version of this can cost as much as $400!

The following link is a good starting point
http://electronicsworld.tripod.com/remotecontrolsimages/remotecontrolsckt2.html

The circuit is fairly simple and simple or short code sequence to allow the legitimate user control can be implemented using logic chips.
Or if you are a bit more advanced this is ideal territory for the micro-controllers that are becoming very popular.(Sadly I can't help you with these yet. I'm trying to get up to speed myself!)
 

zambalik

New Member
i already know this circuit
in fact, i have a better one but i am adding a new feature in it which is the secret code. i want to add to this circuit a secret code so that no one can be able to use this circuit unless he enters the right secret code from the other phone.
 

tansis

New Member
ok then, couple of questions
1> how many digits long do you want the code?
2> how many outputs does present circuit have?

better still , post schematic.
Should be able to work something out over the weekend.

PS: not your average "newbie" just new to this board..

Will blow dust off cmos cookbook and see what I can find.
 

zambalik

New Member
thanx 4 ur response
the secret code is about 4 digits
this means that i will be able only to control 5 appliances and the digit zero is used to hookup the phone line
but may i ask u a question ?
after reading the documentation file and seeing the schematic of this teleremote control, from ur opinion does the IC KT 3170 ( or HT 8870 as an alternative ) decode DTMF before the phone is picked up while ringing ?
 

tansis

New Member
Apologies for the delay,been busy this end and for the life of me I cannot figure out how to get an image onto this board
(perhaps some kind soul will read this and drop me a line)
And no I dont mind answering questions we all have to start somewhere, there are some topics that are a complete mystery to me.

In answer to your last question - Yes
The dtmf is constanly listening for those specific tones and ignores everything else.

Anyhow managed to find the circuit you are going to build and have figured out a solution. Have posted 2 sdrawings at the following location
http://groups.msn.com/SciFiHeaven/shoebox.msnw

One is for a 4 digit lock the other is a rough sketch of your circuit with some suggested modifications.

A rough explination of the changes is this;
the output of the DTMF is inverted through a 4049 before being passed to the decimal decoders, both recieve the same input but only one is selected as active, this device provides the input to the lock circuit,use wire links to choose four numbers 0 - 9 (can only use each number once) and connect in the desired sequence to lock circuit ABCD the unused numbers get connected to the reset pin.

When you call the phone line the phone will continue to ring until your code is entered and the lock circuit changes state,this change triggers a 555 timer in monostable mode (how long a delay is up to you), it is this output that does two things.
It activates the transistor driving relay 1 to silence the phone and switches over to the second decoder that controls the latches that drive the control relays. ( you now have ten :)
 

Mosfet

New Member
On the 'General Electronics Chat' section one cannot upload images.
But you may include an image posted elsewhere using the 'IMG' button and the picture's URL.
If you wish to post an image use the 'Electronic Projects Design/Ideas/Reviews' section.
It allows uploads to this site's server.
 

zambalik

New Member
great idea
but i tried to decode the outputs of the dtmf decoder before picking up the phone and it didn't work.
i don't know why but it didn't
anyway thanx 4 ur response :)
 

Sebi

Active Member
I've considered this problem (decoding while phone ringing with DTMF decoder) I never seen this solution, and i'm sure this cannot work in my country.( maybe some phone company allow this) One thing work with this method: the caller identification (CLIP) signal (if existiert) coming between first and second ring
I recommend to count the number of rings upto 15 and "pick-up" the phone with 200ohm. After pick-up the decoder wait for code sequence (DTMF). Successfull code reciving give a pacifier-tone, and wait for control-codes. With asterisk or other number make on-hook.
 

tansis

New Member
I have to agree with Sebi, I dont believe it's compatable with a uk line

A "ring" detector and a counter would be the way to do it, after a set number of rings it switches a suitable relay connected in place of the cradle switch.

"Maplin" electronics in the uk had a circuit/kit for something like this a few years ago but have been unable to find a copy.

Find an old phone and grab a screwdriver, see how the it works internaly

Have fun....
 

zambalik

New Member
about ur last idea about the hock up circuit using the counter
i worked on it but the was a problem
i took the input from the telephone line and put as an input to the 741 OPAMP as a comparator to convert the superimposed sine wave of the telephone line when ringing into square wave as a clock to the counter
but i think it's a very high frequency so i think i will use a frequency divider 1st. could u plz tell me the frequency of this signal when the telephone starts ringing ?
thanx
 

Sebi

Active Member
Ringing voltage is 100V 16.6Hz. Here is a simple sematic for counter input.The inverter is a schmitt-trigger type.
 
Status
Not open for further replies.

EE World Online Articles

Loading
Top