Fablab_Irbid
Published © CC BY-NC-SA

Filament Recycling Extruder "Fab Extruder"

This project introduces a functional extruder at a reasonable price, which can be affordable to the fablab community and others.

AdvancedWork in progressOver 1 day11,704
Filament Recycling Extruder "Fab Extruder"

Things used in this project

Hardware components

DC motor (generic)
×1
K-type thermocouple
×1
Arduino LCD Screen
Arduino LCD Screen
×1
Solid State Relay
×1

Software apps and online services

Arduino IDE
Arduino IDE
Fusion
Autodesk Fusion

Hand tools and fabrication machines

Laser cutter (generic)
Laser cutter (generic)
Materia 101
Arduino Materia 101

Story

Read more

Custom parts and enclosures

2D & 3D Design " CAD"

Schematics

Schematic & board design

Code

Filament Recycling Extruder

Arduino
#include "Nextion.h"
#include <max6675.h>

'[[[p
"

NexNumber n0 = NexNumber(0, 8, "n0");

NexSlider h0 = NexSlider(0, 3, "h0");
NexSlider h1 = NexSlider(0, 4, "h1");

int thermo_so_pin  = 12;
int thermo_cs_pin  = 3;
int thermo_sck_pin = 13;
int temp=20;

int heatprev;
int heater=5;
int motor=6;
MAX6675 thermocouple(thermo_sck_pin, thermo_cs_pin, thermo_so_pin);
  

 uint32_t heat = 20;
 uint32_t Speed = 0;
 
NexTouch *nex_listen_list[] = 

{

    &h0,
    h1,

    NULL

};&


void setup()
{
pinMode(heater, OUTPUT);
pinMode(motor,OUTPUT);
    nexInit();
}
void loop()
{
  
  temp=thermocouple.readCelsius(); 
  
    h0.getValue(&heat);
     h1.getValue(&Speed);
      delay(100);
      
if(heat==heatprev){
    n0.setValue(temp);
    heatprev=heat;
}
else {
  n0.setValue(heat);
   heatprev=heat;
}
  
    nexLoop(nex_listen_list);
      delay(100);


if(temp<heat){
  digitalWrite(heater,HIGH);
}
else if(temp >heat+5){
  digitalWrite(heater,LOW); 
}

if (temp>heat){
  analogWrite(motor,Speed);
}

else if(temp<heat-5) {
  analogWrite(motor,0);
}

}

Credits

Fablab_Irbid

Fablab_Irbid

6 projects • 32 followers
Thanks to Qusai Malahmeh .

Comments