I'm working on a CO detector project for cars. It's meant to alert emergency contacts if carbon monoxide levels get too high. I'm using an ESP8266, an MQ-7 sensor, a NEO6M GPS module, and a SIM800L GSM module.
Here's the problem:
When I connect the SIM800L to the ESP8266, the ESP8266 won't accept new program updates, and I can't see any responses in the PlatformIO serial monitor. Even though I tried connecting a common ground between the GSM and the ESP8266, it didn't fix anything. Strangely, everything works fine if I remove the GSM module, even when the MQ-7 is connected to an external power supply.
I found a temporary fix:
Once, I got it all to work by disconnecting the GSM module, updating the program, and then reconnecting the GSM module. After that, it was able to send SMS alerts.
Can anyone help me figure out what's causing this problem and how to fix it permanently?
Thanks a lot!