- This topic has 2 replies, 3 voices, and was last updated 12 years, 6 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
|
Microcontroller › 8051 › Interfacing GSM module with Microcontroller – C Program
Hi,
I am using the MC to accept and transmit the data serially. I have used port 1 as the dataport for lcd and 3 pins of port 2 as command lines for lcd. I am using the baud rate as 9600.
Now the problem is that whenever I send any ASCII codes from the computer to the MC or vice versa, the codes get changed.
For example,
for ascii codes 0 to 47 (decimal) the codes increments by 32. i.e 0 to 47 becomes, 32 to 79 (decimal)
but from 48 (decimal), the code gets incremented by 64. i.e 48 becomes 112, 49 becomes 113 n so on
Any help on the above matter will be highly appreciated,
Thank You
i think the issue must be with the BAUD RATES mismatch or SCON is not configured correctly. check once!
PLease Add your code..otherwise how come we will know!!!!