Notifications
Clear all

How to configure Marlin Firmware  

  RSS
tim.o14
(@tim-o14)
Eminent Member
How to configure Marlin Firmware

Hello,

Does anyone know how I would configure the Marlin Firmware on my Prusa MK3?

For example, if I needed to send the following commands (below), how would I do so? Thanks!

3. CONFIGURING YOUR MARLIN FIRMWARE
#define TEMP_SENSOR_0 1
PID tuning parameters:
#define DEFAULT_Kp 20
#define DEFAULT_Ki 0.7
#define DEFAULT_Kd 160
#define WATCH_TEMP_PERIOD 60 (in config_adv)

Napsal : 27/02/2019 11:52 am
marchyman
(@marchyman)
Eminent Member
Re: How to configure Marlin Firmware

The source for the firmware is here: https://github.com/prusa3d/Prusa-Firmware

The variables you are looking to change are in the source code. That said, PID values can be tuned/saved from the console. You can also use something like Pronterface or OctoPrint to set them via G-code

M301 Pxx.xx Ix.xx Dxx.xx

I assume (haven't actually had a need to use this on a Prusa machine) you can use the M500 G-code to save the new values.

Napsal : 28/02/2019 6:54 am
tim.o14
(@tim-o14)
Eminent Member
Topic starter answered:
Re: How to configure Marlin Firmware

Marco, thanks for your reply.

Are you suggesting that I download the raw files from github and then manually alter the text of the code.

--Tim

Napsal : 04/03/2019 11:40 am
marchyman
(@marchyman)
Eminent Member
Re: How to configure Marlin Firmware

That is your only choice if you want to change items that are compiled in, such as the temperature sensor used or the watch temperature period. Why do you want to change these items? Especially TEMP_SENSOR_0? That define must match the hardware installed on your machine. A machine with the stock E3D V6 hot end uses a TEMP_SENSOR_0 value of 5. That matches the installed thermister.

Napsal : 05/03/2019 5:03 am
Share: