Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A library which provides a toolkit for interacting with the official Arduino Pro 4G Modules.

License

NotificationsYou must be signed in to change notification settings

arduino-libraries/Arduino_Cellular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino LintCompile ExamplesSpell CheckSync LabelsRender Documentation

This library provides a toolkit for interacting with the official Arduino 4G Modules (EMEA andGlobal Versions) on using thePortenta Mid Carrier and Portenta H7 or C33 boards. It allows you to connect to the internet, send and receive SMS messages, and get location from the cellular network or GPS.

Note

GPS/GNSS functionality is only supported on theGlobal Versions version of the modem.

Examples

✨ Features

  • Fast 4G connection to the internet
  • Secure SSL connections with BearSSL
  • Get location using GPS or GSM
  • Synchronise time with the cell provider
  • Send and Receive SMS Messages

👀 Instructions

  1. Insert a nano SIM card in thePCIE_SIM connector on theArduino Portenta Mid Carrier.

  2. Connect the Serial (J17) to the adjacent PCIE Breakout Pins (J16) with jumpers included in the Portenta Mid Carrier:

    Serial 1 (J17)PCIE Breakout (J16)
    RX (Pin 1)CK_N (Pin 1)
    TX (Pin 2)CK_P (Pin 3)
    RTS (Pin 3)RX_N (Pin 5)
    CTS (Pin 4)RX_P (Pin 7)
    mPCIE_GPIO_RST (Pin 5)mPCIE_RST (Pin 9)
    Portenta Mid Carrier with Portenta H7 and PCIE Breakout Pin Configuration
  3. On J9, using jumpers connect the following pins:

    Source (J9)Buck Converter (J9)
    3V3 PCIE (Pin 1)3V3 BUCK (Pin 3)
    OUT VCC (Pin 2)3V3 BUCK EN (Pin 4)
    Portenta Mid Carrier SIM and Power Pin Configuration
  4. Insert theArduino Pro 4G Module in the Arduino Portenta Mid Carrier.

  5. Screw one black post with a white nut from under the Portenta Mid Carrier. Using another black post, screw the board to the post. Place two washers on top, and one underneath the Pro 4G Module. So that the board is fixed to the post snuggly and horizontally.

  6. (EMEA and GNSS variants) Connect the cellular antenna (flat antenna inArduino Pro 4G Module Antennas Kit) to the left microUFL connector marked MAIN.

  7. (PRO 4G GNSS only) Connect the GNSS antenna (square antenna inArduino Pro 4G Module Antennas Kit) to the middle microUFL connector marked GNSS.

    Portenta Mid Carrier with Pro 4G Module GNSS with both the MAIN and GNSS antennas connected
  8. Insert aPortenta C33 orPortenta H7 Board into the marked location. The USB-C port of the Portenta board should be next to the Ethernet port on the Mid Carrier.

  9. Insert a Terminal Block 2-pin > DC female adapter into the screw terminal (J4). Ensure that the negative (-) pin is connected to GND.

    Portenta Mid Carrier with Portenta C33 and Pro 4G Module GNSS with all antennas connected
  10. Use a 5V adapter that can output at least 3A and connect it to the DC female adapter.

  11. Connect the Portenta board to your computer using a USB-C cable.

  12. Install theArduino_Cellular library and its dependencies

  13. Obtain the APN (Access Point Name) settings from your network operator and add them to thearduino_secrets.h file for each sketch. For example:

    #defineSECRET_PINNUMBER""// replace with your SIM card PIN#defineSECRET_GPRS_APN"services.telenor.se"// replace with your GPRS APN#defineSECRET_GPRS_LOGIN""// replace with your GPRS login#defineSECRET_GPRS_PASSWORD""// replace with your GPRS password
  14. Upload sketch to the Portenta board. Enjoy!

Compatibility

  • This library is designed to be used with the the official Arduino 4G ModulesEMEA andGlobal Versions
  • GPS/GNSS functionality is only supported on theGlobal Version
  • This library compiles on thePortenta C33,Portenta H7,H7 Lite, andH7 Lite Connected used in conjunction with thePortenta Mid Carrier. Any other configuration is not supported by this library.
  • Even though these Modules are PCIE devices and would physically fit on thePortenta Max Carrier, we do not support this configuration with the Arduino_Cellular library. But the Portenta Max Carrier has a SARA-R412M-02B cellular modem already.
  • None of the library examples compile with the Portenta X8. The X8 handles the cellular connectivity in the Yocto Linux layer.

📖 Documentation

For more information about this library please read the documentationhere.

About

A library which provides a toolkit for interacting with the official Arduino Pro 4G Modules.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp