Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Problem with circuit with MT8888 and 8051 - serial transmission

Status
Not open for further replies.

tictac

Full Member level 5
Full Member level 5
Joined
Oct 22, 2006
Messages
297
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Location
Polland
Activity points
3,572
I Design A Circuit With 8051 And MT8888.This Circuit Is Working With This Way That Write Below.
At First I Initialize MT8888 Upon Its Datasheet With 8051 And Then Initialize It For The State That Wait For A Ringing Of Telephone ,I work with INT0 Of 8051 And Connect Interrupt Pin Of MT8888 To INT0 Pin Of 8051. There Is An Interrupt Routine In 8051 That Works In 2 Way.When Call Progeress Or DTMF Code Has Recieved This Routine Was Invoked.When Interrupt Was Occure This Routine Automatically Invoked, When Telephone Rings,Routine Interrupt That Was Available In 8051 Was Call And After This, Routine Was Ready To Take DTMF Code From Phone Line And Save Them To A Variable.When The Phone Is Ringing The Buzzer That Available In The Circuit Turn On And After A Pause It Turn Off Via The Interrupt Routine That Was Available In 8051, And After 3 Rings Of Telephone 8051 Turn On A RELAY To Take The Phone Line To The OFF-HOOK State .After This Event MT8888 Initialize For Detect DTMF Code That Was Sent To This Circuit From Phone Line.I Also Test This Section Of The Circuit And I Found That Is Work True. But My Problem Was Occure When I Use Serial Transmission To The RS232 Of My PC.
In Serial Transmission I Must Connect GND Of My RS232 Port To The GND Of My Circuit ,In This Time My Problem Was Occure And After This Connection When I Turn On My Circuit The Interrupt Routine Automatically Was Invoked And Buzzer Start To Sound With Out Any Call Progress.I Check Interrupt Pin Of MT8888 With One Osiloscope And I Found That MT88888 Cause This Interrupt And Upon To This Signal Of Interrupt ,8051 Invoked The Interrupt Routine And The Buzzer Start To Sound And After A Little Time Relay Is Turn On And Take The Phone To The OFF-HOOK State With Out Any Ringing Progress.I Must Have Serial Transmission In My Circuit.
I Try To Reduce The Noise In My Circuit And Use Polygone And Bold Track And Some Capacitives Between VCC And GND In The PCB For Reducing Noise .
I Attach the Schematic And Source Code Of My Circuit To This Mail.
I Use MicroVision Compiler For Source Code.

Please Answer Me.

By Regards.
 

mt8888 mcs51

tictac said:
I Attach the Schematic And Source Code Of My Circuit To This Mail.

???

Regards,
IanP
 
  • Like
Reactions: Sajji

    Sajji

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top