Metro-ESP32 Cool WhatsApp Project
Send messages through a WhatsApp API to my personal number.
Youtube Video 1: https://www.youtube.com/watch?v=roMjPoaFAZ8&t=2s
Youtube Video 2: https://www.youtube.com/watch?v=UvXTB-bi4Sw&t=87s
https://www.reddit.com/r/esp32/comments/tks9k3/download_mode/ https://docs.arduino.cc/tutorials/generic/DriverInstallation/ https://forum.arduino.cc/t/a-fatal-error-occurred-failed-to-connect-to-esp32-no-serial-data-received/1185060/9
- Download Arduino
- Install Esp32 Tool from library
- Add the number: +34 632 331 709 to your contacts in WhatsApp and text: “I allow callmebot to send me messages”
- Install URLEncode from library.
- Write/Paste code on Arduino and insert your network credentials/API Key/Phone Number- where it is prompted.
- Select the correct board and port to use (In my case: Adafruit Metro ESP32-S2 | Port: COM6)
- Recheck your input and make sure it is correct. When finished- run the program
- Check WhatsApp for API Bot message. (Should send after a few seconds of uploading)
-
Program tried to run without any drivers. I installed a universal driver: | Failed | Error 2: No serial data received.
-
Same error. Reset the Metro-ESP32-S2 board, plugged it in and out, checked to see for any broken hardware issues. None found.
-
Only COM1 Port available, switched to upload mode to use COM4 port. Did not work either | Error 1: Wrong chip?
-
Incorrectly selected board was switched from DEVKIT to Deneyap Mini and used COM3 Port | Error: Potentially hardware/driver erorr
-
The Metro-32-S2 repeats error code 2, so I connected to Port COM6 (Adafruit Metro ES32-S2) successfully.
-
Wrong chipset error. Selected Adafruit Metro ESP32-S2 as the board.
-
The board refused to connect to my computer. After observing the SSID/Passwd I connected to a new router successfully.
-
The board reported a wrong chipset. I manually reset the hash on the Metro-32-S2 and it worked!
Final Answer: Select the exact board that you have, reset the board and select the correct port. Once the correct options have been selected run the code. Double check code and ports religiously.