Phone line controller v2 - 6 releja

Rasprava o PIC mikrokontrolerima, PIC projekti i drugo vezano za PIC-eve...

Moderators: pedja089, stojke369, [eDo], trax

User avatar
trax
Administrator sajta
Administrator sajta
Posts: 3509
Joined: 08-01-2005, 18:04
Location: 75k, BA
Contact:

Phone line controller v2 - 6 releja

Post by trax »

User avatar
pedja089
Administrator sajta
Administrator sajta
Posts: 7876
Joined: 20-02-2007, 14:50
Location: Beočin -Srbija

Post by pedja089 »

ti bas ne gubis vreme :D
svaka cast majstore...
masoud
Pocetnik na forumu
Pocetnik na forumu
Posts: 28
Joined: 13-02-2009, 22:12

Re: Phone line controller v2 - 6 releja

Post by masoud »

HI!

please answer in English, because i can't read your language, sorry :oops:

in this project, in the description.pdf, there are some diffrence between schematic diagram and the designed pcb.

1-the diode attached to the relay in schematic is 1N4001, but in the pcb you have used 1N4148...

2-in schematic, two diodes are 1N4001, but in PCB, they are 1N4007.

3-the most important problem which made me mixed, is the input section, where the to line's ( L1 & L2 ), enter the circuit:
in the Schematic, the series of (2*zener diode)+(10k Res)+(0.1 u/400v Cap) are connected to PIN(1) of optocoupler AND Cathode of the 1N4001.
BUT:
in the PCB, the series of (2*zener diode)+(10k Res)+(0.1 u/400v Cap) are connected to PIN(2) of optocoupler AND Anode of the 1N4001.
which is correct?!?

PLEASE ANSWER ME AND HELP IN SOLVING MY PROBLEM. I'VE MADE THE CIRCUIT, BUT DOES'T WORK... :cry: :cry:
User avatar
trax
Administrator sajta
Administrator sajta
Posts: 3509
Joined: 08-01-2005, 18:04
Location: 75k, BA
Contact:

Re: Phone line controller v2 - 6 releja

Post by trax »

Hello,

1. You can use 1N4148 instead of 1N4001 for the relay board! It doesn't matter.

2. 1N4001 is the same as 1N4007 :)

3. They are both right, you can choose which combination to use. It might be a bit confusing, but it will work both ways.

Well, what kind of problems are you having with this device? Does it detect the ring-signal when you "call" it? If not, try using other zener diodes with voltage lower than 75V, lets say around 50V or something like that.
masoud
Pocetnik na forumu
Pocetnik na forumu
Posts: 28
Joined: 13-02-2009, 22:12

Re: Phone line controller v2 - 6 releja

Post by masoud »

HI!

TANX FOR YOUR ANSWER AND HELP! :D

i made circuit according to the schematic. as connections which i mentioned last post.

Because of unabling to make boards with SMD components (i don't have proper device like heater, and its expensive to get it make outdoor!) , I changed the pcb (redesign) with HMD components...
I replaced all SMD Res with usual carbon Res. And all of SMD Caps with nonpolar Caps ( except 3 polar Caps).
The 500v VDR is not in normal range, i used a 450v one.
i used two 100n/400v "MKT" Caps in the entrance.
other components are same as published schematic.

changing zener?! Good Idea!
i measured the phone line voltage. its about 65v(DC) and when it's called from other line, goed to 48~22(alternating!)v(DC).
also 143v(AC), and when called, goes to 104~90 (AC).

my problem is same as you said. when i call the line, no action, no response... anything happens! even the LED is off. the relay (on main unit) not work... :?
User avatar
trax
Administrator sajta
Administrator sajta
Posts: 3509
Joined: 08-01-2005, 18:04
Location: 75k, BA
Contact:

Re: Phone line controller v2 - 6 releja

Post by trax »

Well, try other zener diodes and report with results :)

I hope you used a proper 1:1 transformer, from an old PC modem...
masoud
Pocetnik na forumu
Pocetnik na forumu
Posts: 28
Joined: 13-02-2009, 22:12

Re: Phone line controller v2 - 6 releja

Post by masoud »

Hi,
i changed 75v zeners with 51v ones.
my transformer is 1:1 and 600ohms. new! i bought it with other components.

but no result :(. I called the line, and the voltage changed (measured by multimeter). but any action was taken. even the LED is still OFF... :cry:

what should i do..?!? :shock: :cry:
User avatar
trax
Administrator sajta
Administrator sajta
Posts: 3509
Joined: 08-01-2005, 18:04
Location: 75k, BA
Contact:

Re: Phone line controller v2 - 6 releja

Post by trax »

When you turn on the power, LED should blink. Does it blink when you supply the power to device? If it doesn't blink, than you didn't program your PIC properly, or oscillator doesn't work!
masoud
Pocetnik na forumu
Pocetnik na forumu
Posts: 28
Joined: 13-02-2009, 22:12

Re: Phone line controller v2 - 6 releja

Post by masoud »

blink?? when i connect the supply power, anything happens. :?

programming PIC? i have no programmer, i gave it programmed outdoor.... the same HEX file included in the project.

i connected a little piece of wire to metal body of oscillator and GND. is it harmful? because in some circuits its included... should i disconnect it?

i used a 3.579 crystal.
User avatar
trax
Administrator sajta
Administrator sajta
Posts: 3509
Joined: 08-01-2005, 18:04
Location: 75k, BA
Contact:

Re: Phone line controller v2 - 6 releja

Post by trax »

Well, the PIC should be programmed with pc6.hex file, found in project files. You should really make sure it is properly programmed!!!

The GND on crystal body is OK.

Anyway, the LED will blink when you turn it ON. If not, you probably didn't program your PIC properly... you should do it again than.
User avatar
race king
Pravo sam se raspisao :)
Pravo sam se raspisao :)
Posts: 1098
Joined: 11-05-2008, 19:09
Location: Hrvatska, Osijek

