ANTI_HACKER
Member level 3
Hello everyone!
I am working on GSM sim900D interfacing with Atmega16. Initially I made the circuit using MAX232 on breadboard. Then i connected it to my PC using a serial port. I tested AT commands, the commands worked perfectly on hyper terminal and i was able to send sms using hyperterminal. Then I tested it on Proteus and it was working there perfectly too. I am using codevision avr as the compiler. GSM work on 9600baud but the problem is that in compiler i have to keep the baud rate4800(clock = 1MHz) and at proteus COMPIM(physical baud=9600 & virtual baud=4800) only then it works when i run it on hardware(breadboard) it doesn't work as i have set the baud to 4800. I dont know how to set the baud for hardware. I tried 9600baud for hardware in compiler but it doesnot send sms at all. Kindly tell what should i do?
Thanks in advance
I am working on GSM sim900D interfacing with Atmega16. Initially I made the circuit using MAX232 on breadboard. Then i connected it to my PC using a serial port. I tested AT commands, the commands worked perfectly on hyper terminal and i was able to send sms using hyperterminal. Then I tested it on Proteus and it was working there perfectly too. I am using codevision avr as the compiler. GSM work on 9600baud but the problem is that in compiler i have to keep the baud rate4800(clock = 1MHz) and at proteus COMPIM(physical baud=9600 & virtual baud=4800) only then it works when i run it on hardware(breadboard) it doesn't work as i have set the baud to 4800. I dont know how to set the baud for hardware. I tried 9600baud for hardware in compiler but it doesnot send sms at all. Kindly tell what should i do?
Thanks in advance