Today a quick note on how to connect the two Pi's.
Previous posts:
[Pi IoT] Plant Health Camera #9 - calculating BNDVI and GNDVI
[Pi IoT] Plant Health Camera #8 - Aligning the images
[Pi IoT] Plant Health Camera #7 - Synchronizing the cameras
[Pi IoT] Plant Health Camera #6 - Putting the slave Pi to work
[Pi IoT] Plant Health Camera #5 - OpenCV
[Pi IoT] Plant Health Camera #4 - Putting the parts together
[Pi IoT] Plant Health Camera #3 - First steps
[Pi IoT] Plant Health Camera #2 - Unboxing
[Pi IoT] Plant Health Camera #1 - Application
Connecting the slave to the master via ethernet
In my blog yesterday I talked about taking images in the garden. But up till now The master Pi 3 (with NoIR Camera) and slave Pi B+ (with color camera) are connected via my local network. The Pi 3 using its internal WiFi, and since the WiPi dongle was missing in my kit, the Pi B+ using a cable to my network router. This is not a workable solution, since I like to take the camera to my garden, or the field where no network is available. Therefore I connected the two Pi's using a small ethernet cable. luckily no cross-over cable is needed since the ethernet ports of the Pi are auto sensing.
I don't like to install a DHCP server on the Pi 3, therefore I'm using static ip numbers by adding the following to the /etc/dhcpcd.conf file:
# static ip address (gp 24/8/2016) interface eth0 static ip_address=192.168.2.222/24 static routers=192.168.2.1 static domain_name_servers=192.168.2.1
Here is a picture of the setup:
stay tuned