Giter VIP home page Giter VIP logo

a7672s-simcom-interfaced-with-esp32's Introduction

A7672s SIMCom Interfaced with ESP32

The given code covers all the basic needs to communicate with A7672s SIMCom Module with ESP32 to post data on MQTT

GPIO Functions:

I am using ESP32 Devkit V1

  • GPIO 2 : Builtin LED ( Devkit V1 )
  • GPIO 17 : UART TX
  • GPIO 16 : UART RX
  • GPIO 21 : ENABLE of A7672s

Understanding the Flow:

  • This code is developed for ESP32 on Embedded C Language using FreeRTOS.
  • Entire Communication is based on UART protocol between ESP and A7672s SIMCom.
  • The default baud of SIMCom is 115200 with 8 data bits, None parity and 1 stop bit.
  • There are several "AT" Commands over which SIMCom understands, performance and responses tasks.
  • The code initializes AT Commands, followed by getting the IP of simcard used.
  • Further, through SNTP we get the date-time for specified location.
  • Lastly, MQTT is started with specified broker and payload is posted on "4GBOARD_SIMCOMM".
  • We also subscribe to a topic "4GBOARD_SIMCOMM/cmd" to receive payload.
  • Note :
  • 1) Simcard used need to have whitelisting of SNTP or broker being used ( if simcard is not general one ).
  • 2) If SIMCom loses given MQTT Connection, then it would disconnect and stop MQTT by executing those AT Commands before restarting.

Conclusion:

  • There is nothing to conclude this time, it's super cool and works flawlessly.
  • I have used basic AT Commands to perform few task but there's a big list of things one can discover and do!
  • I hope you all like it :-D

Reference Material:

a7672s-simcom-interfaced-with-esp32's People

Contributors

negasonicx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

a7672s-simcom-interfaced-with-esp32's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.