
Hello friends! Today we will send an SMS using a PIC18F452 microcontroller and a SIM900 modem. We will use mikroC PRO for PIC and the hardware UART, beginning with the electrical connection and then following the command exchange that submits a text message. The command sequence is related to our earlier Arduino SMS sending project. The microcontroller code changes, but the modem still needs a valid supply, compatible serial signals, network registration and correctly terminated AT commands. We will improve the original example by waiting for responses instead of assuming that fixed delays prove success. For the opposite direction, see SMS reception with Arduino and SMS reception with PIC. SIM900 is an older GSM/GPRS-generation modem. Verify that a compatible network remains available from the intended operator in your location. A phone showing a modern mobile-data signal does not establish that this modem can register there. The following procedure applies to your own modem and a recipient who expects the test message. Choose a short diagnostic text and send it once while establishing the interface. Repeated automatic retries can create duplicate messages and unnecessary charges. The historical photograph shows a SIM900 carrier. A carrier may include a regulator, level conversion and a power-key circuit. Those additions determine its external input requirements, so finding TX and RX is only part of identifying the board. The bare SIM900's supply is specified in the SIMCom ...








