Short question: How have any of you communicated between the Raspberry Pi and an Arduino?
In 2018 I completed an open loop design with just an Arduino, which is documented elsewhere on this forum. As always, thanks to the community for all the wealth of information that is here.
I want to try the next version, which will continue to use the Arduino for transport control of the reels and positioning each frame. I want to add a Raspberry Pi with a camera module (like others, I plan to start with the HQ Camera, since I have two dozen C-mount lenses here and there- don’t ask.)
This will allow me to use Python for the control to capture each frame, and then process the stills into a video using ffmpeg (as a starter). Obviously, I have not done any of this before.
So, my question is this- what have any of you used to communicate between the R-Pi and the Arduino? Any thoughts and link resources appreciated.
If this helps, my needs are “simple”- the R-Pi signals to the Arduino to move to the next frame and waits. The Arduino works away, controlling the stepper motors and sensors. When it gets somewhere, the Arduino signals back that either the next film frame is ready for capture, or that the film has run out, or broken, or some other error. Then it waits till the next signal from the R-Pi.
For context, this is an intermittent motion capture design.