In addition to the standard RC receiver fitted previously, the USV will also need to be fitted with a set of hardware for autonomous control and remote monitoring.
For test purposes, a GoPro clone was initially fitted. Because we may want to remove this in future, for example to fit a Raspberry Pi camera instead, a mounting bracket was fixed to the hull using strong adhesive tape rather than a through-hull screw mount.
The camera is then affixed to this when in use. The camera was fitted quite far forward in order to maintain a good centre of gravity. In testing, these boats tend to pitch up significantly when travelling at speed, so keeping the centre of gravity as far forward as possible will help keep the boat stable.
The USV now looks rather top-heavy, although the camera is light for its size, and the majority of the boat’s mass still belongs to the batteries and motor that sit on or below the water line.
The Raspberry Pi was then prepared for testing. You may notice that this is an old Raspberry Pi Model B rather than the Raspberry Pi 3 specified in the schematics, and that the servo control board is a model that attaches to the GPIO header rather than USB. For this test, old parts borrowed from my Quadcopter have been used, as the full set of USV-01 parts have not been purchased yet. Still, the functionality is the same and can properly de-risk the integration of the real hardware at a later date.
This servo board has one advantage over the USB version, in that it can back-power the Raspberry Pi directly from the ESC BEC, so the only wiring required is direct to the throttle ESC and rudder servo.
Fitting the Pi is a bit of a squeeze, not helped by the large WiFi antenna required to get a decent range. Again, this is the 2.4GHz antenna from the quadcopter, and the final version will seek to replace this with a 5GHz version so as not to conflict with the 2.4GHz RC signal—provided a 5GHz device can meet the power and range requirements.
Since I’ve borrowed the Pi from the quadcopter, it works straight away with no extra setup—Access Point settings etc. were pre-configured. If you’re following along at home, I have instructions for this when I did it for the tank. It was thus very simple to power up, connect to the WiFi, SSH in and send some UART commands to test the motors.