In this repository, I tried to show you how to broadcast wireless live video recording in a simple way. In this way, a method where we can obtain wireless images for image processing in mobile systems, for example, in systems that operate independently of the internet network.
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <Hash.h>
#include <ESPAsyncTCP.h>
#include <ESPAsyncWebServer.h>
const char* ssid = "ESP8266-Access-Point";
const char* password = "123456789";
AsyncWebServer server(80);
void setup(){
Serial.begin(115200);
Serial.print("Setting AP (Access Point)…");
WiFi.softAP(ssid, password);
IPAddress IP = WiFi.softAPIP();
Serial.print("AP IP address: ");
Serial.println(IP);
// Print ESP8266 Local IP Address
Serial.println(WiFi.localIP());
// Start server
server.begin();
}
void loop(){
}
#include <WiFi.h>
const char* ssid = "ESP8266-Access-Point";
const char* password = "123456789";
// Declaring which Access Point to connect
void setup() {
WiFi.begin(ssid, password);
}
void loop() {
delay(1);
}
- You can find the codes for ESP32 in the Camera Web Server folder.
- Don't forget to change the SSID and Password according to your project if you want.