Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 05, 2016, 01:25:22 13:25


Login with username, password and session length


Pages: [1]
Print
Author Topic: control 6 relays by telephone in the word+2 relays opendoos at home!  (Read 3898 times)
0 Members and 1 Guest are viewing this topic.
peppeviruz
Junior Member
**
Offline Offline

Posts: 67

Thank You
-Given: 25
-Receive: 40


« on: May 01, 2010, 12:44:15 12:44 »

Hi all, this is my 1st project, consist into a pic (16f876) and a dtmf receiver (CM8870), for the main component, connected to telephone line in home, by that you can turn on-off (also with timers!) 6 relays, to pilote what you want, using a remote teephone, and a pic 16F84 and a 3x4 keypad to put near home intercom to open 2 doos (device controls other 2 relays for local control), in local.
in rar you will find:
hexs for pics , eagle projects and howto for all commands supported by device in remote control!, if someone needed a similiar project!!!
bye!

http://www.megaupload.com/?d=NF5HB2WY
Logged
pushycat
Senior Member
****
Offline Offline

Posts: 332

Thank You
-Given: 144
-Receive: 1118



« Reply #1 on: May 01, 2010, 05:25:19 17:25 »

Thanks for the nice project. But regrets that i dont have Eagle to open the given files. I shall apreciate if all the .BRD and .SCH files are uploaded in PDF which are generally accepted by most of the members.
Logged
peppeviruz
Junior Member
**
Offline Offline

Posts: 67

Thank You
-Given: 25
-Receive: 40


« Reply #2 on: May 01, 2010, 05:51:53 17:51 »

I posted them into eagle format (you can get eagle here, in the appropriate 3d!) if someone wants make some modifications or builds own personal PCB files.
Logged
leptro
V.I.P
Junior Member
*****
Offline Offline

Posts: 61

Thank You
-Given: 240
-Receive: 20


« Reply #3 on: May 02, 2010, 02:43:13 14:43 »

hi, just for fun i have redesign the remote pcb.

Logged
peppeviruz
Junior Member
**
Offline Offline

Posts: 67

Thank You
-Given: 25
-Receive: 40


« Reply #4 on: May 02, 2010, 03:07:27 15:07 »

hi, just for fun i have redesign the remote pcb.



well done, leptro, I like it!, the best could be have the intere controller (16F876+CM8870) in single side, with all 8 relays, I made the controller with a lot of welds and spacersk, with only 5 relays (2 for opendoors and 3 for remote controls)
« Last Edit: May 02, 2010, 03:11:15 15:11 by peppeviruz » Logged
leptro
V.I.P
Junior Member
*****
Offline Offline

Posts: 61

Thank You
-Given: 240
-Receive: 20


« Reply #5 on: May 02, 2010, 08:09:59 20:09 »

and again for fun (this time it was long), i have made some modification of the schematic, in the way of driving the relay. make it a little bit clear.
and finaly route the board.

enjoy.. please note that i'm not a pic user and you don't have to change your code.


Adding an extra board, you will be abble to drive 6 relays.




Posted on: May 02, 2010, 08:07:49 20:07 - Automerged

the board was missing
Logged
peppeviruz
Junior Member
**
Offline Offline

Posts: 67

Thank You
-Given: 25
-Receive: 40


« Reply #6 on: May 03, 2010, 10:29:24 10:29 »

well, I like it , if you modified some the schematics, important that you haven't changed the pic's pin sequences, for the rest, all on 1 face pcb, is really usefull!!!.
Logged
LazBoy
Active Member
***
 Muted
Offline Offline

Posts: 154

Thank You
-Given: 72
-Receive: 25


« Reply #7 on: May 03, 2010, 11:23:27 11:23 »

Thanks for sharing.
Are there any possibilities to get source codes ?
Logged
peppeviruz
Junior Member
**
Offline Offline

Posts: 67

Thank You
-Given: 25
-Receive: 40


« Reply #8 on: May 03, 2010, 01:51:50 13:51 »

shure!!!!
used mikrobasic pro for controller, and picbasic pro (proton ide) for 16F84 and 3x4 keypad.
here mikrobasic source.
but for 16F84, maybe I lost the source, but are few lines of code, only I used command to intercept keypad_key pressed, and DtmfOut command to send relative dtmf codes, instead of 16f84 (8Mhz xtal), you can use every device hardcoded to send dtmf, a TCM5089 or similiar. (or you can disassemble an old dtmf telephone and see inside if there is an ic used only to send dtmf by keypad)
bye!

controller source.

http://uploading.com/files/dab24719/telecontrol_mikrobasic_source.rar/

