Why to connect PIN 8 to PIN 10 on Arduino Mega to get SIM7000 shield working properly?

Hi, does anyone know, why the PIN 10 and PIN 8 should be connected when running SIM7000 shield on Arduino Mega? What is wrang with PIN 8 on Arduino Mega, that it cannot be used directly? What is the reason? It works fine, I just want to understand for situations, if I would like to adopt this for another board, e.g. ESPDUINO32. Thanks.

There is nothing wrong with pin 8 on the Mega.

Regards

Please show your whole code and connection diagram

1 Like

Hi milanbx...
I've seen your question.. The reason why PIN 10 and PIN 8 need to be connected when running the SIM7000 shield on an Arduino Mega is because of a conflict between these pins. On Arduino Mega, PIN 10 is the default pin for SPI communication, while PIN 8 is used for the SS (Slave Select) signal. Both the SIM7000 shield and the Arduino Mega use these pins for different purposes.

Connecting PIN 10 and PIN 8 makes you to resolve this conflict by rerouting the SS signal from PIN 8 to PIN 10. This ensures that both the SIM7000 shield and the Arduino Mega can communicate properly without any interference or issues.

In simple words, there's nothing wrong with PIN 8 on the Arduino Mega itself. It's just a matter of resolving a pin conflict between the SIM7000 shield and the Arduino board. Hope this helps clarify things for you!

The both are not correct. Neither pin 8 nor pin 10 are default pins for SPI on Arduino Mega.
SPI bus on MEGA are on pins 50-53:

@cennetin
If the text you posted is the output of artificial intelligence bot, please note that the forum does not welcome posting a AI generated content without an explicit indication of the source.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.