Getting Started with A9G Board | GSM + GPRS + GPS 🔥🔥

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
so i wanted to make this smallest gps tracker project that runs on a battery and it's not like i haven't tried making this project i tried making this using the ttk call board previously and i also got success in making that project but that project was not that much compact i want to make it way more smaller than that so i started my research on the perfect iot board that can you know fulfill my purpose of the smallest gps tracker and i'll end it up on this a9g module which is half of the size of the ttco tickle board and still have a lot of features in it like a perfect gps tracker so what are the major components required to make a gps tracker one of them is the gps model of course to get the location second is the gsm gprs model to send the data without having any foundation of a wi-fi router and third is the microcontroller that control all the tasks okay so out of these three major components three major modules two of them are built in inside this a9g module yes this a9g has built-in gsm and gps module and along with that it also have a lot of features in it so what we're going to do is in this video i'll let you know everything about this board like what are your specifications configurations how to send and receive sms make and receive calls how to get the gps location how to use the low power mode that will consume a way less battery yes it has some power saving modes as well and a lot of things i'll let you know in this video so this is kind of a getting started video this with this a9g module and after we successfully you know learn about this board we'll try to make a gps tracker and let's see how it's a chart useful gps tracker ban apathy and just stick around with this video and if you are new to this channel you need to subscribe this channel if you want to learn about this greatest and latest iot boards in the market as i come up with this kind of videos every week that being said let's start our video about a 9g model both 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 ltm 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 octopart is kind of google for just electronic components where you can search for any electronic parts and get that 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 starting with the configuration of the chip on which this board is based then this board is based on rda 8955 chip which has built in quad band gsm gprs of class 10 which is kind of similar to the sim 800 module and also most of the 80 commands are kind of similar that we already used in the same 800 module also let me make you clear this board also supports the 2g sim cards or the network provider who have 2g bands so make sure you use that same cards only so along with gsm gprs that chip also has integrated gps in it through which we can easily get the location now if i talk about the specifications of the board then we get on board microphone using which we can make some spy projects i'll definitely test this microphone and we'll look at the quality and we'll see if we are able to make some spy projects out of this or not then we also have a dedicated slot for speaker in case we want to connect one we also get a dedicated pin to attach the battery a micro usb on board through which we can power up the board and also charge the battery but we can't access the chip using the usb connector we still need to make external connection with the usb ttl converter to pass on the 80 commands then we get dedicated connectors for connecting both gsm and gps antenna we do also have two push buttons on the board one is the reset button and other is the power button we have two leds on the board out of which one is for gps indication and other is for gsm gpr syndication on the back we get a slot for connecting micro sd card as well as micro sim card this board also comes with 29 gpio pins and we get all of this in a very compact size of just 40 by 25 mm amazing right so those were the specification of the board and well you can get this board from our website at the cheapest price on internet yes we are selling this through our website whose link is down in the description click that link buy it and you'll get that board delivered at your doorstep with the same day shipping okay now let's just move ahead and let's see how to use this board so for using this board you'll require one usb ttl converter and here i'm using my own made universal ttl programmer and you can get this program as well from our website whose link is down in the description and i'll make the connection between our usb to ttl converter and the a9g model according to this connection diagram [Music] okay so after making the connections open up arduino ide and here i'll select the right com port which is this and i'll open the serial monitor and set the border to 11520 after doing that let's just press the reset button on the board okay says in it so it initialized okay the board is initialized and it will throw some of the commands that it already have in its built-in firmware we need to wait until we get the ready from the uh no board side okay as you can see we got there ready from the board side so now we are ready to use this board let's try out the basic commands to see if we are uh able to communicate with this board or not so i'll just type 80 first of all so it is written as okay so it's perfectly fine so now i'll type 80 plus cgmm which will return the chipset so this is based on a9 or a9g chipsets our particular board is based on a9d chipset only after the l type ati that will give us the information regarding the manufacturer of this chip which is ai thinker and also it gave us the firmware version okay after that we'll type at the command as 80 plus cpin question mark and it returns ready that means our sim card is properly inserted onto this and to check the network operator then we need to type the command as 80 plus cop as is equal to question mark and then it will know return the network operator that this sim card is using so basically all the commands are exactly the same as we are using in same 800 module but there are a lot more commands in this uh as compared to same attendant because it has gps built in it has battery charging circuit building and there are a lot of things built in as you can see it returned as an operator as vodafone it also returned operator as cell 1 and adele maybe it supports these networks from those companies as well but uh for information i'm using the vodafone idea that vi sim card in this particular model that supports the 2g band okay so that was all about this sim card okay so now let's try out the calling feature and let's test the built-in microphone on this board so for calling you to type the command as atd plus 9119 what is the country code of india as i live in india and after i'll i type in well number and in the end i put a semicolon here and let's just press the enter button let's see if it makes the call or not the command is successfully sent and okay on my smartphone i received the call from this particular sim card and as of now i'll cut it okay so i declined the call here but what i'll do i'll call it again and let us put this model in some other room and phone in some other room and let's test the built-in microphone quality and let's see is it useful for spying okay are we able to listen voice of the people nearby let's test out the mic so right now we'll be testing the microphone attached onto this a9g module and let us see is it crystal clear or not so now you will be listening the voice coming from the microphone so hello everyone how are you doing so this is such a calling from audio and this is this is a coffee microphone and are you able to listen i think it should be pretty much good enough and now let's move on with the video okay so the mic quality was really awesome it's kind of the same quality that we get in the modern day smartphone you can see okay so this can be definitely used in spying the conversation of the people but hey do that ethically like use this uh as an ethical tool don't misuse this kind of spying tools don't misuse that that's the disclaimer i want to give use it ethically okay okay so similarly we can receive the calls on the model and we can pick up the call by a simple command let me just show you that command as well so i'll just call from my smartphone to this module and let us wait for the response as you can see it says ring ring ring that means someone is calling on to this particular model so i'll just type the command ata and it will pick up the call okay so now the call is initiated we can now have a conversation okay and you can hang up the call by grabbing the command as is a t plus c h you pick chop and you chop so that's a simple command for you know receiving the uh you know attending the voice call and also declining the voice call okay so that was about the call now let's move on to the sms part and let's see how to send and receive the sms so first of all uh for you know receiving and sending the sms we need to do a couple of one-time uh configuration which is you need to type the command as a t plus cmgf is equal to one to receive our sms in a text format after we need to type one more command which is a t plus c s m p and we need to give the numbers as 1 7 comma 1 6 7 comma 0 comma 0 and press enter as i said this is all a one time configuration now you don't need to do that again and again okay so let's first try to receive the sms from the some other number okay so i'll send an sms from my smartphone to this i'll type it as hello small gps tracker i'll send this message from my smartphone and let's see okay so we got the message we got the mobile number we got the date and time and we got the sr the data the payload you can say hello small gps tracker so this is how you can easily receive the message now to send the message there is one command called as a t plus cmgs if i'm not wrong yeah 80 plus cmgs is equal to double inverted comma to type the mobile number on which you need to send the sms i'll type my mobile number here close the double unity comma press enter and it is waiting for the sms so we can type the command here as hello sachin sony that's it yeah okay so now we need to press either the escape button or the control z button but both the buttons are not able you know we are unable to press the escape button or even the controls that button inside the terminal window of arduino ide and that is kind of a mandatory command to let the message sent okay so we are not able to do that here so you need to try out some other terminal uh you know tools to send this sms from using this module okay so let me just show you that particular thing so as you can see command no response so we are unable to send any sms so what i'll do i'll open the terminal window of my mac system only and we are inside the terminal window okay so here i'll just repeat the same command 80 plus cmgs is equal to double inverted comma plus nine one close the double inverted comma waiting for sms i'll type hello sachin sony okay i'll just press enter and now i will press escape button okay as you can see it is written as okay in the terminal window that means it is successfully sent and here on my smartphone i should receive the sms let me just turn on the screen recording as well five minutes later okay let's just wait one let's try it out one more time one hour later one week later one eternity later yeah it's not working i'm stopping it so that was a problem happening only in the terminal windows only so here i've written a code for sending the message and here as you can see i'm i have used my same mobile number here i use the message as hello from a9g and here i've used at character 26 now this character 26 26 basically is an ascii value of control plus z so okay so after the message we need to press ctrl c to send that message we are not at all able to do that in the terminal window but here in the code we can do then i'll let you know the example right now i uploaded this code i will just connect the rx tx with my esp32 board so here i'm using the esp32 board only but off what my connection okay so i made the connection successfully i'll open the serial monitor and as you can see cgm cmg f1 cm gs mobile number and hello from a9g and okay so it will send the sms after every 10 second and let's just see if i get the sms or not wait what is it let me just check it out i should receive the mobile uh sms so it's all okay okay okay so i received the sms as you can see here is the sms so i'll be receiving this kind of sms after every 10 seconds so hello from a9g is the message hopefully it is visible onto the screen okay so as you can see i got the second message so i am getting this message continuously and this is coming from the a9g module oh my god but yeah it worked successfully so we tested the phone call we tested the sms and now we are left with testing the gps and the gprs like the http request okay so let's just test the gps module and i'll let you know how we are getting the uh lord legitimate longitude and everything let me show you that okay so now i am sitting near to the window side because gps doesn't work indoors so we need to move to outdoors or maybe near to a window to get the connection of the satellites okay so now let's see how to access the gps coordinates okay so for that first of all need to initialize the gps built in for that the command is 80 plus gps is equal to one with this we have enabled the gps and on the board the second led also started blinking which is dedicatedly uh used for gps only okay so that led turned on which indicates that we are uh you know the gps is activated basically okay now to get the location the command is 80 plus location is equal to two and it is not uh available gps not fixed now that is the error that we are you know able to see on the serial monitors just because it will take some time to get connected with the satellites and then we'll be able to get the latitude and longitude data it may take a minute or two to get this data so you just need to try out this uh command after every interval and maybe after one automate you'll get the data so let's just wait for it okay so it took bit of time but right now we are getting the locations whenever we enter this command as you can see here is the lateral longer data that we are getting if i copy this and if i paste this inside my google maps let's just see how accurate the data we are getting so let us zoom it in a bit okay so it's quite accurate as you can see here is the techie sms studio where i'm sitting right now and here is the estimated location or the location that we are getting from the gps model so it's quite close to that and we'll be getting more accurate data when we move outside okay so when we it is clear in the sky so right now i'm still in my studio near to a window so we are getting this estimated data but if we move out if we use it as a real tracking device uh in outdoors it will be you know working as accurate as it can okay and one more thing i want to tell you is we can even turn off the gps by typing the command 80 plus gps is equal to zero and with this we can switch off the gps and we can use just the gsm model we can save up save power okay if it is if it's running on battery it is much important to save the power and using this kind of commands we can you know shut down the gps and it will uh work on gsm gpis only okay so still but if you want to run gps all the time we do have one low power gps mode and to activate that we just need to type the command 80 plus gps lp which stands for low power and there are a couple of modes in this low power and the one which we are going to use is let me just share the data with you so we are going to use the low power mode two okay so this uh the gps is turned on and we can still get the location as you can see we are getting the coordinates here but it is running at low power so when i tested the power okay so i have tested the power with the low power and the normal gps and the there were the significant difference in the current consumption so i have written the data here let me just share the data with you guys so uh when we have used the regular gps the current consumption was around 60 milliamperes and when we used the gps low power the current consumption was half it was just 30 milli ampere and still we were getting the data like the location data here on our serial monitor okay so i'll definitely recommend to use low power version for your battery powered projects well again update tracker remember low power he used karuna for sure and not only in gps but we also have low power version in the gsm gprs uh module as well and to activate that low power you need to type one command where it is let me just okay here it is so the command is 80 plus slw p sleep is equal to one so there are also two different modes like sleep modes if i check out us the sleep mode now it must be zero yeah so it is not at all inside the power saving mode or sleep mode but we can make it go inside the sleep mode by typing sleep is equal to one or two okay so there are two different sleep modes out of them will be using the one but to use that you first need to connect the gpio25 gpu 25 pin of this a9g model with the ground module and after that you need to enter this command okay let me just show you what what happens when it go inside sleep mode and how much power we are saying let me show you okay successfully connected gpio25 to the ground and i'll enter the sleep command and yeah it is now inside the sleep mode one if we can check let me just check it with this question mark i can okay as you can see the sleep mode is one but still we are able to do everything like 80 is working 80 plus location must also be working let us check it out okay we are getting location as well nothing has changed and at this moment even the power consumption will be the same like the 30 milliamperes there is there will no change in the power consumption but as you remove this gpio 25 to ground connection now let's just see what happens if i type 80 here it is like like you can see it is not at all responding i am not able to get the response of any single command so now it is inside the sleep mode and we can't access the at command we can still you know make a call on this module make uh receive an sms on this mode everything it will be work but it won't be accepting any command and at this moment how much current it is uh you know consuming i have noted that all the current ratings here so let me share the detail so in the sleep mode without gps it is consuming 17 milli amperes of current without gps and with gps uh with gps and with sleep mode 1 it is consuming 27 milli amperes with the gps low power so gps low power and sleep mode it will consume 27 milli amperes of power which is not that great but yeah we are able to make the current consumption as low as possible and we need to do that because that's an utmost and a very important task to reduce the current consumption okay so that was the power saving feature that this model offers which is great and we'll be using this kind of feature while we are actually making the gps tracker project but as of now let's just check out the other commands as well so now let's just check it out the commands to request the http api links okay and for that first of all uh let's just know make this module come out of the sleep mode and for that you need to again connect the gpio25 with the ground and it will come out from the sleep mode and if i press 80 here as you can see now it is responding okay so let us check out the http company http link request how it works like how gprs works let me just show you okay so what that first of all the command is 80 plus cga double t is equal to one so this is some configuration that you could do okay after that you type a t plus c g d c o n t is equal to one comma into double inverted comma i p then into double integral comma you to type the apn name of your network provider in my case the api name is www press enter and it got accepted as well after that you type the command 80 plus c g a c t is equal to one comma one i just press enter once again oh it is throwing an error okay a it's c g not cf okay it is accepted successfully and now we can do an http get request by typing 80 plus http get into double inverted commas here into type the website name you which you want to request i'll just type www.google.com for testing purpose because i'm not at all requesting any api link as of now let us press enter and let's just wait for the response okay as you can see it goes successfully respond response mecha doesn't matter but api link was successfully requested using the get request method and using this you can request any like blink api links adafruit api links any api links you can request and make your iot projects even we can request the latitude and longitude data to the blink cloud server that we have done in the 4g model as well but yeah this is how the http request will work and also let me show you one more great feature of it this model is it has a built-in battery connector as well as battery charging circuit as well as battery monitoring circuit as well like we can monitor what is the battery percentage at right now at this moment okay and for that the command is very simple 80 plus cbc question mark as you can see i'm getting the data as one comma 92 while one detects that it is in charging condition and 92 detects the percentage of the battery okay so if i remove the vcc the charging will stop let us now check the same command 80 plus cbc okay now i removed the vcc connection and made that module run on a battery okay and now let's just see what we are getting in the 80 plus cbc command as you can see we are getting 0 comma 87 so 87 is the actual current condition of the battery the battery percentage and if i put in the charging mode it will show the charging status as well that just seem okay as you can see it says charging and 87 percent and if i remove this charger or remove the usb uh the charging v6 connection it says no charger is inserted okay so it's a battery charging circuit and we can also get the status percentage of the battery so iot project kelly both awesome like we can ask for ask for the battery percentage to this model and through which will become to know that okay so battery is about to die and we need to charge it as soon as possible yeah bots are features this model okay so we have seen all the features of this board and we also learned how to use this board and yeah use connect i found out that this is the perfect board which i need to make a gps tracker project that runs on a battery so i'm really excited to make one so maybe in some upcoming video i'll use a microcontroller board with this particular a9g module and will make a compact gps tracker well do suggest me and my console microcontroller board use crew should i use esp32 or should i go for some atmel or should i use sam d21 which controller board should i use for making my own gps tracker do let me know your suggestion down in the comments i'm really excited to make a gps tracker of my own and if you're excited too well do click the subscribe button as the second part of the video will really come soon and just follow me on instagram to stay updated with the progress of this gps tracker or suggestion also yeah do let me know in the comments my best gps tracker and i'll definitely take your suggestions in my video and will improve my gps tracker so yeah that was it about the a9g uh module a9g video game rma i hope you got to learn something new about this amazing iot board both awesome and yeah yeah for cheapest price like the cheapest price on internet from only techie sms just click the link menu in the description go get one for yourself and yeah that being said i am just ending this video here and now just wait for my next video until then explore learn share with me techy sms you're over acting on career [Music] you
Info
Channel: techiesms
Views: 99,694
Rating: undefined out of 5
Keywords: techiesms, electronics, electronics projects, a9g module, gsm + gps, pudding dev board, a9g gsm gps, a9g gsm gps module arduino, a9g module programming, a9g module tutorial, a9g gps & gprs module, a9g development board
Id: Yi5dgZBiq7g
Channel Id: undefined
Length: 25min 48sec (1548 seconds)
Published: Sat Sep 03 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.