We went to the Fab Lab Tutorial Getting Started With Gestalt Nodes.
We then clicked on the link at the bottom of the page for the AAdafruit Python tutorial and downloaded the zip file from the pyserial zip file from the adafruit page. Next, we moved the pyserial zip file from downloads folder to desktop. Then installed nadya/pygestalt GitHub page and installed the unzipped folder ondesktop. We then used terminal to complete the following unzipping process and installation process:
Lastly, the video shows the code working.
Completed Machine 2.
Machine 2 Added
We took a small box and attached it to the agitator and cut 2 holes for our test tubes. We added some weights to the other side of the top piece to counter balance the stepper motor. We than opened the xy_plotter.py file and made changes to it. Next, the velocity was set to 20 in line 83, because, 20 velocity was to high and it makes the rod slipped and jam. The moves = [[5,5],[0,0],[-5,-5],[0,0] was set after some trial and error to get the two stepper motors moving in short movements to agitate the liquid in the test tubes. These values controlled the accerlation and the coordinates on the axis. We learned that making the steppers move less witha start and stop process, we could make the liquid move more. The test tubes were filled with water and food coloring for our test, and the box had holes put in it to the size of the test tubes as well as the box was attached using velcro. I have attached the single_nodes code to show the practice we did building up towards the agiator xy_plotter code. Below you will find a video of the agitator working, images and a zip file of the code:
Download File Here agitation_code.zip
If you Build It They will Learn!!!