The poseidon GUI was created using Qt designer, a drag and drop application for organizing buttons that allows the used to easily make modifications. This GUI is used to interface with a Python script that controls both the microscope and Arduino via USB.
The pumps are driven by an Arduino board that interprets commands sent via USB and sends the proper signal to control the stepper motor movement. The user can take advantage of this by developing custom movement patterns using the Arduino functions.
To run the poseidon GUI controller you have the option of either running from the source code in Python or choosing the appropriate binary file from the poseidon releases page and executing it.
The Python scripts are available in the repository
SOFTWARE folder. The two Python scripts needed are
Before you can run the GUI controller, the Arduino should be flashed with the
arduino_serialCOM_v0.1.ino sketch, available the
For directions on how to flash an arduino please refer to the official guide: https://www.arduino.cc/en/Guide/HomePage
Before starting the Python controller, make sure
- The Arduino has the firmware uploaded to it
- The Arduino is connected via USB to the computer or Rapsberry Pi microscope
- You have appropriately placed jumpers on the CNC Sheild to allow for microstepping and hardware enabling, as shown in the arduino CNC shield build video.
- The CNC shield is powered, and that all motors are plugged in to the CNC sheild
A schematic of how the system parts connect is shown below.
poseidon is distributed under the BSD 2-Clause License