Heated Chamber

HELLO,
we have a repetier server pro version. We are running the machine on smoothieware. Its a delta style machine.  We would like to add a temperature controller for heated chamber on the server as well as on the touch screen. The machine has two extruders and we are using custom pins to control the chamber. we need your help to add this controller on the server as we were not able to find any solution for this one 
looking forward to your help. 

thanks
vaibhav 

Comments

  • How does smoothieware implement heated chamber and report these temperatures?
    Currently you can only add it as extra extruder so you see the temperature but should avoid using it for extrusion.
    So far there is no real standard for heated chambers and hence no direct support to visualize it. Of course you can send the command to enable it etc. just not see it except you would reprogram the ui.
  • There are four thirmistor pins on smoothieware. We are using TH3 to report back the temperature. 
    SSR to control the heaters and fans
    looks similar to this code
    temperature_control.chamber.enable               true               #
    temperature_control.chamber.thermistor_pin       0.26          #
    temperature_control.chamber.heater_pin           2.6              #
    temperature_control.chamber.pwm_frequency        5            # Set low to control SSR 
    temperature_control.chamber.thermistor           Semitec       # see smoothie site for details
    #temperature_control.chamber.beta                4300              # or set the beta value
    temperature_control.chamber.set_m_code           141          #
    temperature_control.chamber.set_and_wait_m_code  191   #
    temperature_control.chamber.designator           C                #
    temperature_control.chamber.bang_bang            true          # set to true to use bang bang control rather than PID
    temperature_control.chamber.hysteresis           2.0              # set to the temperature in degre
    
    The Mcode is M141 S[temperature]
    
    The controller is similar to heated bed in the server and the firmware.
    
    Is it possible to add one more controller (module) similar to the heated bed on the UI and 
    edit its icon and mcode?
    
    if we add an addtional extruder is it possible to edit its mcode. 
    
    could you please guide us on editing the code or adding a module to the current ui  
  • Ok, so M141 sets chamber temperature. A good start, but how do I read that. I would expect M105 would include that as well, but having no sample system with chamber, what would smoothieware return when you have a chamber?

    I ask because you can not add chamber temperature like you want to, but I can add it if I know how to parse the temperature.


  • This is what pronterface will return when you type the M105 command, where "C" is the chamber same thing as the "B" which is for the bed.

    If we would add two extruders it would look like 

    T0:31.0/0.0 T1:31.0/0.0 B:31.0/0.0 C:31.0/0.0


  • That's good. Have modified my firmware to produce similar output for testing. Will be included in 0.86.0 if you enable heated chamber in extruder tab.
  • Thank you for the implementation!

    I try to map my printers spare sensor pin to the heated chambers diagram.
    But I cannot figure out the right syntax for having the PWM taken from "C"hamber Part. It always gives me the PWM from active extruder. currentTemperatures and targetTemperatures are shown as expected.
    This evening I tempered alot with Command::printTemperatures(), but no success.

    This was my last state:
    0:48:45.174: T:31.6 /35 @:109 B:27.0 /0 B@:0 T0:31.6 /35 @0:109 T1:25.2 /0 @1:0 C:27.1 /0 C@:0 F:-526 /0 @:0

    I guess it falls down to this syntax:
    T:31.6 /35 @:109
    B:27.0 /0 B@:0
    T0:31.6 /35 @0:109
    T1:25.2 /0 @1:0
    C:27.1 /0 C@:0
    F:-526 /0 @:0

    (F is the value of force in direction of Z-axis which measures the extrusion force)

    But whenever I see C's PWM I see the PWM of T->current.
    I tried:  C@:0,  @:0, different Places, ...

    Greetings
  • Your last state is what should have worked, but your example had @value which no other firmware uses so i have also added that. But here position matters and if i search from beginning i get current t. Will have to look into this when i am back.
  • Thanks so far!
Sign In or Register to comment.