8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems

 
8051 microcontroller 8051 microcontroller
Forums

Go to page  1 [2] 3
Moderators: Ajay, Junied , abbas1707, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph
Author Post
Ajay
Thu Jan 31 2008, 10:48AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3529
Thanked 644 times in 609 posts
sorry rahul.. i missed your thread, its not DPOT relay.. its DPDT (dual pole double throw) Relay. Its a type of relay. yes you need to take speaker off by cutting wire.



www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top



This post has been thanked 1 time
 rahuljin 
rahuljin
Sat Feb 02 2008, 01:03AM
 User Offline
Registered Member #3897
Joined: Fri Sep 07 2007, 01:19PM

Posts: 84
Thanked 0 times in 0 posts
thanks for the reply !!!

i dont get the use of this DPDT reply !!!

so what is the need of ring detector, i mean nokia has a option to accept the call automatically !!

also i want to ask that the wires are attached to relay or can i attach them to dtmf decoder ???
Back to top


Ajay
Sat Feb 02 2008, 01:28AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3529
Thanked 644 times in 609 posts
as perl the link you posted in your first post, that person uses telephone line not a mobile phone. so you can remove relay and directly connect the mobile to MT8870.

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


rahuljin
Sat Feb 02 2008, 08:27AM
 User Offline
Registered Member #3897
Joined: Fri Sep 07 2007, 01:19PM

Posts: 84
Thanked 0 times in 0 posts
can u tell me the use of this relay ???
Back to top


Ajay
Sat Feb 02 2008, 10:12AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3529
Thanked 644 times in 609 posts
relay picks up the phone.. when ring is detected.. microcontroller switch on the relay and hence phone is answered.

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


rahuljin
Sat Feb 02 2008, 08:45PM
 User Offline
Registered Member #3897
Joined: Fri Sep 07 2007, 01:19PM

Posts: 84
Thanked 0 times in 0 posts
so even without relay i hav to use ring detector circuit or not ???
Back to top


Ajay
Sun Feb 03 2008, 08:25PM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3529
Thanked 644 times in 609 posts
Well usually there is facility in every mobile for auto answer, if you enable it.. then you need to decide how to detect if call is activated or not..

One thing you can do is.. use auto answer and ask user to press * to start with the further work.. you can also couple microphone with controller to feed voice response..

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top



This post has been thanked 1 time
 rahuljin 
rahuljin
Sat Mar 01 2008, 11:27AM
 User Offline
Registered Member #3897
Joined: Fri Sep 07 2007, 01:19PM

Posts: 84
Thanked 0 times in 0 posts
i have done everything !!! but i am facing a problem.
i sent the dtmf tone to other mobile then it is taken by cm8870 and output of cm8870 is obtained. then this output is given to microcontroller, and an other output is obtained at other port of microcontroller.
now my problem is that the port does not refresh after the output is obtained. i get same output untill i press another key !!!
i tried to give setb to std (in cm8870) through microcontroller !!
i also tried to refresh the port but no use !!!



[ Edited Sat Mar 01 2008, 11:29AM ]
Back to top


GioppY
Sun Mar 02 2008, 04:39AM
 User Offline
Registered Member #6071
Joined: Fri Feb 15 2008, 03:10PM

Posts: 19
Thanked 5 times in 3 posts
You have to wait the end of the dtmf tone; check the stb pin.
Something like this pseudocode

CODE:
Sub St_dtmf
         if Stb = 1 then
            mov     a,P0               ;get data from MT8870
            anl     a,#15               ;4 bit  low nibble
            lcall   conv_tone         ;convert to ascii
            Txx  =  Acc
            DtmfString = DtmfString + chr(Txx)         ;save
            do
            loop until Stb = 0          ;wait end dtmf
         endif
End sub
;
Conv_tone:
        inc     a              
        movc    a,@a+pc        ;get from table
        ret
        db      H44,H31,H32,H33          ;D123
        db      H34,H35,H36,H37          ;4567
        db      H38,H39,H30,H2A          ;890*
        db      H23,H41,H42,H43          ;#ABC
 


Regards
Gianni
Back to top



This post has been thanked 1 time
 rahuljin 
amer
Mon Jun 09 2008, 12:29AM
 User Offline
Registered Member #8341
Joined: Sun Jun 08 2008, 11:55PM

Posts: 3
Thanked 0 times in 0 posts
in telephone line interface

the input lines to DTMF is speaker lines or what?
Back to top


Go to page  1 [2] 3  

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System

8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems