Wire up filament sensor to MK2, use thermister circuit?
 
Notifications
Clear all

[Closed] Wire up filament sensor to MK2, use thermister circuit?  

Page 2 / 3
  RSS
david.b14
(@david-b14)
Honorable Member
Topic starter answered:
Re: Wire up filament sensor to MK2, use thermister circuit?

Doing the double switch idea is good way to save on pins and code.

One way to distribute your source and binaries to setup up a free GitHub account.

Keep up the good work.

Posted : 19/04/2017 9:59 pm
3d-gussner
(@3d-gussner)
Reputable Member Prusa-Translations
Re: Wire up filament sensor to MK2, use thermister circuit?

Hi,

i managed to create a github release 3.0.10-11 which is a pre-release (beta version).

Before you upload that firmware version MAKE SURE that you have connected miniRAMbo P3 pin 4 and 6 to your filament runout sensor, otherwise the printer will NOT print and BEEP all the time waiting for filament change. I also changed the FILAMENTCHANGE_ZADD value from 2 to 20 to get more clearance with low Z-heights. Check the possible issues i described before.

Also the baudrate of the serial communication will change from 115200 to 250000 after the upload of that firmware. So if you are using Pronterface, octoprint, etc. please check the COM port baud rate.

The printer may also ask you to run the PINDA temperature calibration.

You should run the PID tuning for the hotend and heated bed, because this firmware contains MY PID settings as default and not the Prusa i3 MK2 PID values. Or you can read the PID settings before uploading the firmware and set them again after the upload.
Use pronterface gcode M503 to print your settings.
- look for PID settings ..M301 Pxx.yy Ix.yy Dxx.yy and M304 Pxx.yy Ix.yy Dxx.yy write them down or copy them.
- upload firmware
- check again via pronterface (baud 250000) the PID vaules
- if needed paste the M301 .... and M304 .... lines and store to EEPROM with M500.
- check again with M503 if the values are right

https://github.com/3d-gussner/Prusa-Firmware/releases

Posted : 30/04/2017 9:13 am
3d-gussner
(@3d-gussner)
Reputable Member Prusa-Translations
Re: Wire up filament sensor to MK2, use thermister circuit?

Hi,

i managed to create a github release 3.0.10-11 which is a pre-release (beta version).

Before you upload that firmware version MAKE SURE that you have connected miniRAMbo P3 pin 4 and 6 to your filament runout sensor, otherwise the printer will NOT print and BEEP all the time waiting for filament change. I also changed the FILAMENTCHANGE_ZADD value from 2 to 20 to get more clearance with low Z-heights. Check the possible issues i described before.

Also the baudrate of the serial communication will change from 115200 to 250000 after the upload of that firmware. So if you are using Pronterface, octoprint, etc. please check the COM port baud rate.

The printer may also ask you to run the PINDA temperature calibration.

You should run the PID tuning for the hotend and heated bed, because this firmware contains MY PID settings as default and not the Prusa i3 MK2 PID values. Or you can read the PID settings before uploading the firmware and set them again after the upload.
Use pronterface gcode M503 to print your settings.
- look for PID settings ..M301 Pxx.yy Ix.yy Dxx.yy and M304 Pxx.yy Ix.yy Dxx.yy write them down or copy them.
- upload firmware
- check again via pronterface (baud 250000) the PID vaules
- if needed paste the M301 .... and M304 .... lines and store to EEPROM with M500.
- check again with M503 if the values are right

https://github.com/3d-gussner/Prusa-Firmware/releases

The firmware 3.0.10-12 is available which got next to PID heater calibration the PID calibration for the heated bed.
Calibration --> PID calibration = PID tuning for the heater/nozzle.
Calibration --> PID bed cal. = PID tuning for the heated bed.

Posted : 01/05/2017 1:58 pm
3d-gussner
(@3d-gussner)
Reputable Member Prusa-Translations
Re: Wire up filament sensor to MK2, use thermister circuit?

3.0.11 firmware for Prusa i3 MK2 with Filament runout sensor availible:

https://github.com/3d-gussner/Prusa-Firmware/releases/tag/v3.0.11-FRSens

Posted : 20/05/2017 10:49 am
LaPointe
(@lapointe)
French moderator and translator Moderator
Re: Wire up filament sensor to MK2, use thermister circuit?

Thanks a lot!
I don't have yet my printer but I think that the filament runout sensor will be one of the first thing I will make :mrgreen:

