🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Interfacing COM.X SIM7020G NB-IOT module with Arduino/STM32

    Modules
    sim7020g com.x arduino nbiot uart
    2
    3
    3.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jeetS
      last edited by

      Greetings everyone,

      This is first time, I am using any simcom microcontroller and m5stack modules. I apologize if question is too dumb.

      I want to interface COM.X SIM7020G NB-IOT module with my arduino or STM32L0RB microcontroller.

      Here, I am little confused about connection between Rx Tx pins. I referred hardware design guidelines of SIM7020G and it is stated that UART is working on 1.8V. As you all know, Arduino Uno works on 5V logic and STM32 works on 3.3V logic. Due to this I need voltage logic level converter.

      But I have seen people to use SIm700,800,800C,7000 breakout board without logic level converter. I am confused that should I use voltage logic level converter or voltage divider for serial communication??

      Also, Is there any tutorial for beginners like me to know m5stack modules?

      Thank you so much in advance for help

      1 Reply Last reply Reply Quote 0
      • felmueF
        felmue
        last edited by

        Hello @jeetS

        the SIM7020G itself is 1.8 V, but there are level shifters (to 3.3 V) already installed on the green board holding the SIM7020G. So TX and RX available on the M5Stack Bus are 3.3 V.

        So, yes, for an Arduino running on 5 V you would need an additional level shifter. For an ESP32 or an STM32 which use 3.3 V a direct connection is fine.

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        J 1 Reply Last reply Reply Quote 1
        • J
          jeetS @felmue
          last edited by

          @felmue Thank you so much Felix !

          Have a good day (:

          1 Reply Last reply Reply Quote 0
          • First post
            Last post