Discussion in "Project Addition or Changes" started by    Computer eng    Apr 7, 2009.
Wed Apr 08 2009, 09:40 pm
#11
Hello everyone;)

sorry for interruption. i am senior student and i have to submit my graduation project by the end of this semester.

i am thinking to do a "Home automation" project which is similar to your idea computer eng.

i will use 8051 microcontroller. my problem is how to start writing the assemply code? i am confused with the start point in the code

I really need help with this

Thu Apr 09 2009, 12:21 am
#12
Fliz, i suggest you to create a new thread, well to make Home automation project first decide what things or features you want to have in your project. then move on to programming part.
I will surely guide you through. I recommend you to create a new thread for yourself, in "Project Help" forum.
Fri Apr 10 2009, 01:09 am
#13

Hello guys ,

I'm connect the mobile ericsson K300i to the PC ..
And I'm found it's support AT

When I try to check the sending sms , I get

OK
AT+CSMS=0
+CSMS: 1, 1, 1

OK

but when I'm try to send the sms according to this link ::

http://www.dreamfabric.com/sms/

I'm get error # 304 which is invalid mode parameter..

Can some body help me, please..

I'm plan to finish this task today.. please help me ..:-s

Fri Apr 10 2009, 10:30 pm
#14

I'm will start writing the code but I have problem in understanding something..

I'm don't know from where should I start and what's the sequence of the program.. :mad

Please Ajay I need this information in my project ..:(

Give me some hints

..
Sat Apr 11 2009, 12:26 pm
#15
try this command if you havent

AT+CMGS="mobilenumber"> message heretry it..
Sat Apr 11 2009, 03:26 pm
#16

I'm try it , but it's don't work .. I will skip this step and review it later ..

Please Ajay can you give me some hints about the code .. I have some problem

Please help mev
Sat Apr 11 2009, 03:33 pm
#17
you will find a lot of codes in this forum for sending sms. just go through forum once.
its really simple. all you need is simple routines.. like to send string and send byte over uart. thats all.
Sat Apr 11 2009, 05:00 pm
#18

Thank you Ajay ..

I'm go through the forum manytimes before and over the internet also.. :-s

But all what I'm found are in C, and I'm don't have knowledge in programming 8051 with C ..

Please I need hints to program in assembly ..
..
Tue Apr 14 2009, 04:07 pm
#19
hmm..
can you make something if i tell you to do.. as assignment..

"write a program in assembly to send a string from code memory to serial port"

if you can write this then you can make the program easily.
Wed Apr 15 2009, 12:08 am
#20
Thank you Ajay for your replay..

I'm start with this one .. But H'm not sure if it's correct or not ..
inform me please ..

.org 0

MOV TMOD,#20H   ;TIMER 1, MODE 2
MOV TH,#-3      ; BAUD RATE 9600
MOV SCON,#50H   ; 8 BIT , 1 STOP , REN ENABLE
SETB TR1        ; START TIME 1
MOV DPTR,# CMD


AGAIN: CLR A
       MOVC  A,@A+DPTR
       JZ SEND_NEXT
       ACALL SEND
       INC DPTR
       SJMP AGAIN

SEND_NEXT: MOV PDTR,#CMD2

AGAIN2: CLR A
        MOVC  A,@A+DPTR
        JZ WAIT_RESPONSE
        ACALL SEND
        INC DPTR
        SJMP AGAIN2

SEND:  MOV  SBUF,A
HERE:  JNB  T1,HERE
       CLR  T1       ;GET READY FOR NEW CHARACHTER

       RET

CMD  .DB  'AT+CMPC="ME"' , 0x0D , 0     ; CHOSE THE PHONE MEMORY
CMD2 .DB  'AT+CMGR=1'                        ; READ NEW MESSAGE


Thanks in advance


[ Edited Wed Apr 15 2009, 02:56 am ]

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

BartonSem
Thu Apr 18 2024, 04:56 am
DonaldKnown
Thu Apr 18 2024, 12:24 am
utaletxcyw
Wed Apr 17 2024, 10:21 am
Anthonyvab
Wed Apr 17 2024, 08:48 am
RobertCix
Wed Apr 17 2024, 06:46 am
Astorne
Tue Apr 16 2024, 08:52 pm
Williamjaf
Tue Apr 16 2024, 12:25 pm
best_yyPa
Tue Apr 16 2024, 09:42 am