Posted : 20/05/2017 3:44 pm
3d-gussner
(@3d-gussner)
Reputable Member Prusa-Translations
Re: Wire up filament sensor to MK2, use thermister circuit?

Thanks a lot!
I don't have yet my printer but I think that the filament runout sensor will be one of the first thing I will make :mrgreen:

Hope you get your MK2s soon!
You are welcome, i will try to keep up with the firmware updates.

Posted : 21/05/2017 4:38 pm
LaPointe
(@lapointe)
French moderator and translator Moderator
Re: Wire up filament sensor to MK2, use thermister circuit?

@waldemar.g Which filament runout sensor design did you finally used?

Posted : 08/06/2017 12:04 am
3d-gussner
(@3d-gussner)
Reputable Member Prusa-Translations
Re: Wire up filament sensor to MK2, use thermister circuit?

Updated firmware version 3.0.12 with Filament Runout available https://github.com/3d-gussner/Prusa-Firmware/releases

Posted : 13/07/2017 10:03 pm
martin.t10
(@martin-t10)
New Member
Re: Wire up filament sensor to MK2, use thermister circuit?

Hello,
i have problems with your FW, when i flash the FW nothing happens with the FR sensor.
i have a normal microswitch that is closed when the filament is present and open without filament.
the printer print with and without FR sensor. must the sensor be activated in the menu?
i have the printer for a few days 🙂
i have attached it to y-max s and ground connection.

many thanks!

Posted : 26/07/2017 8:16 am
3d-gussner
(@3d-gussner)
Reputable Member Prusa-Translations
Re: Wire up filament sensor to MK2, use thermister circuit?


Hello,
i have problems with your FW, when i flash the FW nothing happens with the FR sensor.
i have a normal microswitch that is closed when the filament is present and open without filament.
the printer print with and without FR sensor. must the sensor be activated in the menu?
i have the printer for a few days 🙂
i have attached it to y-max s and ground connection.

many thanks!

Hi Martin,

which version did you install? The 3.0.11 with runout has to be connected to P3 the 3.0.12 goes to y-max.

I just re-downloaded and re-uploaded the firmware and as long y-max pins 'S' and '-' are connected the printer prints. When this connection is open/broken the printer goes to left front corner +20mm up, unloads the filament and start beeping...and is waiting for interaction.

I am busy with a new version where you can check the status via the LCD screen.

Posted : 26/07/2017 10:24 am
martin.t10
(@martin-t10)
New Member
Re: Wire up filament sensor to MK2, use thermister circuit?

hello waldemar,

i use the 3.0.12 from you and have the sensor connectet to y-max and when the filament is present the ciruit is closed.
but my printer prints with and without the connection 🙁
i will investigate further .

but thanks for the replay.

martin

Posted : 26/07/2017 10:29 am
3d-gussner
(@3d-gussner)
Reputable Member Prusa-Translations
Re: Wire up filament sensor to MK2, use thermister circuit?


hello waldemar,

i use the 3.0.12 from you and have the sensor connectet to y-max and when the filament is present the ciruit is closed.
but my printer prints with and without the connection 🙁
i will investigate further .

but thanks for the replay.

martin

Hi Martin,

check this pre-release https://github.com/3d-gussner/Prusa-Firmware/releases/tag/v3.0.12-FRSens_v1
maybe it helps you to troubleshoot your filament runout sensor.
Which micro switch do you use? How are the pins connected?

Posted : 26/07/2017 11:00 am
martin.t10
(@martin-t10)
New Member
Re: Wire up filament sensor to MK2, use thermister circuit?

thanks for the pre release.

it´s a normal microswitch with 3 pins, one common and one open and one close when trigger the switch.
that pins that have a shot when the switch is pressed go directly to the y-max (s) and (-)

martin

Posted : 26/07/2017 11:22 am
3d-gussner
(@3d-gussner)
Reputable Member Prusa-Translations
Re: Wire up filament sensor to MK2, use thermister circuit?

Hi Martin,

check under 'Calibration -> Show end stops' the status of FR_S

FR_S1 = filament is detected
FR_S flickering between 0 and 1 = no filament detected when you use just two wires
FR_S0 = wrong connection on two wire connection OR with 3 wires connected and no filament in the switch = runout of filament

Posted : 26/07/2017 11:33 am
matthew.s18
(@matthew-s18)
New Member
Re: Wire up filament sensor to MK2, use thermister circuit?

