A9G based GPS Tracker, SOS Button & Audio Spy Project | IoT Projects | ESP32 Projects

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
so after making the audio spy and the SOS button project using the a9g module now let me show you what exactly I wanted to make using this tiny little board which in itself has a lot of applications in it let me show you all those applications one by one so this is the multi-purpose iot tracker and it can act as an audio spy project using which you can listen to all the conversations secretly over cellular network well this can also be act as an SOS button whereby just pressing and holding on button you can share your current location via SMS and also it can make a call on that SOS number and now we have one more feature in it using which you can get the current location of this a9g board by just sending on SMS yes but just sending one SMS you will get the Google Maps link with its current location in it truly a multi-purpose device right so this video is all about how we made this project and how you can make it to at your home so before starting this video if you are watching me for the very first time well consider subscribing this channel as I used to come up with these kind of interesting and useful project in the field of iot Automation and electronics well that being said let's start with a multi-purpose iot tracker project using a9g board do you know what most electronic companies have something in common well it's the tool that they use for making their products and the most commonly used tool that almost all the big electronic companies uses is the Altium PCB designer software using LTM you can definitely level up your PCB designing skills and make something really professional out of it and now along with the integration of octopart searching for any electronic components globally becomes really very easy octopod is kind of Google for just electronic components where you can search for any electronic parts and get their information all on one single web page so do check out this amazing search engine made just for electronic components I'll leave the link for this down in the description do check it out so for making this project we'll need these all components and we are also selling all these components in a kit format whose detail I'll share by the end of the video so the main part of this project is this a9g board which has built-in GSM GPS and battery charging circuit in it and to provide command to this board we are using the smallest esp32 based board from seat studio now to make everything work properly you need to connect all these components according to the schematic diagram now if You observe this schematic properly then you'll come to know that this time we haven't used any voltage regulator in the circuit and that's because we have provided the battery connection directly to the battery terminal of both the boards let me explain so previously we made this project on a general purpose PCB and to provide the battery connection directly to Xiao C3 board we need to attach the battery at the bottom side of the Xiao C3 board where the terminals are provided which was very difficult in a general purpose PCB but as this time we decided to go for a custom designed pcbs we remove the voltage regulator part in it and decided to shoulder the Xiao C3 board directly on the PCB in which we can easily give the battery connections or battery terminals at the bottom side so now after designing the smallest form factor PCB for this project we gave its order directly to jlc PCB now even you can try ordering your own custom design pcbs from jlc PC by following very simple steps you just need to upload the Gerber file of your PCB project after that the select number of pcbs also you can select the PCB masking color of your choice here I'll go for the green one and after that just place your order now if you select the fastest delivery option you may get the pcbs delivered at your doorstep within a week so here are the pcbs received from glcpcb and the PCB quality is really amazing now glcpcp do offers couple of more services like the PCB assembly service and 3D printing service I'll leave the link of both of them down in the description of this video so do click that link and check out all the services provided by jlc PCB so after listing the PCB we first try to shoulder the Xiao C3 board on the PCB and for that first we got the stencil with just battery terminal pads on it added some shoulder paste and carefully placed the South C3 board on it after that we put this board in the icy heater set the temperature curve and after a couple of minutes we got the board properly shouldered on the PCB and after that we showed it all the other components one by one and after shouldering them all the final PC project looks like this neat and compact now here we cleverly attach the GSM antenna alongside the female box strip also attach the battery in between the two buck strips and stick the GPS antenna on the back to save the space so that was all about the harder part of the project now let's jump on to the computer and let's look over the coding part okay so here's the code for our multi-purpose iot tracker project now most of the lines used in this code are pretty much the same as we have used in the SOS button project so I won't be explaining all those lines and all those you know Logics that I have embedded in the previous code now that I only explain how I embedded the GPS tracker uh feature in this particular code I'll explain those lines only and if you want to understand the rest of all the core value you can watch out our previous videos about the SOS button and the audiospi project okay let's start with this code okay so first of all the source button is attached at D3 and the Sleep pin is attached at D2 then we had to provide the SOS number on which way to make a call send an SMS and also send the GPS you know locations this time okay so this is the number on which all the things will happen Okay so after that we have provided SOS time of five seconds so whenever the button is press and hold for more than five seconds uh the SOS button SOS condition will be triggered you can change the time here by just changing to three it will change to three second but I'll keep it 5 for my case uh rest of the thing like the variables are glad pretty common after that we are turning off the Wi-Fi and Bluetooth for power saving that we also discussed in the previous code after that we are waiting for 20 seconds to a9g to get startup and make the connection with the gsm network and everything great after that we are providing couple of 80 commands so you need to turn on the GPS turn on the low power GPS and also turn on the sleep mode to one okay so what we did is we'll be making the a9g board into the sleep mode until unless we don't want to provide any 80 commands don't want to fetch the location okay so in ideal condition it will be in the sleep mode okay both GPS and the a9g board okay so now going into the loop part where every logic is embedded so first of all what we are doing is we are comparing whether we are receiving an SMS called as send location now this is a trigger command which I have chosen you can choose your trigger command based upon your application so what happens is whenever I send the send location command in SMS when with everything written in capital letters only then and then only the uh you know a a9g will trigger into GPS tracker mode okay so as soon as the a9j receives this particular message it will call a function called as get Google Maps link with a input of zero so what we are doing is we're sending the location without making a call okay so earlier whenever we are pressing and holding the SOS button we are sending the location we are also making the call but here this time we don't want to make a call so let's just see what's inside the get Google Map link function so here inside the get Google Map link function what we are doing is we are first of all fetching the data like fetching the latitude longitude data from the a9g board as soon as we receive the data so now there are two possibilities either we will receive the GPS coordinates either we won't be listing the GPS coordinates in case we don't repeat receive any GPS coordinates maybe the board is inside a room in indoors in office any of the situations we don't receive the GPS coordinate what we are doing this time is we are sending one sms okay what what's that SMS is unable to fetch location please try again okay so this time we are also getting feedback when there is no location provide I did okay so this is the feedback and in case we are getting the latitude longitude data what we are doing is we are you know making a Google Maps link along with the latitude and longitude that we have received from the a9g board and then we are sending that SMS to the SOS number with the format I am here along with the Google Maps link okay so and if the make call variable is zero it won't make a call and if the make call variable is one it will also make a call after sending an SMS which is the SOS button feature okay we'll also discuss that here so this is how we are you know sending the location based upon this trigger command so this is the GPS tracker we have made in the a9g mode rest of all the thing is same so we can make a call on the e9g ball it will automatically receive that call so it's a audio spy project after that you know uh it can also work as an SOS button which is provided here so if the SOS button is pressed for more than five second which is the SOS time the Google Maps link with the data one will be called which is sending location with a call so it will send a location when the button is pressed and also make a call so that there is receiver can listen to all the conversation happening in those dangerous situations so all the three features Amber in one single code and that's the iot tracker now the multi-purpose ID tracker project using a9g quite interesting quite useful quite convenient as well so what I'll do is I'll provide my own mobile number here and after that upload this score onto my Xiao C3 board and let's just test this project working live in action so after uploading the code first of all I'll insert the SIM card onto the A9 Jeep board now here I'm using my VI SIM card but you can choose any SIM card from the network provider that provides 2G bands or 2G connectivity once again The jio Sims won't work here software insert in the SIM card I inserted the a9g board into the PCB attached all the antennas onto the proper connectors turn on the power switch and I'll press and hold the power button on the a9g board to boot up this device okay the blue light got turned on that means the board is powered up successfully now the great part is here we can charge the battery using the a9g board with the micro USB cable or with the Xiao C3 board with the type C cable so it's your choice you can charge the battery with both the boards okay now let's test this device so I'll place this device outdoor so it can get the proper GPS connectivity and now I'll come into indoors and I'll type one message called as send location with which everything is written in capital letters and hopefully it should send me a PS coordinate with a Google Maps Link in it okay so we got the message which says I am here along with the Google Maps link and when I open this on my Google Map application as you can see here is the location which is quite close to the location of my studio where the device is placed so this GPS tracker is working perfectly fine and I can send the SMS n number of times and I can get the location of the live locations whenever I want to receive so this kind of device can be really very useful for all your children so going to the school so you can drop this device in your in that school bags uh wherever you want to track anything maybe your post maybe your car you can place this small little device in any of those you know bags and cars and you can track them whenever you want and not only that it has the other two features as well as I discussed the audio spy feature and the uh what we can say SOS button feature now here in this device I have provided one extra button who's you know use case I haven't decided yet so it's an extra button in which you can you know program Ram it on your choice maybe you can you know make that button to particularly make a call to a particular number it's your choice it's an extra GPI open it's an extra button program it according to your choice your demand your requirement and your ideas not only that we also provided a port to attach speaker in it yes so this a9g board has a dedicated pins to attach a speaker so what we can do we can make a walkie-talkie like thing as well so I can attach a speaker on it I can make the call and I can you know talk to the person using the a9g board because it is built-in mic and we have attached the external speaker as well so it's a truly multi-purpose iot tracker device that has a lot of application well do click the like button if you really love the concept really love the project that we have built okay now coming up to the point about the iot like multi-purpose iot tracker kit that we are selling so of course we are selling all the components which are visible in your screen right now through our website at an amazing price now here was one problem so we have the stencil and we have the icy heater through which we can you know shoulder the Xiao C3 board onto the PCB but many of you may not be having such tools sitting at your desk or lab so what we decided will be sending you the Xiao C3 board already shouldered on the PCB and all the other components in a kit format so without shouldered form okay so finally you'll receive a kit along with these all components so PCB has already Xiao C3 board soldered on it and this is available for sale on our website whose link is attached down in the description of this video as we have very limited stock of Xiao C3 board so ultimately this kit also comes with a very limited stock quantity so make sure you get one for yourself right now after watching this video and yes one more thing I want to announce we are coming up with an iot course where we'll be teaching all the things from Basics like which Hardware to choose details about esp32 details about or starting with the Arduino programming what are libraries what are functions everything and also we'll be discussing about what is empty DT how to use mqd protocol for different different Cloud platforms for AWS for cloud impurity for Adafruit mqtt everything we'll be discussing in that course which is a seven day course starting from 7th of January whose details are also mentioned in the description I'll highly suggest for all those people who want to start with iot this is a perfect course for you and I'll be teaching that course and this is a live course so it will you will all will be interact with interacting with me live so all your doubts queries will be solved in that live live session itself so do register do enroll for that course all the links are mentioned in the description that being said and this ending this video here and now just wait for my next video then explore learn share with me techie SMS and hey I forgot I wish you a very happy 2023 may all your dreams come to me you get the success that you were chasing for since so long in this 2023 and hope tachy SMS grows to the newer newer Heights and have a lot of peoples in the community through our platforms that's the goal of 2023 I wish you all the best for that foreign
Info
Channel: techiesms
Views: 120,218
Rating: undefined out of 5
Keywords: techiesms, electronics, electronics projects, a9g, gps tracker, a9g gps tracker, iot tracker, gsm based gps tracker, sos button, audio spy, a9g projects, esp32 projects, Xiao c3, iot projects
Id: --gt-wCcEiM
Channel Id: undefined
Length: 14min 38sec (878 seconds)
Published: Fri Dec 30 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.