Working with SMS
SMS is a text-based two-way communication method. It is useful because it works well in the absence of internet connectivity, and it is used in a lot of applications where you want the microcontroller to do something, or where you want the microcontroller to report the status of something.
Let’s consider the first instance where you would like a microcontroller to receive an SMS.
Project 2 – Receiving an SMS
Take the following steps to display the content of any SMS messages received on the microcontroller. The code for this section is available at GitHub (https://github.com/PacktPublishing/Arduino-Data-Communications/tree/main/chapter-9/MKR-GSM-Simple-Receive-SMS):
- Connect the dipole antenna to the MKR GSM. This is the antenna that comes with the MKR GSM purchased from the Arduino Store.
- Insert the SIM card into the holder.
- Connect the negative pin of the 5V power supply to the GND pin of the microcontroller.
- Connect the...