This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <ESP8266WiFi.h> | |
| #include <ESP8266HTTPClient.h> | |
| #include <WiFiClientSecure.h> // Required for HTTPS connections | |
| // Replace with your WiFi credentials | |
| const char* ssid = "Semicon Media"; | |
| const char* password = "cracksen1605"; | |
| // Replace with your API Key | |
| const char* apiKey = "yourapi"; //get api key from circuitdigest.cloud |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| # Define the API endpoint and API key | |
| api_key = "your_api_key_here" | |
| url = "https://www.circuitdigest.cloud/api/v1/send_sms?ID=101" | |
| # Set the payload with the recipient's mobile number and dynamic variables | |
| payload = { | |
| "mobiles": "919876543210", # Replace with recipient's mobile number | |
| "var1": "John Doe", # Replace with your first variable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Libraries for WiFi, Secure Client, and Camera functionalities | |
| #include <Arduino.h> | |
| #include <WiFi.h> | |
| #include <WiFiClientSecure.h> | |
| #include <WebServer.h> | |
| #include "soc/soc.h" | |
| #include "soc/rtc_cntl_reg.h" | |
| #include "esp_camera.h" | |
| #include <NTPClient.h> | |
| #include <WiFiUdp.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Smart Parking System using ESP32-CAM | |
| * | |
| * Features: | |
| * - WiFi connectivity for communication with a remote server. | |
| * - Secure HTTPS communication with the server using WiFiClientSecure. | |
| * - Camera functionality to capture images for license plate recognition. | |
| * - Integration with an NTP server for accurate timekeeping in Indian Standard Time (IST). | |
| * - Real-time web server interface for monitoring parking system status. | |
| * - Web page displays real-time information including current time, parking status, and captured images. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Load Wi-Fi library | |
| #include <WiFi.h> | |
| // Replace with your network credentials | |
| const char* ssid = "REPLACE_WITH_YOUR_SSID"; | |
| const char* password = "REPLACE_WITH_YOUR_PASSWORD"; | |
| // Set web server port number to 80 | |
| WiFiServer server(80); |