There are quite a few electronic items to fit inside the USV, and it would be nice to mount them in a single place rather than trying to fit them in all around the boat. To this end, I have purchased a cheap plastic case for the Pi which requires some simple modifications to fit the USV’s electronics.
Naturally it only comes with holes in the case for the Pi’s normal connectors. Some extra holes will need to be made to accomodate the servo board. Other components may be fitted internally if there is space, or if not, then externally on top of the box. Also shown here is the CP2102 USB to UART adapter that I will be using to receive data from the GPS.
Fifteen minutes of attempting to use basic tools later, the box has cut-outs in the right places for the electronics that will be going inside:
It also has some screw holes to fix the GPS and heading unit to the top:
There’s a space for the Pololu servo multiplexer board next to it:
A short USB cable allows the CP2101 board to connect to the Pi’s USB ports. This increases the space envelope significantly due to the large bend radius of the cables, although it should still fit inside the boat. A future version will aim to make this arrangement neater, possibly by making my own USB cables rather than using COTS parts.
A second USB cable of the same type is added to allow more flexibility in positioning the WiFi antenna inside the boat.