Play video file in Arduino

Hello, everyone :slight_smile:

I want to make a program for playing video file under specific condition by using arduino with some sensors.

For example, if sensor's output value is over 50, play video file which is located in laptop.

So I wonder, how to build the code to play video file in arduino sketch.

Just like 'cap = cv2.VideoCapture("example.mp4")' code in python.

So I wonder, how to build the code to play video file in arduino sketch.

Forget it you can't.

You can however use an Arduino to send a message to some program running on a PC and tell that program to show a video on the PC.

I assume you can read the (USB) serial port with Python so you can "send a message" from the Arduino to the computer with [u]Serial.print()[/u] or Serial.write().

Thank you so much! That was very helpful to me.