Welcome! Log In Create A New Profile

Advanced

Modified Configuration.h file for easy use and reading

Posted by rcjoseb 
Modified Configuration.h file for easy use and reading
January 27, 2015 03:08PM
I have attached my modified version of the Configuration.h file which I was able to compile successfuly in Arduino :-). The purpose of this file was to make it easier for me to read and understand the statements while at the same time getting rid of all the commented out statements I did not need or would not use. With the file as is there is no need to change any other files. THIS FILE IS PROVIDED AS IS AND I DO NOT GUARANTEE THAT IT WILL WORK ON YOUR SMARTRAP!

I customized the configuration to support the following and of course you can change it to suit your needs::

Ramps V1.3/V1.4
PLA only
No heated bed
One extruder
Reprap discount smart graphics lcd controller
PCB mounted minimum end stops so some all have an inverted status .
Software enabled maximum end stops.
X axis is inverted.
Bed size of 231.775 x 231.775 x 139.7.
Servo-less Auto bed leveling using a full grid. Make sure you change the Z offset to meet your needs.
Attachments:
open | download - Configuration.h (9.6 KB)
Re: Modified Configuration.h file for easy use and reading
January 28, 2015 04:08AM
B-e-a-utiful! However, I'd add a short comment about the PID values =)
Re: Modified Configuration.h file for easy use and reading
January 28, 2015 07:07AM
Not a problem, thanks. What did you add so that I can update it?


Jose
Re: Modified Configuration.h file for easy use and reading
January 28, 2015 01:35PM
I just added this line:

//  HOT END THERMISTOR PID TUNING:
//  Define PID temperatures.
//  Set the maximum current.
//  Limit the current to the hot end nozzle while PID is active.
//  If the difference between target temperature and the actual temperature > PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
//  Set the limit for the integral term.
//  Set the smoothing factor within the PID.
//  Set the ampling period of the temperature routine.
//  Set the default PID temperature settings for an Ultimaker type hot end.  Change using results from M503 after cooldown.
//  Set the default PID temperature settings for an Ultimaker type hot end.  Change using results from M503 after cooldown.
//  Set the default PID temperature settings for an Ultimaker type hot end.  Change using results from M503 after cooldown.
    #define PIDTEMP
    #define BANG_MAX 255
    #define PID_MAX 255
    #define PID_FUNCTIONAL_RANGE 10 
    #define PID_INTEGRAL_DRIVE_MAX 255
    #define K1 0.95 
    #define PID_dT ((OVERSAMPLENR * 8.0)/(F_CPU / 64.0 / 256.0))
//  If you have run the PID Autotune (M303), these are the values you want to change.
    #define DEFAULT_Kp 22.2
    #define DEFAULT_Ki 1.08
    #define DEFAULT_Kd 114
Re: Modified Configuration.h file for easy use and reading
January 30, 2015 08:00PM
Updated:

Add the following command to the // AUTO BED LEVELING USING A GRID PATTERN: section to enable the auto bed leveling. I forgot to add it oops :-)

#define ENABLE_AUTO_BED_LEVELING

Add the following command to the // CONSTRAINTS NOT USED BUT STILL REFERENCED: section to add variables not used but refenced for bed leveling

#define Z_PROBE_OFFSET_FROM_EXTRUDER_DELTA_X 0.3 //
#define Z_PROBE_OFFSET_FROM_EXTRUDER_DELTA_Y 0
#define ABL_PROBE_PT_1_X 10
#define ABL_PROBE_PT_1_Y 20
#define ABL_PROBE_PT_2_X 10
#define ABL_PROBE_PT_2_Y 160
#define ABL_PROBE_PT_3_X 120
#define ABL_PROBE_PT_3_Y 80
Re: Modified Configuration.h file for easy use and reading
February 18, 2015 10:23PM
Jose, I'm building a Smartrap derivative by Cliff called Funbot . With your permission, I want to take your configuration.h file and make the changes for the Funbot. I had thought about doing what you did back when I built my Smartrap, but at the time it was just easier to search and make the changes... Thanks for your work on this.

Edited 1 time(s). Last edit at 02/18/2015 10:24PM by madmike8.
Re: Modified Configuration.h file for easy use and reading
February 18, 2015 10:43PM
Hi Mike:

Go right ahead and use it. Glad I could help!

Jose
Re: Modified Configuration.h file for easy use and reading
February 26, 2015 11:08AM
hi.
take a look, and tell me if you like it. (i'ts not my page)

[marlinkimbra.it]

Edited 1 time(s). Last edit at 02/26/2015 11:08AM by enricodare.


Enrico

[www.dapa3dservice.it] [www.studiodapa.it]
repstrap dApA, Ramps 1.4, MarlinKimbra / scanner 3D Cubify Sense / Formlabs Form 2
Re: Modified Configuration.h file for easy use and reading
February 26, 2015 01:39PM
That looks pretty cool.
Re: Modified Configuration.h file for easy use and reading
February 26, 2015 06:32PM
That is awesome!
Sorry, only registered users may post in this forum.

Click here to login