Skip to main content
Associate II
March 18, 2025
Solved

STM32F103 Blue Pill + SIM7600E for MQTT over 4G — Library or Start from Scratch?

  • March 18, 2025
  • 5 replies
  • 1277 views

Hello STM32 Community,

I’m currently in the research phase of a project where I’m using the STM32F103 "Blue Pill" with a SIM7600E module to send sensor data to an MQTT broker over 4G. I’ll be handling the communication via UART and AT commands.

My question is: should I build my own library to manage the SIM7600 and MQTT communication, or is there an existing library or resource that could help? I’ve searched but haven’t found anything solid yet, which is why I’m reaching out.

If anyone has experience with this setup or knows of a library, example code, or any useful resources, I’d greatly appreciate it!

Thanks in advance!

This topic has been closed for replies.
Best answer by Peter BENSCH

Welcome @Rima-Fahem, to the community of STMicroelectronics!

I am incredibly sorry to have to tell you that you are completely wrong to ask this question. For many years now, the so-called Blue Pills have not been using original STM32F103C8T6, but counterfeits - even if they are maybe labelled STM32F103. You should therefore contact the forum for Blue Pills or the manufacturer of the counterfeit.

However, you could continue to ask for support here if you are using a board with original STM32, e.g. one of the NUCLEO boards.

Good luck!
/Peter

5 replies

Peter BENSCH
Peter BENSCHBest answer
Technical Moderator
March 18, 2025

Welcome @Rima-Fahem, to the community of STMicroelectronics!

I am incredibly sorry to have to tell you that you are completely wrong to ask this question. For many years now, the so-called Blue Pills have not been using original STM32F103C8T6, but counterfeits - even if they are maybe labelled STM32F103. You should therefore contact the forum for Blue Pills or the manufacturer of the counterfeit.

However, you could continue to ask for support here if you are using a board with original STM32, e.g. one of the NUCLEO boards.

Good luck!
/Peter

Associate II
March 18, 2025

hey , thank you for your reply . i meant this board 

RimaFahem_0-1742329639328.png

 

Peter BENSCH
Technical Moderator
March 18, 2025

This is exactly the kind of colourful "pills" where you can be 100% sure that there is a fake STM32 on it.

Incidentally, the same applies to the clones of the ST-LINK/V2, which are usually housed in colourful tincans, but sometimes also in fake plastic cases with Chinese text on the back.

Old rule: buy cheap, buy twice. However, you cannot expect support from STMicroelectronics for counterfeits.

Regards
/Peter

Associate II
March 18, 2025

Thank you for the warning. It’s true that counterfeits can lead to significant quality and performance issues.

Best regards,

Rima

Andrew Neil
Super User
March 18, 2025

The SIM modules are very widely used, so there should be plenty of code out there.

Remember that the SIM module neither knows nor cares what microcontroller you use - so don't restrict yourself to just searching for "STM32" code.

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Associate II
March 18, 2025

thank you @Andrew Neil 

Peter BENSCH
Technical Moderator
April 14, 2025

ST resources are dedicated to supporting genuine ST products. We are not committed to ensuring that clones/fakes work properly with the firmware we provide.