The Prida '3D Mode' requires a driver for communicating with the stepper motor that controls the turntable/bearing for rotating the plant root system. Two drivers are available for your convenience. These drivers include the HAT class (i.e., 'prida/hardware/hat.py') for the Adafruit DC & Stepper Motor HAT for the Raspberry Pi microcomputer and the Shield class (i.e., 'prida/hardware/shield.py') for the Adafruit Motor/Stepper/Servo Shield for the Arduino microcontroller.

Because the Arduino Shield works for all systems, this guide focuses on this driver. For more information regarding the Raspberry Pi setup, see here.

Shield

Stepper Shield Adafruit Motor/Stepper/Servo Shield ontop of Arduino Uno microcontroller.

To begin, the following items need to be procured:

You will also need to download and install the Arduino IDE for your computer (available for Windows, Mac OS X and Linux).

Follow the instructions for installing the Adafruit_Motor_Shield library and add the ams_serial folder to your Sketches.

Follow the instructions for installing the Shield's headers and terminals.

Attach the Shield to your Arduino and connect the Arduino to your computer using the USB cable. Open the Arduino IDE and make certain the Board (Tools -> Board) and Port (Tools -> Port) are correctly configured. Open the ams_serial Sketch and click the checkmark (Sketch -> Verify) to compile and verify that the sketch is working. If the Sketch compiles without error, click right-arrow (Sketch -> Upload) to program the Arduino. If the program uploads without error, you may unplug the Arduino. It is ready for use with Prida.