[ad_1]
A supply of inspiration
Whereas shopping social media, YouTuber GreatScott! got here throughout a video that showcased a lady urgent a button on a small necklace that would ship an alert. Nevertheless, this product utilized Bluetooth and required a smartphone to work, however what if somebody did not have their telephone close by? In response, Scott got down to create his personal alert system that was completely self-contained and will ship an alert by way of SMS to somebody with the particular person’s present location connected.
Parts
This venture was primarily based across the Arduino Professional Mini resulting from its small measurement and skill to enter a low-power mode. The GPS machine chosen was the NEO-6M GPS module, together with an appropriate antenna. With a purpose to ship/obtain textual content messages and calls, Scott selected to make use of an A6 GSM module as a result of it was the one one which labored correctly together with his SIM card after testing three different boards. Energy is supplied by a single 3.7V 820mAh LiPo battery and may be toggled on or off with a slider swap. Lastly, a pushbutton was added in order that the person can ship an alert, and a second slider swap adjustments the mode between texts and calls.
Wiring all the things collectively
For communication with the SMS module, Scott’s code units up a SoftwareSerial port on GPIO pins 4 and 5 that ship and obtain data at a preset baud fee. In an identical vein, the GPS module was connected to GPIO pins 2 and three which ship/obtain data over one other software-emulated UART port. Charging the LiPo cell is dealt with by a TP4056 module that permits for a 5V USB enter to cost the battery after which outputs a regulated 3.3 volts. Each the tactile swap and slide swap had been wired to their very own pins as effectively, together with an LED to see if the alert was despatched efficiently.
The enclosure
Scott designed a customized 3D-printed enclosure that incorporates the battery and charging circuitry on the backside after which matches the remaining modules as a stack on prime of it for a compact machine. As soon as all the things was secured internally, the highest piece was added which supplies the person entry to the LED, button, and switches.
Programming the system
When the system is first powered on, each the GSM and GPS modules are initialized and linked to over their emulated UART ports. From there, this system waits in an infinite loop for the button to be pressed, and as soon as it senses a press, it both initiates a name or sends a textual content with the present coordinates primarily based on the chosen mode.
Testing
With all the things wired up and powered on, Scott examined his new alert field by setting the mode to “name” and pressed the button. A lot to his delight, his telephone started to ring with the variety of the his field’s SIM card. Within the video for this venture, Scott speculated that this technique can be utilized for sending alerts in a harmful state of affairs or to easily get out of an undesirable dialog.
To learn extra about this venture, you may go to its write-up right here on Instructables.
[ad_2]
