free 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

Rickey's World :: Discussion Forums :: GSM Discussion :: Embedded GSM Development
 
<< Previous thread | Next thread >>
interfacing 8051 to modem
Go to page   <<      
Moderators: Ajay Bhargav, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph, ExperimenterUK, DavesGarage
Author Post
Ajay Bhargav
Sat Feb 27 2010, 12:32PM
Rickey's World Admin

 User Offline

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

Posts: 7567
Thanked 1331 times in 1255 posts
that was really sweet.

we hope to listen from you soon good luck with tests



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

aiebutton
Sun Mar 14 2010, 09:31AM
 User Offline
Registered Member #23075
Joined: Tue Oct 20 2009, 04:43AM

Posts: 24
Thanked 1 time in 1 posts
In my project, i m using at89s51 to control 6 sets of displaying times (each set consist of 4 seven segment displays-> 2 to display hours n another 2 to display minutes). One set for the real time and the other 5 sets use to display the alarm times. i m using BCD to seven segment decoder and 4-to-16 line decoder to support the microprocessor since in my project i need to control (6 set X 4 seven segment display = 24 seven segment displays) which i think is quite complicated. To realize the project i m using the masking technique by assigning each number that is going to display on each seven segment display with the value such as MOV 30H, #13H the value 1 will be fed to 4-to-16 decoder which will make the seven segment display no 1 to turn on and the value 3 will be send to bcd to seven segment decoder which will make the seven segment display no 1 to display the value 3.To realize the complete module i have stored all the values that are used to display the real time and alarm times in the respective location from 30H to 4DH as below:

MOV 30H,#0D0H ;real time(0548 + 00second)
MOV 31H,#0E0H
MOV 32H,#18H
MOV 33H,#24H
MOV 34H,#35H
MOV 35H,#40H

MOV 36H,#59H ;alarm time1(0549)
MOV 37H,#64H
MOV 38H,#75H
MOV 39H,#80H


MOV 3AH,#91H ;alarm time2(1311)
MOV 3BH,#0A1H
MOV 3CH,#0B3H
MOV 3DH,#0C1H

MOV 40H,#0D0H ;alarm time3(1633)
MOV 41H,#0E0H
MOV 42H,#13H
MOV 43H,#23H
MOV 44H,#36H
MOV 45H,#41H

MOV 46H,#57H ;alarm time4(1907)
MOV 47H,#60H
MOV 48H,#79H
MOV 49H,#81H

MOV 4AH,#92H ;alarm time5(2022)
MOV 4BH,#0A2H
MOV 4CH,#0B0H
MOV 4DH,#0C2H


The memory location from 30H to 35H hold the dynamic values of the real time.I m also using the timer0 interrupt to generate delay for the real time display. the real time is functioning well so as the 5 sets of alarm time. When one of the alarm time is equal to real time a buzzer will be turned on for about 20 second and an LED that has been assigned to the respective alarm time will be turned on and blinking too. This is how my clock module is working.

For the web interface(PHP + mySQL), i m designing two main pages. For the first page, it shows the current real time and alarm times same as been displayed on the module and the second page is modify page at which the users can modify the real time and alarm time accordingly. my problem is how can i interface my module to the PHP + MYSQL which function as server. from server i m also planning to control two different clock modules. Is it possible? Soon, i will attach the hardware which is function well. I realy hope u can help me since my due date is on early april.Thank you

\(0__o)/
Back to top

aiebutton
Sun Mar 14 2010, 09:37AM
 User Offline
Registered Member #23075
Joined: Tue Oct 20 2009, 04:43AM

Posts: 24
Thanked 1 time in 1 posts
my hardware



\(0__o)/
Back to top

Shailesh NAYAK
Mon Mar 15 2010, 03:28AM

 User Offline
Registered Member #2498
Joined: Mon Jul 23 2007, 01:20AM

Posts: 62
Thanked 10 times in 8 posts
Yes It can

Best Regards

Shailesh S. NAYAK
Back to top

aiebutton
Mon Mar 15 2010, 04:06AM
 User Offline
Registered Member #23075
Joined: Tue Oct 20 2009, 04:43AM

Posts: 24
Thanked 1 time in 1 posts
can you suggest any proper method? for example how can i interface serial port with PHP?

\(0__o)/
Back to top

Ajay Bhargav
Tue Mar 16 2010, 09:39AM
Rickey's World Admin

 User Offline

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

Posts: 7567
Thanked 1331 times in 1255 posts
hmm.. there are many ways..
like executing a program from PHP that passes parameter to serial port. or storing information in database which need to be sent to serial port and a dedicated software running on same PC reading data from database and send it to serial port.

Now for executing program from php you can use exec function.
also you need to write a program which will take arguments as what to be sent to serial port. you can make that program using C/C++.

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

Go to page   <<       

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