Let's try making a web camera!
Let's try GR-LYCHEE as a web camera. GR-LYCHEE has an ESP32 module, which allows connection between Wi-Fi and BLE. In this time, I will try to display images with a web browser using Wi-Fi.
Prepare GR-LYCHEE, USB cable (micro B type) and SD card. For details on how to install the camera, please click here.
Web camera sample
First, save "index.htm" file for browser display on the SD card.
Right click on the following link and save "Save target to file" to download.
After saving, insert the SD card into GR-LYCHEE and execute the following sketch.
Confirm the operation of the web camera
Activate the serial monitor and press the reset button of GR-LYCHEE. The IP address obtained by DHCP is displayed as shown below.
Let's type in the displayed IP address in the URL of the web browser. The following screen is displayed.
The image of the camera is displayed.