Now that you are familiar with the hardware, it is time to put everything together, connect it, and run a quick test to check that GoPiGo3 works properly. The assembly process is very well documented in a step-by-step guide in the official documentation, along with plenty of figures and photos; you can find this documentation at https://www.dexterindustries.com/GoPiGo/get-started-with-the-gopigo3-raspberry-pi-robot/1-assemble-gopigo3/.
Alternatively, you can use the Workbench training environment at https://edu.workbencheducation.com/ and register a personal account for free to go through the same assembly process while registering your progress. If you do, then follow the two assembly stages that are covered in the official documentation from the manufacturer:
- GoPiGo3 assembly stage 1: https://edu.workbencheducation.com/cwists/preview/26659-build-your-gopigo3-stage-1x
- GoPiGo3 assembly stage 2: https://edu.workbencheducation.com/cwists/preview/26655-build-your-gopigo3-stage-2x
To attach the Pi Camera, follow the instructions at https://www.dexterindustries.com/GoPiGo/get-started-with-the-gopigo3-raspberry-pi-robot/4-attach-the-camera-and-distance-sensor-to-the-raspberry-pi-robot. These extend upon the Raspberry Pi part.
Once you've assembled the base kit, you can proceed with the sensors:
- For the line follower, you can follow the instructions at https://www.dexterindustries.com/GoPiGo/line-follower-v2-black-board-getting-started/.
- For mounting the distance sensor, you can watch the video at https://www.youtube.com/watch?v=R7BlvxPCll4. This mounts the Pi camera on top of the Sero package, but you can mount the distance sensor instead.
- For the IMU sensor, plug it into one of the analog-digital Grove connectors (AD1 or AD2) and make sure that you fix its orientation, as shown in the following images (see the orientation of the X, Y, and Z axes).
The following image shows the GoPiGo3 with the three sensors attached to it:

Be aware that the Z axis of the IMU sensor should point in the forward direction, the X axis should point to the left wheel, and—as a consequence—the Y axis should be along the vertical axis and pointing up. When properly calibrated and placed on a horizontal surface, the two angles, pitch and roll, will be zero, and if Z points to the magnetic south, the yaw angle will be zero too.