hi,
i have installed the firmware linked above and installed the following sensor and the action is reversed . i get the filament out warning when there is filament in the sensor and it will print when there is no filament going through the sensor.
http://www.ebay.co.uk/itm/1-75-3-0mm-Filament-Detection-Sensor-Module-Pause-Monitor-for-3D-Printer-DIY-Kit/262925033781?_trksid=p2047675.c100012.m1985&_trkparms=aid%3D555018%26algo%3DPL.SIM%26ao%3D2%26asc%3D20160608105753%26meid%3D4c69a5d1d6804d16959ba41dd4cbee70%26pid%3D100012%26rk%3D2%26rkt%3D12%26sd%3D263087108099

is it possible for someone to compile a firmware that is set opposite to the one above to correct this for this type of sensor.

cheers in advance

matt

Posted : 01/08/2017 12:24 am
3d-gussner
(@3d-gussner)
Reputable Member Prusa-Translations
Re: Wire up filament sensor to MK2, use thermister circuit?


hi,
i have installed the firmware linked above and installed the following sensor and the action is reversed . i get the filament out warning when there is filament in the sensor and it will print when there is no filament going through the sensor.
http://www.ebay.co.uk/itm/1-75-3-0mm-Filament-Detection-Sensor-Module-Pause-Monitor-for-3D-Printer-DIY-Kit/262925033781?_trksid=p2047675.c100012.m1985&_trkparms=aid%3D555018%26algo%3DPL.SIM%26ao%3D2%26asc%3D20160608105753%26meid%3D4c69a5d1d6804d16959ba41dd4cbee70%26pid%3D100012%26rk%3D2%26rkt%3D12%26sd%3D263087108099

is it possible for someone to compile a firmware that is set opposite to the one above to correct this for this type of sensor.

cheers in advance

matt

Hi Matthew,

i don't have that kind of sensor, but if you are willing to try it i can compile it. It works the same way as the 'filament-sentinel' from DyzeDesign with signal to high.
Only issue is that then we have two firmware versions and people may get confused which they have to use. Maybe i can find a way to support both runout sensor types (Signal to Ground and Signal to High) in one firmware and let the user choose which they use.

Posted : 01/08/2017 5:57 am
3d-gussner
(@3d-gussner)
Reputable Member Prusa-Translations
Re: Wire up filament sensor to MK2, use thermister circuit?

New firmware version available with activated Linear Advance Integration!
Check https://github.com/3d-gussner/Prusa-Firmware/releases/tag/v3.0.12-2-FRSens

Posted : 02/08/2017 2:36 pm
3d-gussner
(@3d-gussner)
Reputable Member Prusa-Translations
Re: Wire up filament sensor to MK2, use thermister circuit?

New pre-release firmware available under https://github.com/3d-gussner/Prusa-Firmware/releases

Added an additional LCD menu 'Filament Sensor' under 'Settings' which can de-/active the filament runout sensor AND choose which kind of sensor you are using.

As said this is a pre-release and I hope getting feedback from you to get this option as a pull request into the default Prusa firmware.

Posted : 10/08/2017 1:42 pm
3d-gussner
(@3d-gussner)
Reputable Member Prusa-Translations
Re: Wire up filament sensor to MK2, use thermister circuit?

Hi,

if somebody is interested in the firmware 3.1.0-RC1 including hyperfine bed calibration, filament runout sensor via LCD menu and some other mods/fixes, checkout https://github.com/3d-gussner/Prusa-Firmware/releases

Waldemar aka 3d-gussner

Posted : 16/10/2017 4:35 pm
stevehlau
(@stevehlau)
Trusted Member
Re: Wire up filament sensor to MK2, use thermister circuit?

Hi Waldemar,
I have a question regarding to you filament sensor code. I am currently running 3.0.11, and I am pretty happy about it. However, I am planning to install a filament runout sensor and I decided to compile my own for my liking. I was wondering can you briefly tell me which file did you do the modification. Basically, I just want to add the sensor on, so whenever the filament run out, the print pause and wait for my input from the LCD. I know you add a sensor menu on the latest firmware, and I want to add it to my current firmware as well. Would you mind if you can tell me which file did you touch and modified? Thanks and have a great day.

So If I just want to add the filament sensor to RamBo using the y-max end stop. Do I just change the FR_SENS to 24 under pins.h and Uncomment the #define FILAMENT RUNOUT SUPPORT under Configuration_prusa.h? Is that it? or I have something else to do?

Is it hard to implement the menu like you did on 3.1.0-RC1 firmware? Thanks.

Posted : 16/10/2017 11:47 pm
Page 2 / 3
Share: