How to set up or do changes to the extruder controller - augmentedfabricationlab/fabtory_fabrication_control GitHub Wiki
-
Download Arduino IDE
-
Pull the extruder_control repository
-
Import the .ino files stored in the source folder
-
Load the missing libraries from
Tools -> Manage Libraries
, they are named#include <xyz.h>
in your main tab -
Change the IP settings if necessary
-
In Tools you also select the right Arduino Board, in this current state we use Arduino Mega 2560. Select the right Processor and the port when you are connected to your Arduino Board.
-
Save the file and compile!
-
The Igus Dryve displays its own IP address as soon as you turn it on or you plug in an ethernet cable which is connected to your laptop
-
Open the GUI with the IP adress in your browser and make sure that your own IP address match with that one from the Dryve.
-
In
Communication
you can change the IP adress of the Dryve if you need to. This may happen if you want to have everything working within the same network. Since the ABB Robot has the IP192.187.125.1
we stay in192.187.125.xx
. Don't forget to restart the Dryve afterwards to refresh your settings. -
Select the right motor ID and motor type in the settings. You find this on your stepper motor which is connected to the Dryve.
- To test if the concrete extruder rotates, change your settings in your
Drive Profile
to Binary. Select one of the modes and hitStart
-
To send commands via the arduino, change your
Drive Profile
toStep / Direction
-
Note! To change your motor settings you have to disable your
Digital Input DI 7
, to run any of your drive profiles enable yourDigital Input DI 7
.
-
Open your
extruder_control.ghx
file in your extruder_control repository -
Change your IP address to the same you use in your Arduino
extruder_control.ino
andping
.
-
Change the IP addresses in your `extruderclient.py
-
Make sure the pins are plugged in correctly.
- Recompute your grasshopper file and run the script.
Have fun extruding!