TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (403 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (130 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (140938 times)
  2. FAT32 Library (73500 times)
  3. Network Ethernet Library (58317 times)
  4. USB Device Library (48484 times)
  5. Network WiFi Library (44088 times)
  6. FT800 Library (43661 times)
  7. GSM click (30545 times)
  8. mikroSDK (29266 times)
  9. PID Library (27205 times)
  10. microSD click (26929 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Project

MikroMedia + for STM32 with Shield and GSM2 click board.

Rating:

0

Author: Val Gretchev

Last Updated: 2016-02-19

Package Version: 1.0.0.0

Category: GSM / GPRS

Downloaded: 2008 times

Followed by: 4 users

License: MIT license  

This code uses the GSM2 click board to send SMS text messages to a cell phone number. It can be modified to execute 2-way communications using the skeleton code provided. The code is modular and can be easily used in many other projects.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "MikroMedia + for STM32 with Shield and GSM2 click board." changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "MikroMedia + for STM32 with Shield and GSM2 click board." changes.

Do you want to report abuse regarding "MikroMedia + for STM32 with Shield and GSM2 click board.".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Project Blog

This project uses the MikroMedia + for STM32 board with the shield board and a GSM2 click board installed in slot 3. The USB connector on the shield board is used for power and for diagnostic messages. A USB cable goes from this connector to your PC. If the MikroProg for STM32 is also plugged into the MM+ board, it will also have a USB cable to the PC. The GSM2 click board must have a GSM antenna connected and an active SIM card installed in the on-board socket (just move the SIM card from your cell phone to the GSM2 click board).

Once you have the hardware configured, you can load the program into flash. Use the Serial Utility program included to display messages from the GSM2 module and to send commands to it.

You can find the commands in UART6.c as follows:

Command r will power up the GSM2 click module.

Command v will allow the GSM2 module to determine the baud rate of the transmitter.

Command s will set the internal flash to communicate at 9600 baud by default. You won’t have to send the AT<CR LF> command (v) for auto-baud detection.

Command o requests all network parameters to be displayed.

Command w executes a sequence that erases message bins 1, 2, and 3.

Command t sends a ‘Hello world’ message to a phone number. Change the phone number in state 33 of App.c to some other valid number (or you will be sending me your messages). You can even use your own cell number programmed in the SIM card you have installed.

Command u will read all the messages received by the GSM2 click board.

Command p will power down the GSM2 click module.

Etcetera….

ALSO FROM THIS AUTHOR

Mikromedia Plus for STM32 with Shield and GPS Click L10 Board.

0

This example uses the GPS click L10 board in slot 2 of the shield and communicates with it through UART2. Commands and messages are available using UART6-to-USB circuit on the shield board. The USB-HID Bootloader is used for loading the code. However, you can use mikroProg programmer if you prefer.

[Learn More]

Non-Blocking Drivers for I2C1 and STMPE610 on Mikromedia Plus for STM32 Board.

0

When the Touch Panel is enabled at the same time as USB, MikroE code hangs up frequently. USB is an essential peripheral and being able to use it together with the LCD/Touch panel is absolutely a must in any application involving this board. This code provides a non-blocking driver while maintaining compatibility with Visual_TFT.

[Learn More]

WiFi ESP Click with FreeRTOS

1

This code is an example showing how to interface to the WiFi ESP click board. Comprehensive explanation of the code and files is included in the ReadMe.pdf file of the Documents folder.

[Learn More]