I am new to RasPi, I need help on how to have arduino communicate with Pi. So basically I want arduino to send message("TAKE A PICTURE") to Pi3. On receiving the message the Pi3 should take Picture using a noircam. The communication could be either though GPIO pins or USB connection. Thanks in advance
Basic code will be create a python script that start at reboot using crontab. That script will wait for a serial input from the serial port and read whatever comes. If the message is "TAKE A PICTURE" then, run code to take a picture using picamera.
In arduino, you'll need to create a sketch that send the message at certain event. It could be time based, user input, or sensor input.
You can get rid of the arduino anyways and handle everything from the pi. If you want to take the picture when some event happend, like reading from a sensor is a certain value, you can read those from the pi itself.