1 (edited by Sungod3000 2015-02-17 20:41:24)

Topic: Filawinder calm down?

Hi,

Im still having some troubles getting the Filawinder to operate smoothly especially in the beginning. Its reacting a bit to fast when it starts pulling so the filament starts rocking back and forth.
So I looked in the code and searched for pid and speed settings.

Q1: Is the pid tuning actually enabled in the default version of the firmware? I checked the extra pid file but a cant make sense of it.

Q2: I looked at the analog pin definition for the photosensors, are all 4 of them used and how are they connected to different motor speeds? I think if I can get the speed of the lowest sensor down a bit it would help. Also the only two speeds I can see in the code are pulling and spooling speed whats the difference.

Q3: The main problem I have is that when the filament leaves the upper sensor to fast the motor keeps spooling until the filament breaks of, can I tell the motor to stop spooling when there is no optical input?

Cheers

2

Re: Filawinder calm down?

Try this version.

https://www.dropbox.com/s/1mg6rnx1rhndo … 1.zip?dl=0

I thought I had made the change to the current version in the sticky, but it wasn't there.  The spool response is smoothed out so that no single jump in speed greater than 25 is allowed.  As for the sensor, it looks at all 4, but they are numbered 0-3.  When calibrating, if you move the filament slowly past them, maybe down and up one time over the course of 2-3 seconds the response will be more reliable.  Also I find it is a little better if the filament is closer to the laser than the sensors when you calibrate, regardless of where the loop hangs during extrusion.

3

Re: Filawinder calm down?

Ok great, I will try the new version and report back.

4

Re: Filawinder calm down?

http://i1.kym-cdn.com/photos/images/newsfeed/000/591/928/94f.png

so smooth!