To all of you using the small red GSM800L instead of the module depicted here in this video: at first I had the problem of not showing me the comand +CMTI: [.........] on serial monitor, but instead of it I got +CMT: my phone number, date (or something like that) and I could read directly the message content without writing AT+CMGR=ID. I got very nervous at the end of a long day trying the methods presented here without success, but right when I was about to quit, I decided to remove the long antenna with the coil one (golden one) in order to avoid damaging the wire or something like that. Then I got some problems with soldering the new antenna and I thought myself to give it a try again to see if I damaged or not the module while soldering it. I ran the gsmtest and to my surprise now I got +CMTI SM 1 as shown in the video, and this time I couldn't see directly the content of my sms on the serial monitor, as before switching the antenna. I uploaded the gsmParseSMS and guess what: it works now, the led can be now switched on or off by sms. It seems there is a difference between those two antennas in this type of gsm module. Hope it will help you this hint :)
@magherusansorin122
5 жыл бұрын
And don't forget to type AT+CMGF=1 in serial monitor before you upload it, else you'll get a long row of letters and numbers instead of what you have written in your sms.
@algirdasaleknavicius4027
6 ай бұрын
i dont think thats what happened, it was happening to me too. and what it was form me is that i had to change some parameters with the at commands that defines storage place/type. AT+CNMI? sent and my response was +CNMI: 1,2,0,0,0. i typed AT+CNMI=1,1,2,0,0 . after that when i recieved a new message it was +CMTI SM 1
@himangshuchoudhury7138
4 жыл бұрын
Man I do not know why people are not viewing his channel more. You have been a great help. Arduino started out as an hobby but really getting hooked up. Thanks bro . Keep 'em coming
@CrossRoadSilver
6 жыл бұрын
Don't worry about how long the videos are. The better the explanation the less help we need. If someone doesn't have the time to watch a 30 or 45 minute video then they are probably not really wanting to learn. Thanks for your videos.
@briancoode4071
6 жыл бұрын
Your tutorial and code enabled me to jump start my project. Your code performed flawlessly. I must just get my head around the parsing algorithms
@jamesbarnfield842
3 жыл бұрын
Amazing video. I scoured the internet for hours looking for something to help me preform this. I was scratching my head for a while as for some reason when I receive a message it doesn't display the CMGR_STATUS, so once I bypassed this (and adjusted for using an Arduino megga) it worked perfectly, thank you so much! I noticed that despite having the validSender Boolean set to true or false, there wasn’t actually a check of this bool before advancing, so I added my own if statement within PS_READ_CMGR_NUMBER to check the bool state before advancing to PS_READ_CMGR_SOMETHING.
@peterleather6866
6 жыл бұрын
Thanks for explaining your sketch so clearly. I have recycled your parse code in my remote datalogger project to allow my sketch to check for network availability after power-up using the command 'AT+CREG', before attempting to upload some data. I learned a lot on this series of GSM videos!! Cheers!
@GhostVampire
8 жыл бұрын
The "CMGR Something" is the name you set in the phonebook for the given phone number.
@himanshuaggarwal3564
7 жыл бұрын
A perfect video to completely describe the task in hand. Thank you for sharing this video .Was very helpful...
@IscleGaming
8 жыл бұрын
1:40 at night, good time to record videos!
@namnguyenngoc1452
7 жыл бұрын
Thank you for your video. It help me so much! I had the problem with it because i didnt use text mode, but now, it s done. So happy.
@joetke
6 жыл бұрын
Great tutorial and awesome details. Great pedagogy too. Thanks a lot. Your channel is among the most valuable I know to guide efficiently even the newbies. Happy to run across it, really.
@VictorFlorentin
8 жыл бұрын
are you making an android app with app inventor for this application?
@burraqengineeringsolutions5394
6 жыл бұрын
The best video as well tutor, i have seen in GSM tutorials. Great (y)
@frankpereira5229
7 жыл бұрын
Congratulations for the work and for sharing it. thank you.
@reg2590
7 жыл бұрын
Hi, I know this was published last year but it is very relevant for me, thanks. I am creating a Home SMS Notice board and wish to display the time and date seperately from an incomming text. So to that end, I have been trying to parse the AT+CCLK? response. As a relative newbie at C++ I have been scouring the web for info and code snippets... Your solution using a state machine is just what I need. Thank you for a very good explanation.
@darshb38
7 жыл бұрын
Thank You! Great presentation skills and flawless explanation.
@mahmudulhasanshahin8209
5 жыл бұрын
3:01 sec .... I cant find +CMTI ... I found it +CMT... how can i solve it
@OurHighlights
3 жыл бұрын
there is aproblem with the code when i load it to arduino nano. cmgr number and rest is empty 17:34:03.448 -> Received CMTI 17:34:03.448 -> SMS storage is "SM", 17:34:03.481 -> SMS id is 1 17:34:03.548 -> Received CMGR 17:34:03.548 -> CMGR status: 0, 17:34:03.548 -> CMGR number: "",
@juergenfoterek6743
7 жыл бұрын
Good Video , very easy to understand. Thanks a lot vor sharing this !
@chrismoleko1192
3 жыл бұрын
hi mr can you do a video with just gsm calling and answering please
@TheGamingWorld-tr9fm
4 жыл бұрын
Sir...,Can ..you make automatic on/off light and fan by using sound sensor for bulb and ir sensor for fan controling . using 1 arduino and 2 relay.....but how..please ..make ....this...??,plz
@ahmedmedani9147
4 жыл бұрын
Very very professional, really enjoyed that, keep it up always (+1 Subscriber)
@johnlunt6367
7 жыл бұрын
Great video. Well done. Code works fine.
@iforce2d
7 жыл бұрын
Well that makes a nice change. Usually all I hear about this is that something is going wrong :)
@imark5097
7 жыл бұрын
Молодец! У меня получился только по твоим скетчем и по твоим видео. Спасибо тебе. Теперь мой генератор дизельный всегда отправляет смс при включении и при отключении. За то я всегда в курсе о его работе. Молодец, ты мужик
@iforce2d
7 жыл бұрын
Sounds great! Glad to help.
@joacorodriguez3420
8 жыл бұрын
thanks for sharing! I like the state machine approach, but it looks complex. Perfectly explained thoug!
@iantcroft
4 жыл бұрын
@iforce2d any future videos planned on this subject by any chance? Gps Tracker, PIR motion sensor sending sms alert etc would be interesting. low power battery applications.
@SandeepRaj-pz2er
4 жыл бұрын
Hii will the led lightup when it receives a message from coustmer care or anything like that?
@goldtrader5043
7 жыл бұрын
The code is not working when we unplug the system and plug it back in. It does not work with a 2-amp power supply.(The code does not work when you remove and re-insert the usb cable.) It does not work when I plug in the USB cable again, but the code works when I run the serial port display in the arduino program.
@tahsinali8210
7 жыл бұрын
Everything is working but the LED status does not change . The module is exactly same with arduino UNO and the circuit is precisely what you have given here . Checked with the gsm test code provided .All AT commands work there . If I send a text its also shown if the debug part of the code is uncommented as well . Please Help!!!!!!
@jameslamb4573
8 жыл бұрын
Idle thinking here..... Incorporating your GPS tracker, have the commands turn a car off for example, take a photo of the driver, play a recorded message telling the unauthorised driver that their photo has been taken and that it, together with the current GPS location of the car has been sent to whoever, or don't tell them and just send the message. Record all incoming messages on an SD card reader/writer, have the SMS module send a confirmation/notification message back to you. As I said, just stray thoughts that went through my head as I watch the video. Cheers
@briandorning4537
7 жыл бұрын
Thank you sir, You are a Gentleman and a Scholar!
@sklepa
6 жыл бұрын
In fact I particulary like when You explain the code, that is the most precious info for me, at least i can learn something. What's the use of someones sketch if changing a single value or character makes code choopadooped. Thanks for reading, keep your eee somthing... nice.
@sklepa
6 жыл бұрын
ps. a AT+CNMI=2,2,0,0,0 command gives you instant readout of message on serial, and also it ain't saving it in memory or deletes it instantly after(gotta check it)
8 жыл бұрын
To power a servo you could potentially punt the gsm module through a relay then power off the gsm while your powering the servo then when your finished with servo power up the gsm module again this might be a good way to do more, or you could use a relay to use external power for the servo aswell freeing up amps, just an idea, what do you think?
@iforce2d
8 жыл бұрын
+Jay Mee I think it just needs a proper power source instead of powering everything off the uno like I was trying to do :)
@ismzaxxon
4 жыл бұрын
i purchased sim800l from banggood for Australia. after getting an error +CMS ERROR: 2172 after sending each message via the Telstra network. For one. this error code is not a sim800l error code, it is for another chipset....even though it has a sim800 label. the other option is that these modules only work on 2g networks and not 3g 4g networks
@engr_abdullahu5978
5 жыл бұрын
Hello and thank you for your efforts ,,, I am using sim900shiled Can you use the same code please help me
@WaterSeason571
7 жыл бұрын
Excellent Tutorial. But need little Help. I do as you said.I am using here relay instead of led But when i send sms it is not relay is not turned no or off. and also it will not received any sms please help me.
@arek-krakiewicz
7 жыл бұрын
11:10 You can use: AT+CMGD=1,4 www.developershome.com/sms/cmgdCommand.asp instead of this loop counted to 15 sms IDs. 19:00 These empty commas, here is written: Text associated to the originator/recipient phone number in the phonebook. www.developershome.com/sms/readSmsByAtCommands.asp Anyway, thanks for this vid once again, great job! :) It helps me a lot.
@iforce2d
7 жыл бұрын
Nice, thanks for the extra info :)
@Carl-zc7ey
5 жыл бұрын
Really good video, thanks for explaining me all.
@MuhammadArshad
7 жыл бұрын
To be honest, I would love to listen through the explanation and Yes I did the same mistake of connecting DB9 2 DB9 3 pin to Software serial ;) Thanks for that.
@Grcbyte
8 жыл бұрын
I like your videos! Congratulations and thank you!
@jessieperez5610
4 жыл бұрын
the file not supported please give me a link
@meznifaten5670
5 жыл бұрын
I want a program when LED is HIGH a message is sent by module gsm
@najamulhassan5066
6 жыл бұрын
HELP ME PLZ. when i send sms to turn off led it does not work. LED always remain on. WHY?
@Microsree28134
5 жыл бұрын
When i send sms to gsm.serial monitor showing the sms content without any sms ID.Iam using GSM-SIM900A
@tsendek
7 жыл бұрын
Hi--have watched several of your videos and they're tremendously helpful for a beginner, thanks a lot! I tried this code on a similar set up and I'm almost there, but in the serial monitor while debugging it stops at: state = 7 b = 49 pos = 15 buffer = "17/03/16,22:01 and a 'y0' or 'r0' command doesn't turn of the light. I've tried tweaking some things to narrow it down, but any suggestions where the problem might lie would be very helpful. Oh, one issue I had that didn't seem to matter with your equipment was that I needed to power the GSM unit separately with a larger power supply. WIth the Arduino power, it was never connecting to the network. Took a lot of frustration before I figured this out. Thanks again!
@mohamednadiramzali498
6 жыл бұрын
thanks a lottttttt but if i want make a delay to led for ex : send message from my phone (on led 30m) and led stay on for 30min . how can i do it and thanks a lot
@sadhanabhagwat3042
5 жыл бұрын
wow it was done in less time .... nice explaination sir Thank You
@shahramnajam2040
8 жыл бұрын
thanks for the help. really appreciated. :)
@OhCoder
8 жыл бұрын
That's cool! A little tip, your Arduino IDE version is a little older, the newest is 1.6.6, :)
@iforce2d
8 жыл бұрын
+Snow Liang yeah, I was compiling something (OSD I think) where the compiler version of the new IDE was causing problems so I have been sticking with this old version since then
@saurabh6094
7 жыл бұрын
great sir! you made it so simple for me.
@scada081
7 жыл бұрын
dear my friend ?is it work with you.
@aianmyself
6 жыл бұрын
Hi there do you have any accounts to send you some messages?i some questions about sending sms to use as a command to trigger arduino uno
@rishisaini6298
5 жыл бұрын
I have used the same code and everything done successfully till READ_CMGR_SOMETHING . after that buffer stops taking new characters .It doesn't show date and time and content and program stops What is the problem??
@iforce2d
5 жыл бұрын
I have no idea but I'm sure if you put some debug logging in you'll be able to find out.
@shahramnajam2040
8 жыл бұрын
how to store the result of at+cmgr into a variable from serial monitor.. please share the codes I'm in great trouble
@iforce2d
8 жыл бұрын
Just make a variable and store it like you would any other information. Since you read in bytes, you can store them in a byte array.
@scalatrava77
7 жыл бұрын
I'm very new on arduino projects, but this tutorial was the only it worked for me perfectly at the first time. Congratulation ! Now, i want to add one more function, and it is really difficult to me. I need to to send an sms for example "status" and send back to me the status of the leds. I'd appreciate any help. Thanks in advanced.
@iforce2d
7 жыл бұрын
This is the second video on this topic. The first video already shows how you can send an SMS. The link is in the description.
@ShakilAhmed-oc7mf
7 жыл бұрын
its not working..led state doesn't change.
@darshantheerth1015
7 жыл бұрын
I am using SIM900a, what are all the changes i have to make? Because this code is not working in it. Please help me. It is showing message deleted. But when i send 'r0' the message is not displaying also led is not turning off.
@iforce2d
7 жыл бұрын
I don't know. Do everything manually yourself first using the serial monitor as I explained in the previous video, instead of just pasting in my code and hoping it works, and you would most likely figure out the reason. Try reading the documentation for your specific module too.
@iantcroft
7 жыл бұрын
Hi iforce2d, I wonder if you can help? I am trying to combine your code (slightly stripped back but working perfectly) with low power code with interrupt. Working fine individually but struggling to combine them. I am using 328p on breadboard and Sim800L. Would really appreciate any help. If you fancy the challenge I could send the code to an email? I can also send working code of my other project which maybe useful for you for a future vlog for your channel I viewers maybe interested in? Regards.
@DiyintheGhetto
8 жыл бұрын
Hi i really need help on the arduino gsm module. I tried the module wired it up same way as you did i get a study blinking light on the status looks like every second. I tired my sketch and i can see in the serial monitor that it is sending information but nothing happens. I have a arduino shield a seeedstudio SIM900 that i do know that works. But when i try the module nothing happens. Can you please help me out?
@iforce2d
8 жыл бұрын
+joseph chrzempiec (josephchrzempiec) Please watch the previous video (link in description). Watch the whole video and notice all the points I made, eg. blinking light every second means the module is not connected to the mobile network. Try doing everything exactly as I do in my video and find the first point that you get a different result. The sim card might be password protected, your mobile provider might need to remove access restrictions for the module. Also read all the comments on that video, I think I have answered this already (and also mentioned in the video already).
8 жыл бұрын
imagin if pc's had usable gpio pins we could do so much with it :)
@akhmalfarhan1369
7 жыл бұрын
Hello can i ask for a physical sketches of the arrangement hardware ? the arrangement in your video position isnt clear enough. do reply and sent me the picture. will be grateful if you do. thanks
@iforce2d
7 жыл бұрын
I explained the connections between the arduino and the SIM module in the previous video, linked to in the description.
@andyyomin7592
6 жыл бұрын
2:50 i did not get that +CMTI: "SM" ,1 the message that i've sent pop out directly to my monitor. REPLY
@fordsanchez5341
7 жыл бұрын
thanks for sharing... I have a project that turns on/off the light via text message... if i'm using the usb power source connected to my computer, everything is fine... however if i'm using external power jack of 9v 600ma, the arduino board is not responding to the text message.. do you thiink my external power source is not enough to power both the arduino board and gsm module? Thanks
@iforce2d
7 жыл бұрын
Most likely, yes. As I think I mentioned at some point in this series, you'll need a power supply that can give 2A, connect it to the 5V pin of the arduino directly. Anything you connect to the barrel jack will go through the power regulator of the arduino which is not sufficient.
@rishisaini5575
5 жыл бұрын
Why to reset buffer in every switch case at end??
@iforce2d
5 жыл бұрын
To clear the buffer ready for the next characters.
@akinboyeyusuff215
5 жыл бұрын
Can I assign a text sent from my gsm to a variable in Arduino code?
@iforce2d
5 жыл бұрын
Yes, but it had better be quite short. These arduinos don't have much memory.
@jlrobs850
7 жыл бұрын
hi, Is it going to work on SIM800L GPRS GSM MODULE?
@kalebhofer9709
2 жыл бұрын
Hello sir. Wich country are you from? I'm from Manitoba, Canada. will this sim900 module work here with Bell and 4g? i have tried a similar project in the past but failed, because the module was not compatible with the cell networks in my location
@iforce2d
2 жыл бұрын
I'm in NZ. None of these modules that I've seen can do 4G.
@doukkalimohamed3446
6 жыл бұрын
thank you for this tuto your code worked perfectly just a problemme my arduino does not work with your program when it is powered by a baterie (not connected to the computer) help me thank you in advance
@iforce2d
6 жыл бұрын
As I explained in the video and about ten times in these comments already, you will need a power supply that can provide 2A at 5V, eg. goo.gl/rGK3BV. The onboard voltage regulator of the arduino is not good enough.
@GintleRKhey
5 жыл бұрын
can it control ac and dc motor using text messages sir? thanks
@iforce2d
5 жыл бұрын
if it can control a light then it can turn something on and off right?
@M6MDR
6 жыл бұрын
Hi, I have a question for you if you can help? I'm working on an Amateur Radio project - specifically a repeater logic board and I'd like to add SMS control to it so it can be controlled remotely. I'm using an Atmega as the MCU and I've got two serial periphearl devices attached to it and working already. One serial device on the hardware serial port is used to control the transceivers (radios) and the other device is a module which plays a morse ID beacon every 15 minutes which is on Software Serial. Both of these peripheral devices only receive serial data from the MCU so for now I've left the TX pins on the devices free floating. But now I want to add a GSM module which requires bi-directional serial communication, I'm concerned these free floating TX pins on the other devices might cause problems when the MCU is being sent data from the GSM. I know multiple software serial ports can be iffy when it comes to reading data from devices and that it can only read from one device at a time and my concern is the MCU might pick up rubbish on its RX pins which aren't connected to any devices. RF is a strange beast and gets into everything. So what would you recommend I do with these free floating serial pins? Should I use pull_up resistors and tie them permanently to VCC to put them in their idle state or leave them free floating? Thanks!
@iforce2d
6 жыл бұрын
Maybe you could use the internal pullup www.arduino.cc/en/Reference/PinMode
@wpontog
7 жыл бұрын
can i use this sketch for gsm 800L module?
@IgorRusu
5 жыл бұрын
yes
@SanilSahadevan
7 жыл бұрын
what happens when the yellow is on & i send an sms to switch on yellow... will it toggle to off ??? or will it remain on??
@iforce2d
7 жыл бұрын
The number after the y tells it what to do. 0 = off, 1 = on
@achalasamapriya2701
6 жыл бұрын
thank you very much..extremely enlightening
@svbalena2295
8 жыл бұрын
awesome. I am going to use this to firstly get a text message when bilge pump sensor turns on and then I can also send a command back to turn on 3 relays 12 volt for 30 seconds to turn extra bilge pumps on. Then i will get a message back sensor off. If sensor does not go off i technically could even then use send command to turn on a relay for vhf and then DSC. This will automatically call a coasdtguard vessel to my boats gps position via vhf channel 16. (1 button mayday)so boat can be saved from sinking even though I not on it and am away. They may be confused.. maybe neee to then play a set recording explaining no one was on boaRD can also turn on diesel heater before arriving at boat. This is awesome cheers...
@buiinhtuan5570
6 жыл бұрын
how to connect sim900a to adruino
@BrianKeithB83
7 жыл бұрын
Hey iforce2d, I was looking for the gsm board you showed in your video, I was unable to find it. I have a FONA808 and it seems like i need an extra library just to run it. i can't command it or control it as easy as you did in your video. By chance would you know why that would be? Have you ever used the FONA808? would you recommend a different board, I am looking to just send txt and to have gps.
@iforce2d
7 жыл бұрын
I'm afraid you're asking me about something I have never heard of :) I would dare to say that this thing has a manual though? As far as I know most of these modules are pretty similar in their basic functionality. Perhaps you could clarify what "seems like" means, if you want a more useful reply...
@euelfantaye1403
3 жыл бұрын
THANK YOU!
@seamusflint2986
8 жыл бұрын
Wonderful! absolutely wonderful!!
@scada081
7 жыл бұрын
hello i use the same code but i face aproblrm , when i open serial monitor it is woking but when i try to send message from my mobil nothing change , meassage didn't appear and also Led control not work. can u help me what the problem.
@leigh4146
7 жыл бұрын
Having the same problem. did you figure this out?
@namnguyenngoc1452
7 жыл бұрын
I think u need to set up text mode by using AT+CMGF=1 command first.
@aimanchaya9065
7 жыл бұрын
nothing happent , using AT+CMGF=1 still not working. sad life .. what should i do ='( .. someone help me please
@inijalandesaku
6 жыл бұрын
I gues The problem is your gsm module doesnt response as shown in the video when you send sms. In the video its like +CMTI: "SM",3 After i check my Mdule, its doesnt response like that. But +CMT: "+083736372737","","Date" Msg You may be have to check your gsm modul using sketch from video before (gsm test) and have little tweak on the code Hope it works
@hazwanhaikal5240
6 жыл бұрын
can u give me the link as reference
@mijeevox6961
7 жыл бұрын
No understand???
@usmanazmat7949
7 жыл бұрын
Hi, iforce2d! I am new to GSM modules. And I am facing a problem with it. When I send a message to it, it does not show "+CMTI: "SM",1 (or something else)" and shows all the details of message content automatically. And does not show anything when I use AT+CMGR or AT+CMGL commands. Can you please tell me about the problem? Kind Regards, Usman Azmat
@scada081
7 жыл бұрын
Dear my friend ?is it work with you. please u can send me your code
@danp762
8 жыл бұрын
Thanks for doing this video. It is exactly what I needed.
@sparkymarkm322
7 жыл бұрын
iforce2d, is there a good reference site for this method of parsing you're using? I've used this function as a core part of a program but I'm trying to add a function based on this code to read the modem battery level. Sending AT+CBC to the modem polls battery level and the reply is in the form of "+CBC: 0,89,4113" where 89=89% charge. I've managed to strip out the "+CBC: 0," portion in the function, that was pretty straightforward. To read the percentage portion I'm using "if ( b == ',' )" so it's reading the percentage but also appending the comma as well. Since the percentage could be one, two or three digits I'm not sure how to drop the comma... I've tried combinations of "-1" within that "if ( b == ',' )" and that just usually causes it to hang when I'm testing.
@iforce2d
7 жыл бұрын
I don't see how what you're doing is any different from how the CMGR message is handled. You will need to keep track of what state you are currently in (ie. what you expect to have just finished reading when you encounter a comma). If the main problem is that you have an unwanted comma at the end of the buffer, you can remove it like: buffer[pos-1] = 0
@sparkymarkm322
7 жыл бұрын
Yeah, you nailed it. It was working consistently before but with the comma, now it's working consistently without the comma. Thanks for your help!
@lancedimayuga9450
6 жыл бұрын
Hello :) is it possible to turn on the led lights by means of using the call feature of the GSM SIM900??
@iforce2d
6 жыл бұрын
Not that I know of.
@baseladams280
5 жыл бұрын
thanks for sharing! Unfortunately i am not able to download the sketches
@iforce2d
5 жыл бұрын
My hosting company fucked something up really bad just before new year and they still haven't got it figured out. Will let you know when my site is back up.
@iforce2d
5 жыл бұрын
Site is up again now.
@baseladams280
5 жыл бұрын
@@iforce2d Thank you very much
@leandredossou-koco5617
4 жыл бұрын
Bonsoir j'aimerais avoir le code Merci
@AdiL-fy4uc
6 жыл бұрын
GOD Bless you man!! It hepls me a lot!!
@efrainaguilar210
5 жыл бұрын
what battery did you use ?
@taninahmed2300
6 жыл бұрын
last night this code worked perfectly. but today it is not working at all. can't understand whats the problem??
@iforce2d
6 жыл бұрын
I don't know how you could expect me to know... Maybe your prepay balance ran out?
@martinmunene2556
5 жыл бұрын
Hello i like the way you have explained how your code works, i was doing a project with SIM 800L, controlled by sms n gives me a feedback but i have a challenge of filtering all other Numbers sending messages to the sim module. How can i reject sms from other numbers & read mesages from only one number that has specified in the code? pls assist.
@iforce2d
5 жыл бұрын
18:30 read the code, there is a commented out section to check the number already
@iforce2d
5 жыл бұрын
hey, I already answered this at 23:45, perhaps you should just watch the whole video first :)
@martinmunene2556
5 жыл бұрын
with this particular code,will it be able to filter messages from other numbers & only read messages from +0123456789?
@bellehumeurjulien4346
8 жыл бұрын
After uploading your codes,I open the serial monitor.When i send AT it does not respond with OK!! Could you help me please?
@iforce2d
8 жыл бұрын
+Bellehumeur Julien probably not, but do every step EXACTLY as I did in the video, and tell us the first point where you get a different result.
@chriszhong6307
7 жыл бұрын
Thank you, i gain a lot from this video. i got a question that is it possible to turn on and off the LED by message without using a Computer to received and print all information in Serial port?
@iforce2d
7 жыл бұрын
Of course, that's what I did right at the beginning of the video (I'm only using the computer USB for power).
@chriszhong6307
7 жыл бұрын
oh, i see. i thought the computer must be there to received all information(like cellphone number, message content and etc.) and then pass it to Arudino. Actually, Arduino is able to work independently at all without a computer.
@RichardWilliamsTravelandTech
6 жыл бұрын
Fantastic video and tutorial i've tried the code but a lot of the time I get the message Received CMTI SMS storage is "SM", SM ID =1 and these messages do not activate anything is there a way to read these in so they will active the leds?
@iforce2d
6 жыл бұрын
I'm not sure what you mean by "activate anything". After the message is received you need to do a CMGR to read it, as I showed at 2:51
@castillolk
7 жыл бұрын
nice and very interesting video. this is what I'm looking for. Will you please tell me the code/name of the shield you are using ? so that I can buy in amazon.. thanks
@iforce2d
7 жыл бұрын
Shield? Not sure what you mean. I linked to the SIM module in my previous video (link in description) but I seem to remember they're not stocking it anymore. But you should be able to find these easily on ebay or whatever with a quick search for "sim module" or something. eg. banggood: goo.gl/1N7yjv
@castillolk
7 жыл бұрын
i got it sim800 0r 900 .. thanks for responding so fast
@cloemallari818
6 жыл бұрын
Hi, we would like to use this on our project and we're wondering what wires did you use on this? Or if possible all of the tools used here. We just started learning arduino so we have no idea what those tools are called.. thank you!
@iforce2d
6 жыл бұрын
The previous video linked to in the description looks at the connections for this particular module. It looks like it's not available now but all modules of this type will have similar connections, it's a standard UART (or 'serial') connection, details here: www.arduino.cc/reference/en/language/functions/communication/serial/
@cloemallari818
6 жыл бұрын
Thank you for replying!
@detinator5
6 жыл бұрын
Hi. This code is great and I can get it to work. I'm running into problems though with the CMGR content reading in the Serial Monitor. Here is the output of my serial monitor. Received CMTI SMS storage is "SM", SMS id is 1 Received CMGR CMGR status: "REC UNREAD", CMGR number: "+[phone number]", CMGR something: "", CMGR date: "17/11/02,11:cknowˆledge CMGR content: The CMGR content: is supposed to say 'acknowledge', but for whatever reason, the Serial Monitor puts out the content of my message into the CMGR date: section. What's weird is that the CMGR content: section will write out the correct message when I first run the code after launching the Arduino application. But if I restart the Arduino after the first run or I unplug and replug it and try the SMS message again under identical conditions, the CMGR content section fails, and therefore the rest of my code doesnt execute. I also have this problem where my code will execute, but then the Serial monitor starts running into a weird loop like it's trying to initialize again and again. Not sure what to do to fix it but I'm trying different methods for accomplishing what I need. Any tips or ideas are appreciated. Thanks
@detinator5
6 жыл бұрын
When the program starts bugging out the Serial Monitor prints out this RDY +CFUN: 1 AT+CMGD=8 ERROR AT+CMGD=9 ERROR +CPIN: READY AT+CMGD=10 ERROR AT+CMGD=11 ERROR AT+CMGD=12 ERROR AT+CMGD=13 ERROR AT+CMGD=14 ERROR AT+CMGD=15 ERROR Call Ready I never passed AT+CFUN? to get the +CFUN: 1 response, nor AT+CPIN?. The program just starts looping at this point and I dont know why it's doing this. Some of the time it doesn't do it, some of the time it does. Is it a dip in power to the module that is causing it?
@kuyapads7510
7 жыл бұрын
why i cant access the code? please help me. thanks a lot :D
@iforce2d
7 жыл бұрын
What do you mean by 'access'? The link works for me.
@sandeepkumars3631
6 жыл бұрын
buddy I really don't know who you are... but thanks for the code,..with some modification I used it for my project , ur description is very helpful......thanks again
@chriszhong6307
8 жыл бұрын
thank you HI, i am having a GSM SIM808 module, you code works very well , but i am having a problem of SIM808 module power down very often, especially while i am sending text to turn off the LED on Arudino, the GSM signal LED on SIM808 goes off automatically, but the power supply LED on SIM808 is always on. Do you know what is the reason for that?
@iforce2d
8 жыл бұрын
What power supply are you using? You will need a 2A capable power source.
@chriszhong6307
8 жыл бұрын
Thank you for you reply. Not supplying enough current is exactly the reason that causes GSM module power off so often.
@thanhhailuong7188
8 жыл бұрын
my arduino cannot control when i send sms. could you tell me some advises. please
@iforce2d
8 жыл бұрын
Advice: watch the previous video and this one too, fully. If you want a better answer, you will have to ask a better question.
@JardaSyrovy
7 жыл бұрын
Try AT+CNMI=1,2
@sayfhamdi6355
8 жыл бұрын
Hello, why when i disconnect the arduino from the computer and use an external source it doesn't work ?
@iforce2d
8 жыл бұрын
I think I explained in the video, you need a power source that can supply at least 2 amps.
@sayfhamdi6355
8 жыл бұрын
okay thats clear thank you, i just thought that i must use the serial monitor to be able to communicate with it.
Пікірлер: 436