How to set up or do changes to the extruder controller - augmentedfabricationlab/fabtory_fabrication_control GitHub Wiki

Requirements

Setup for the Arduino

  • 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

image

  • 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!

Setup for the Igus Dryve D1

  • 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 IP 192.187.125.1 we stay in 192.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.

image

  • To test if the concrete extruder rotates, change your settings in your Drive Profile to Binary. Select one of the modes and hit Start

image

  • To send commands via the arduino, change your Drive Profile to Step / Direction

  • Note! To change your motor settings you have to disable your Digital Input DI 7, to run any of your drive profiles enable your Digital Input DI 7.

Setup for the Extruder Control

  • 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 and ping.

image

  • Change the IP addresses in your `extruderclient.py

  • Make sure the pins are plugged in correctly.

image

  • Recompute your grasshopper file and run the script.

image

Have fun extruding!

⚠️ **GitHub.com Fallback** ⚠️