Re: Phone line controller v2 - 6 releja

Post by race king »

trax cemu sluzi taj uredaj? :oops:
Dvije ploče jedan izolator,mala moja to je KONDENZATOR...
User avatar
Smjesko
Stariji član
Stariji član
Posts: 4012
Joined: 26-12-2005, 17:12

Re: Phone line controller v2 - 6 releja

Post by Smjesko »

@Utrkulja, uredjaj sluzi za ukljucivanje i iskljucivanje drugih uredjaja daljinski, preko telefona. Ovaj kontroler spojis na fiksnu telefonsku liniju, a na njegove releje druge uredjaje. Zatim zoves broj fiksnog telefona i tipkama ukljucujes odnosno iskljucujes te uredjaje koje si spojio na ovaj kontroler.
masoud
Pocetnik na forumu
Pocetnik na forumu
Posts: 28
Joined: 13-02-2009, 22:12

Re: Phone line controller v2 - 6 releja

Post by masoud »

ok Trax, i'll try program it again.

dear Smjesko & race king !
I can't read your language :(
Can you type in English?
or tell me what is your language, so i can use a online translator, like altavista babylon. :| tanx
User avatar
race king
Pravo sam se raspisao :)
Pravo sam se raspisao :)
Posts: 1098
Joined: 11-05-2008, 19:09
Location: Hrvatska, Osijek

Re: Phone line controller v2 - 6 releja

Post by race king »

I'm not so good in English ...

but here you can translate all this :wink:
:arrow: http://www.design-ers.net/eh-rjecnik.asp" onclick="window.open(this.href);return false;
Last edited by race king on 15-02-2009, 13:50, edited 1 time in total.
Dvije ploče jedan izolator,mala moja to je KONDENZATOR...
User avatar
stojke369
Administrator sajta
Administrator sajta
Posts: 3913
Joined: 19-10-2005, 01:41
Location: Srbija-Paracin

Re: Phone line controller v2 - 6 releja

Post by stojke369 »

@masoud

Croatian
http://translate.google.com/translate_t?hl=en#hr|en|" onclick="window.open(this.href);return false;

:wink:
User avatar
Smjesko
Stariji član
Stariji član
Posts: 4012
Joined: 26-12-2005, 17:12

Re: Phone line controller v2 - 6 releja

Post by Smjesko »

@masoud, it's nothing important that I said to Race King. I just explained him what is this controller used for.
masoud
Pocetnik na forumu
Pocetnik na forumu
Posts: 28
Joined: 13-02-2009, 22:12

Re: Phone line controller v2 - 6 releja

Post by masoud »

TANX TO ALL DEAR FRIENDS FOR YOUR ANSWERS AND HELP! :wink: :D

i should check my pcb connections again( however i've checked it over million times!...)
then reprogram the micro....
hope that it works
i'll send results... 8)
masoud
Pocetnik na forumu
Pocetnik na forumu
Posts: 28
Joined: 13-02-2009, 22:12

Re: Phone line controller v2 - 6 releja

Post by masoud »

OOOOOOOOOOOHHHHHHHHH...

I'M SO SO SO SO SO... CONFUSED. :x :evil:
I ERASED THE PIC AND REPROGRAMED IT.
I CHANGED MY MT8870.
I CHECKED MY SOLDERING POINTS.
I CHECKED Vcc POINTS ON THE BOARD,... ALL 5v.
I USED A 560OHM 1W Res..
.
..
...
BUT NO ACTION.. NO BLINKING LIGHT...NO EVENT...NO CHANGE... ANY ANY THING...
SO ANGRY... EXPLODING...10..9..8..7..6....
User avatar
trax
Administrator sajta
Administrator sajta
Posts: 3509
Joined: 08-01-2005, 18:04
Location: 75k, BA
Contact:

Re: Phone line controller v2 - 6 releja

Post by trax »

Maybe your phone-line-relay is not working, or your LED is not working :-)
Make sure you connected the crystal properly! That crystal is for both PIC and MT8870 chip. How did you route the clock crystal pcb trace, why don't you put some pictures here so we can help more.
User avatar
stojke369
Administrator sajta
Administrator sajta
Posts: 3913
Joined: 19-10-2005, 01:41
Location: Srbija-Paracin

Re: Phone line controller v2 - 6 releja

Post by stojke369 »

Trax ja ne bih da te plasim ali bices biven do kraja :D
Post Reply