Welcome! Log In Create A New Profile

Advanced

Heated bed enabling

Posted by biscuits 
Heated bed enabling
June 05, 2014 02:46PM
Hi, I'm using Ramps 1.4 on my machine. How the devil do I enable the heatbed in Repetier? There is no mention of it in the EEPROM settings. The only place that shows it is under manual control, and that won't work either. As you may have guessed I'm new to the Arduino scene, and I know I'm trying to run before I can walk, but I want to get this thing going. I've Googled and searched for hours without success. The heatbed is fine, shows 1.2 ohms. I have not tried changing any wires around, I'm somewhat scared to because I don't want to blow the board up. I've probably left out some vital information you need to help, so please ask. Thanks, Peter.
Re: Heated bed enabling
June 06, 2014 02:53AM
You need to confure the bed first in the firmware configuration.h, otherwise you can not enable it in the host. This can only be modified in eeprom when bed was enabled during compilation.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Heated bed enabling
June 06, 2014 04:33AM
Thanks Repetier. Looking under the configuration.h file I see:-

// ############# Heated bed configuration ########################

#define HAVE_HEATED_BED 0
#define HEATED_BED_MAX_TEMP 120
#define SKIP_M190_IF_WITHIN 3
#define HEATED_BED_SENSOR_TYPE 1
#define HEATED_BED_SENSOR_PIN TEMP_1_PIN
#define HEATED_BED_HEATER_PIN HEATER_1_PIN
#define HEATED_BED_SET_INTERVAL 5000
#define HEATED_BED_HEAT_MANAGER 0
#define HEATED_BED_PID_INTEGRAL_DRIVE_MAX 255
#define HEATED_BED_PID_INTEGRAL_DRIVE_MIN 80
#define HEATED_BED_PID_PGAIN 196
#define HEATED_BED_PID_IGAIN 33
#define HEATED_BED_PID_DGAIN 290
#define HEATED_BED_PID_MAX 255
#define MIN_EXTRUDER_TEMP 150
#define MAXTEMP 275
#define MIN_DEFECT_TEMPERATURE -10
#define MAX_DEFECT_TEMPERATURE 290

Which line do I change, and what do I change it to?

Cheers

Peter
Re: Heated bed enabling
June 06, 2014 04:52AM
Looks like you configured it with online configurator. So it's best to upload and enable bed there in extruder tab. But to answer your question,

#define HAVE_HEATED_BED 1

Is one important part, but you need also to select the right sensor type.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Heated bed enabling
June 06, 2014 06:05AM
Hi Repetier

Thanks again, I'll get to the sensor shortly, it's not even hooked up yet.

I've changed the configuration.h file, and hunting through the extruder.h file I came across this

#if HAVE_HEATED_BED
#define NUM_TEMPERATURE_LOOPS NUM_EXTRUDER+1
extern TemperatureController heatedBedController;
#else
#define NUM_TEMPERATURE_LOOPS NUM_EXTRUDER
#endif
#define TEMP_INT_TO_FLOAT(temp) ((float)(temp)/(float)(1<Edited 1 time(s). Last edit at 06/06/2014 06:06AM by biscuits.
Re: Heated bed enabling
June 06, 2014 06:11AM
Sorry, for some reason that didn't come out right

#if HAVE_HEATED_BED
#define NUM_TEMPERATURE_LOOPS NUM_EXTRUDER+1
extern TemperatureController heatedBedController;
#else
#define NUM_TEMPERATURE_LOOPS NUM_EXTRUDER
#endif
#define TEMP_INT_TO_FLOAT(temp) ((float)(temp)/(float)(1<<CELSIUS_EXTRA_BITS))
#define TEMP_FLOAT_TO_INT(temp) ((int)((temp)*(1<<CELSIUS_EXTRA_BITS)))

What do I change here?

Cheers

Peter
Re: Heated bed enabling
June 06, 2014 08:52AM
There is no need to change the extruder.h. All is configured in configuration.h. But without sensors hooked up it goes in dry mode and you can not heat up, which is correct.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Heated bed enabling
June 07, 2014 04:17AM
Thanks Repetier, it's all up and running now. The bed is heating and I'm seeing the temperature.

I don't know if you've realised this, but you're coming up to 2,000 posts. That's amazing commitment, dedication and support for your software. I suggest you take a day off and go fishingsmileys with beer or have a beer or two, or both.

Cheers

Peter
Re: Heated bed enabling
December 27, 2016 11:15AM
So did you end up just Changing the configuration.h file?
By changing the heated bed configuration to...

// ############# Heated bed configuration ########################

#define HAVE_HEATED_BED 1 *********************#******* This line?
#define HEATED_BED_MAX_TEMP 120
#define SKIP_M190_IF_WITHIN 3
#define HEATED_BED_SENSOR_TYPE 1
#define HEATED_BED_SENSOR_PIN TEMP_1_PIN
#define HEATED_BED_HEATER_PIN HEATER_1_PIN
#define HEATED_BED_SET_INTERVAL 5000
#define HEATED_BED_HEAT_MANAGER 0
#define HEATED_BED_PID_INTEGRAL_DRIVE_MAX 255
#define HEATED_BED_PID_INTEGRAL_DRIVE_MIN 80
#define HEATED_BED_PID_PGAIN 196
#define HEATED_BED_PID_IGAIN 33
#define HEATED_BED_PID_DGAIN 290
#define HEATED_BED_PID_MAX 255
#define MIN_EXTRUDER_TEMP 150
#define MAXTEMP 275
#define MIN_DEFECT_TEMPERATURE -10
#define MAX_DEFECT_TEMPERATURE 290


My heated bed is currently not connected but when I did have it connected the only time I got it to work was when I enabled heated bed support but when I did this it made my extruder stop working.
so what do I need to change in my firmware configuration?

Scale PID values to max. PID. Can give better temp. results if max. PID is low. (SCALE_PID_TO_MAX)
Enable advance algorithm (not stable) (USE_ADVANCE)
Enable quadratic advance terms (ENABLE_QUADRATIC_ADVANCE)
Disable extruder stepper when unsued (DISABLE_E)
******** Enable heated bed support (HAVE_HEATED_BED)**********************************************************************
Enable PDM for heaters (instead of PWM) (PDM_FOR_EXTRUDER)
Enable PDM for fans (instead of PWM) (PDM_FOR_COOLER)
Mixing Extruder (1 Nozzle/heater + 2 or more filament feeder) (MIXING_EXTRUDER)
Kill/reset firmware on defect sensor. (KILL_IF_SENSOR_DEFECT)
Extruders share same heater from extruder 0 definition (SHARED_EXTRUDER_HEATER)

Any help would be appreciated! Thanks
Sorry, only registered users may post in this forum.

Click here to login