SunFounder ESP32 Starter Kit
3. Open the code.
• Open the iot_7_cam_telegram.ino file located in the esp32-starter-kit-main\c\
codes\iot_7_cam_telegram directory, or copy the code into the Arduino IDE.
• After selecting the board (ESP32 Dev Module) and the appropriate port, click the Upload button.
• Always displaying “Unknown COMxx”?
• The UniversalTelegramBot and ArduinoJson libraries are used here, you can install them
from the Library Manager.
4. Locate and modify the following lines with your WiFi details, replacing <SSID> and <PASSWORD>:
// Replace the next variables with your SSID/Password combination
const char* ssid = "<SSID>";
const char* password = "<PASSWORD>";
5. Update the next line, replacing <CHATID> with your Telegram ID, which you obtained from @IDBot.
// Use @myidbot to find out the chat ID of an individual or a group
// Also note that you need to click "start" on a bot before it can
(continues on next page)
1.50. 8.7 ESP Camera with Telegram Bot 205