Arduino Quick Start
M5AtomS3R
development board.M5AtomS3
driver library, and download all the dependent libraries according to the prompts. (AtomS3R-CAM can directly use the M5AtomS3
driver library.)Long press the reset button (for about 2 seconds) until the internal green LED lights up, then release the button. The device is now in download mode, waiting for the program to be uploaded.
Connect the device to the computer via a USB cable. After the device enters download mode, the corresponding device port can be selected in Arduino IDE.
Open the example program camera
from the driver library, and make sure the macro definition is USE_ATOMS3R_CAM
. Modify the Wi-Fi name (SSID) and password to match the network you want to connect to. Click the upload button, and the program will be automatically compiled and uploaded to the device.
After flashing is complete, open the Serial Monitor in the top right corner and wait for the device to connect to the network. If the IP address does not appear, press the side button on the device briefly to restart the program. Once the IP address is displayed, enter it in the browser of a computer on the same network to view the real-time video stream.
The result is shown below:
Github
Arduino API & Examples