The protection of kids, aged individuals, medical sufferers and girls is a primary concern, at any time when they’re outdoors or at residence alone. No one needs something unlucky to occur. The nice factor is that communication networks have improved, resulting in an elevated utilization of telephones and the web.
However what if these individuals want to shortly or discreetly inform about their whereabouts for assist. A smartphone is just not preferable in such a state of affairs as one has to dial an extended sequence of digits.
So, on this venture, you’ll study to design a small SoS system like a wristwatch or another small swap that may instantly ship an SOS alert when in want of pressing help.
The system will probably be geared up with a GSM module comparable to SIM800L or another microcontroller-based GSM module. On the press of a button, the particular person will be capable to ship a notification in search of assist.
Invoice of Materials
Elements | Description | Amount |
IndusBoard | 3cm sized dev board | 1 |
Battery | 3.3V | 1 |
SIM 800L | 2G GSM Module | 1 |
Programming SoS Machine
You may also use a push button for sending an SOS message. Nonetheless, the IndusBoard comes geared up with over 10 built-in capacitive contact sensors, which can be utilized as contact switches. On this instance, we’ll use one in every of these contact switches because the enter for the SOS message.
When the person double-taps or touches the required pin, it’s detected, and the SOS message is shipped to the preset cellphone quantity. To realize this, we have to outline the pin as an enter within the code and use the analogRead
perform to detect the contact.
For the GSM module, most of them function by way of a serial port. The IndusBoard Coin can make the most of any {hardware} serial port, so we specify the serial port pins within the code for the GSM module. The default baud charge for the SIM800L module is 4800, so we set the serial communication accordingly.
SoS Machine Circuit Connection
Right here the GSM module could be powered with 3.3V pin on the IndusBoard. The serial RX and TX pin connects with the pin outlined in code. RST pin is non-compulsory, you’ll be able to both go away it or join it as per code. The SOS swap, you both straight use the contact GPIO or you’ll be able to solder a flat steel after which use that as contact pad as per your alternative. In some instances, the capacitive touchpad additionally works.
Testing
Now energy the system both with 3.3V battery utilizing 3.3V and GND pin on board or for testing, you may as well energy utilizing USB port. Now contact the pin 21, it’ll ship the SOS message to set quantity as you’ll be able to see in fig beneath.