Forum Controladores/PLC

Welcome!

This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

0

Gprs library and send sms when gprs connection is established

Hi, I purchased a 58+ gprs plc, in your guide I found references to the Fona adafruit library, does your gprs library use the same functions?  Can I use the same arguments?  Also is it possible to send and receive SMS if I am connected in gprs?  thank you so much.

Avatar
Descartar
2 Respuestas
0
Avatar
Norbert Krecmer
Best Answer

Hi everybody. I just bought my first gprs 38R+ module and I solve the same problem how to communicate between mega and sim800. The guidelines presented here doesn't work. When I use gprs.h library for http client, the communication is working, but I need to communicate by SMS. The proposed FOna library doesn't work even if I change the TX, RX, reset pin to 18,19,2. there is some trouble with serial communication between HDs. The sim card works and the som800 is connected to gsm network. Please help how to adjust the sim800 library, or software serial library or fona library or something else. I also tested pure softwareSerial library to read serial comunication, but no connection.

Thank you for your help.



1 Comentario
Avatar
Descartar
Avatar
Norbert Krecmer
-

I already found the answer to solve it. I just change the board from M-duino gprs family to M-duino family. And the FONA library is working with hardware serial option.

0
<div> <h5 class="o_wforum_bio_popover_name mb-0"> <address class="mb-0" itemscope="itemscope" itemtype="http://schema.org/Organization"> <div> <span itemprop="name">Albert Prieto</span> <span><img src=https://www.industrialshields.com/es_ES/forum/forum-controladores-plc-17/question/"/web/image/res.country/68/image/España?unique=a14a800%22 class="img img-fluid country_flag" alt="España"/></span> </div> <div itemprop="address" itemscope="itemscope" itemtype="http://schema.org/PostalAddress"> </div> <div> </div> </address> </h5> <span class="o_wforum_bio_popover_info"> <address class="mb-0" itemscope="itemscope" itemtype="http://schema.org/Organization"> <div class="css_non_editable_mode_hidden"> --<span class="text-muted">Albert Prieto</span>-- </div> <div itemprop="address" itemscope="itemscope" itemtype="http://schema.org/PostalAddress"> </div> <div> <div class="css_editable_mode_hidden"> <div class="mb-2"> <br/> </div> <b class="mt-4"><i class="fa fa-diamond text-secondary"></i> 1000000029</b> <div style="display: inline-block"> <b>|</b> <span class="fa fa-trophy badge-gold ml-2" role="img" aria-label="Gold badge" title="Gold badge"></span> 0 <span class="fa fa-trophy badge-silver ml-2" role="img" aria-label="Silver badge" title="Silver badge"></span> 0 <span class="fa fa-trophy badge-bronze ml-2" role="img" aria-label="Bronze badge" title="Bronze badge"></span> 0 </div> <div class="mt-2"> <div class="o_forum_tooltip_line"> <span>asd</span><span>, </span><span>España</span> </div> </div> </div> </div> </address> </span> <div class="o_wforum_bio_popover_bio"> <address class="mb-0" itemscope="itemscope" itemtype="http://schema.org/Organization"> <div class="css_non_editable_mode_hidden"> --<span class="text-muted">Albert Prieto</span>-- </div> <div itemprop="address" itemscope="itemscope" itemtype="http://schema.org/PostalAddress"> </div> <div> <span> </span> </div> </address> </div> </div> </div> "> Avatar
Albert Prieto
Best Answer

Hi Thomas,

You can use the same functions. It is also possible to send and receive SMS through GPRS on your MDuino 58+ GPRS. If you want to share your code here and we will try to check if it is ok.

See below a link about technical information:

https://www.industrialshields.com/technical-features-industrial-m-duino-plc-arduino-ethernet-58-ios-analog-digital-plus-gprs


Avatar
Descartar