P.S.: I'm not a real programmer or a Technical elettronic, I made it only for fun (and becouse I nedded it, at my home!!!) , so the code could result a little confused in some parts! (the code is enabled for pabx installed and intercom comunication on pabx)
« Last Edit: May 03, 2010, 02:44:13 14:44 by peppeviruz » Logged
leptro
V.I.P
Junior Member
*****
Offline Offline

Posts: 61

Thank You
-Given: 240
-Receive: 20


« Reply #9 on: May 03, 2010, 03:26:24 15:26 »

if someone need the pcb and sch files, please tell me. i will upload them when at home.

Regards.

Logged
pushycat
Senior Member
****
Offline Offline

Posts: 332

Thank You
-Given: 144
-Receive: 1118



« Reply #10 on: May 04, 2010, 10:46:05 10:46 »

if someone need the pcb and sch files, please tell me. i will upload them when at home.

Regards.


Yes.. your PDF's were really usefull. It would be great if the Remote schematic is also uploaded in PDF, and all the PCB layouts too...Cheers and thank you.
Logged
leptro
V.I.P
Junior Member
*****
Offline Offline

Posts: 61

Thank You
-Given: 240
-Receive: 20


« Reply #11 on: May 04, 2010, 07:24:07 19:24 »

Ok enjoy, in the rar file all eagle files.
Logged
peppeviruz
Junior Member
**
Offline Offline

Posts: 67

Thank You
-Given: 25
-Receive: 40


« Reply #12 on: May 04, 2010, 08:20:47 20:20 »

one note more, the transformer, is a 1:1 transformer, exsactly a 1:1 at 600 ohms of resistance, but I found only a 1:1 at 60 ohms, and worked well!!!!!
so, work well also 1:1 at 120 ohms, ecc....
bye!
Logged
leptro
V.I.P
Junior Member
*****
Offline Offline

Posts: 61

Thank You
-Given: 240
-Receive: 20


« Reply #13 on: May 04, 2010, 08:42:38 20:42 »

600 ohm is needed for the telephone spécification. 60 will work but you will draw 10 times the standard current from the telephone compagnie. not shure that they will be happy.
here in france it's not allowed.

Logged
peppeviruz
Junior Member
**
Offline Offline

Posts: 67

Thank You
-Given: 25
-Receive: 40


« Reply #14 on: May 04, 2010, 08:52:17 20:52 »

yes, in fact there is a 1W-620 ohms resistor in serie with the transformer, I 've search in more shops, in more town, but no-one had, I disassembled some old analogic modems and telephones of mine, and sometimes I've found transformers into, but a lot were (ever 1:1), but usually they were 60 ohms or nearly, if they used them...... Smiley
Only in internet-shops I've found something on, but all works well, I can send and receive all signals (dtmf), and all tones (beeps) by microcontroller!, btw, better to specify Wink
bye!
Logged
peppeviruz
Junior Member
**
Offline Offline

Posts: 67

Thank You
-Given: 25
-Receive: 40


« Reply #15 on: May 15, 2010, 01:19:31 13:19 »

finally, I've mounted all at home: electrical contacts on doors; both lock on garden gate and home door; controller on line and intercom, and all works well!!! Smiley
Logged
peppeviruz
Junior Member
**
Offline Offline

Posts: 67

Thank You
-Given: 25
-Receive: 40


« Reply #16 on: May 30, 2010, 11:29:16 11:29 »

Hi all, there are some updates.....
in this last versio, you can open dooes directly pushing the keypad, not need anymore to ring the intercom outdoor, only have to insert right code on keypad and choose 1,2,3 to open door1, door2, or both.....
here updated.

(mikrobasic project)
http://www.megaupload.com/?d=14PTTF1W

bye!

Posted on: May 30, 2010, 11:21:50 11:21 - Automerged

a strange problem....
if you compile the project with mikrobasic 3.2, all seems work well, if compile with 3.8 version, the controller doesn't read the the telephone rings, so it newer goes in on-hook (newer you'll have an answer from it, if you call by phone.....) so, use 3.2 version to compile it!
P.S., if you wrong the secret code by outdoor keypad, only have to wait 10 seconds and then you can reinsert right code!
bye!
Logged
peppeviruz
Junior Member
**
Offline Offline

Posts: 67

Thank You
-Given: 25
-Receive: 40


« Reply #17 on: June 02, 2010, 08:30:01 08:30 »

well....
finally I found also the picbasic pro source for pic 16f84 to send dtmf by a 3x4 matrix keypad, are few lines of code, and the pic became a "DTMF Encoder". with some modifications, you can use it without keypad, like an home alarm by telephone that at needed send alarm signals calling other telephone numbers, advising that there is an intrusion, or simply, that refrigerator has stopped working while you are on holidays!!! Wink

the code:

http://uploading.com/files/m8114da6/dtmf_keypad_for_16f84.bas/

Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC