I plan on making an automated pet feeding system, i would like to use a webcam that will allow the user to see the pet from a live internet feed from that camera. As well as allow the user to check on the status of the system from a webpage or a phone app, all over the internet remotely. i will also need to attach several other components to the project (microcontroller) as well, such as motors to deliver food, sensors to detect amount of food left, and perhaps even a pan and tilt module for the camera so it can move.
MY QUESTION IS: I’m not sure what microcontroller to use Raspberry Pi, or Arduino? or perhaps even both? because i know the pi would be better suited for the internet connectivity and control, but i also see how the arduino is great for controlling motors, sensors etc. Could the Arduino alone be used and have all of the internet connectivity and control i need?