I have an Atmega2560 based motherboard similar to RAMPS. Another thing to be noted is the same issue exists with newer RepRap displays but not with older ones (bought before 2021).by srinidhi - Firmware - Marlin
Hi, I'm running Marlin 2.0.9.1 on a RAMPS setup. My MKS display shows "SD Init Failed" when MISO line to TMC5160 is connected. When this connection is removed, SD initializes and motors also work fine. But, "TMC Connection Error" is displayed. Does having both SD and TMC on the same hardware SPI line cause such issues? Any ideas on whether this is unusual? Thanks in advance.by srinidhi - Firmware - Marlin
Hi, I have enabled filament runout on Marlin which usually parks the nozzle at the specified location and then proceeds to perform purging commands. But, when I use the rescue print option after the print is stopped due to power failure, parking doesn't happen on filament runout. The print head remains at the same location and other actions for filament runout proceed as usual. My guess is the Gby srinidhi - General
Hi, thanks for the inputs! I'll try out changing the centre position. You may be right regarding the resolution, but will give it a shot and update.by srinidhi - Firmware - Marlin
Hi, I found the resistance of the heater to be around 11 ohms. Power = 24*24/11 = 53 Watts This value has slightly improved the performance, the errors are not periodic, and have a deviation of around -2 to up to +2 in some cases. Is it lesser than this usually? I am thinking of iterating with different values of power, and finalize the one which gives better performance.by srinidhi - Firmware - Marlin
Will try this and update, thanksby srinidhi - Firmware - Marlin
Yes, I expected it to be better, but it's slightly worse than PID. However, one thing I notice is, in PID, the errors are random. In MPC, the error is periodic. I have a second extruder which behaves exactly the same.by srinidhi - Firmware - Marlin
Hi, I tried the Marlin 2.1.1 version with MPC for the extruders. The tuning was successful, but there is a constant error for all set points, which is also periodic. The waveform is attached. I have tried tuning multiple times with the same results. I am using PT100 with 1k resistor as potential divider and a 60W cartridge heater. Kindly suggest any possible solutions. Thanks in advance!by srinidhi - Firmware - Marlin
Hi, I am going through the fast IO macros defined in Marlin's fastio.h file. I have largely understood the macros but I'm not able to grasp the below code. #define _WRITE_NC(IO,V) do{ \ if (V) SBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \ else CBI(DIO ## IO ## _WPORT, DIO ## IO ## _PIN); \ }while(0) #define _WRITE_C(IO,V) do{ \ uint8_t port_bits = DIO ## IO ## _WPORT;by srinidhi - Firmware - Marlin
Thanks for the info!by srinidhi - Firmware - Marlin
In Marlin, I read that the steps per mm parameter takes up to second decimal point. But, how's this implemented as pulses? My understanding is steps per mm = number of pulses generated for 1 mm. How is it possible to generate decimal number of pulses? Or are the decimals accumulated or rounded? Kindly help me with this! Thanks in advance!by srinidhi - Firmware - Marlin
Do you mean the F value? Example: I'm giving a gcode of G1 Z10 F600 Speed = 600 mm/min Assuming Steps per mm = 100 So total pulses = 100*10 = 1000 And frequency is 1/(10*100) Hz Is this right?by srinidhi - Firmware - Marlin
I was viewing the step signals of Z motor on an oscilloscope and found that the signals were just of a 10 percent duty cycle and were very less in number compared to what the required steps per mm demanded. Anybody can guide me on where to look for the step signal generation source code of Marlin as I'd like to understand the logic behind it? I have gone through the header files in Marlin but I'mby srinidhi - Firmware - Marlin