Skip to content

Software for ESP32-CAM that allows camera configuration via Bluetooth terminal. The camera sends photos to a web server using the POST method, and the data is received by a PHP script.

License

marcin-filipiak/esp32_camsender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

esp32_camsender

Software for ESP32-CAM that enables camera configuration via a Bluetooth terminal. The camera transmits photos to a web server using the POST method, and the data is received by a PHP script.

CAMERA

You need own server to store images. If the server is running on a local network, you can use it. The remaining configuration, such as the Wi-Fi network name and password, can be done by connecting to the camera via Bluetooth. I recommend using the: https://github.com/marcin-filipiak/IoT_Configurator application on Android. There you can download apk file and install on your phone. Also you should find this app in GooglePlay.

SERVER

If you decide to install your own server for storing images from cameras, Apache with PHP support will be required. On the server, create a folder named 'camsender' and copy the files from the PHP_server folder into it. For example, the address will look like: http://api.filipiak.tech/camsender/index.php On the server, the images will be stored in the 'data' folder. Remember to set write permissions for this folder. You can test the server's functionality by opening the test.html page.

The API is very simple. To preview the latest image from a selected camera, enter the address in the format http://api.filipiak.tech/camsender/index.php?image/foobar, where 'foobar' should be replaced with the camera identifier you assigned during configuration.

You can also view live stream in mjpeg. Enter the address in the format http://api.filipiak.tech/camsender/index.php?mjpeg/foobar, where 'foobar' should be replaced with the camera identifier you assigned during configuration.

Of course, adjust the address accordingly to match your server's address.

CONFIGURATION

This project using DeviceConfigJSON library, you need download this from Arduino Library before compile. It let you use IoT Configurator (Android app) to config this device.

About

Software for ESP32-CAM that allows camera configuration via Bluetooth terminal. The camera sends photos to a web server using the POST method, and the data is received by a PHP script.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published