<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[SoliForum - 3D Printing Community — Filament Measuring Device]]></title>
	<link rel="self" href="https://www.soliforum.com/feed/atom/topic/3256/" />
	<updated>2015-11-01T16:50:53Z</updated>
	<generator>PunBB</generator>
	<id>https://www.soliforum.com/topic/3256/filament-measuring-device/</id>
		<entry>
			<title type="html"><![CDATA[Re: Filament Measuring Device]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/108630/#p108630" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>IanJohnson wrote:</cite><blockquote><p>If you put together my spring loaded caliper from Thingiverse, it is important to get the bearings as absolutely parallel as possible.&nbsp; Making it from aluminum would be ideal, but for printing use a high fill and don&#039;t accept any warping.&nbsp; Take care to keep everything flat when gluing the parts to the jaws if you don&#039;t screw them in.&nbsp; I tried to use screws, but I accidentally got one of the jaws too hot with the drill and hardened it.</p><p>If the bearings are at a little bit of an angle, either from construction or bending, the measurement will be a little different depending on where the filament is, side-to-side.&nbsp; When you are looking for .01mm accuracy, it doesn&#039;t take much to throw it off.&nbsp; For best results use a little bit of PTFE tube to guide the filament as close as possible to the bearings and another to pick it up on the other side.&nbsp; I also found that the reading was more accurate if I opened the caliper, ran the filament through, and then let it close.&nbsp; If you let the filament push the bearings apart by itself as you feed it through, something will bend a little bit before it slides and the measurement will be maybe .04mm short.</p></blockquote></div><p>Hi Ian,<br />I just bought a Filastruder and want to make a filament measuring device like you did in the following link:<br /><a href="https://www.youtube.com/watch?v=gWbeLA8bW94">https://www.youtube.com/watch?v=gWbeLA8bW94</a><br />Can you please send me more details about it? Maybe something I need to buy or some instructions.<br />Thank you so much!<br />Nan</p>]]></content>
			<author>
				<name><![CDATA[wunan007250]]></name>
				<uri>https://www.soliforum.com/user/12468/</uri>
			</author>
			<updated>2015-11-01T16:50:53Z</updated>
			<id>https://www.soliforum.com/post/108630/#p108630</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filament Measuring Device]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/102009/#p102009" />
			<content type="html"><![CDATA[<p>Hi everyone, i didn&#039;t find a bc548, i use a 548B <br />May be because of the 548B ? i don&#039;t have same result on arduino console.</p><p>is it possible ?</p>]]></content>
			<author>
				<name><![CDATA[Melkior]]></name>
				<uri>https://www.soliforum.com/user/11575/</uri>
			</author>
			<updated>2015-07-25T08:42:27Z</updated>
			<id>https://www.soliforum.com/post/102009/#p102009</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filament Measuring Device]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/57463/#p57463" />
			<content type="html"><![CDATA[<p>Hows the x/y kit coming along? i&#039;d be intrested in the diy kit if everything goes well with it, would it be 2x capable for dual extruder? don&#039;t see why not but im not the expert.</p>]]></content>
			<author>
				<name><![CDATA[cor5151]]></name>
				<uri>https://www.soliforum.com/user/6072/</uri>
			</author>
			<updated>2014-05-30T22:39:01Z</updated>
			<id>https://www.soliforum.com/post/57463/#p57463</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filament Measuring Device]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/57368/#p57368" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Tomek wrote:</cite><blockquote><div class="quotebox"><cite>jesse wrote:</cite><blockquote><div class="quotebox"><cite>RoTorIT wrote:</cite><blockquote><p>Is this implemented in any 3D printer FirmWare? like Sprinter or Marlin so it can be used to adjust the extruder feedrate/extrusion multiplier on the fly when printing?</p></blockquote></div><br /><p>No that I know of.&nbsp; </p><p>It could be implemented by reading from a separate arduino and using a program/macro to control the flow rate in Rep-Host.</p></blockquote></div><br /><p>Flowrate and feedrate can be adjusted by Gcode commands in marlin and probably other setups. I forget the commands, but google &quot;octoprint adjust flowrate&quot; and you might find a thread that highlights the proper gcode command (Octoprint doesn&#039;t have a built in flowrate adjuster, but you can send Gcode commands via octoprint to do it manually)</p></blockquote></div><br /><p>Yes i can see that opportunity but i think it would be a lot more awesome if it was connected to the same Arduino as the printer and implemented in the FW.<br />An extra Arduino, extra USB and extra software seem a bit overkill just for this.<br />FW implementation would also make it possible to be used when printing with standalone printer (like from SD card) if needed.<br />Couldn&#039;t it for example be used to edit the extruder steps/mm setting on the fly or something? without going trough the computer? <br />Is that possible?<br />maybe something like <br />If serial print = 3.00&nbsp; M92 E 138.00+0<br />If serial print = 2.80&nbsp; M92 E 138.00+15(or + whatever needed to make it extrude fast enough)<br />If serial print = 3.20 M92 E 138.00-15&nbsp; (or - whatever needed to make it extrude slow enough)</p><p>Yes.. I`m not a programmer but i guess you understand what i mean.. :-)</p>]]></content>
			<author>
				<name><![CDATA[RoTorIT]]></name>
				<uri>https://www.soliforum.com/user/5802/</uri>
			</author>
			<updated>2014-05-29T22:34:48Z</updated>
			<id>https://www.soliforum.com/post/57368/#p57368</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filament Measuring Device]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/56143/#p56143" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>jesse wrote:</cite><blockquote><div class="quotebox"><cite>RoTorIT wrote:</cite><blockquote><p>Is this implemented in any 3D printer FirmWare? like Sprinter or Marlin so it can be used to adjust the extruder feedrate/extrusion multiplier on the fly when printing?</p></blockquote></div><br /><p>No that I know of.&nbsp; </p><p>It could be implemented by reading from a separate arduino and using a program/macro to control the flow rate in Rep-Host.</p></blockquote></div><br /><p>Flowrate and feedrate can be adjusted by Gcode commands in marlin and probably other setups. I forget the commands, but google &quot;octoprint adjust flowrate&quot; and you might find a thread that highlights the proper gcode command (Octoprint doesn&#039;t have a built in flowrate adjuster, but you can send Gcode commands via octoprint to do it manually)</p>]]></content>
			<author>
				<name><![CDATA[Tomek]]></name>
				<uri>https://www.soliforum.com/user/192/</uri>
			</author>
			<updated>2014-05-11T09:13:09Z</updated>
			<id>https://www.soliforum.com/post/56143/#p56143</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filament Measuring Device]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/55986/#p55986" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>RoTorIT wrote:</cite><blockquote><p>Is this implemented in any 3D printer FirmWare? like Sprinter or Marlin so it can be used to adjust the extruder feedrate/extrusion multiplier on the fly when printing?</p></blockquote></div><br /><p>No that I know of.&nbsp; </p><p>It could be implemented by reading from a separate arduino and using a program/macro to control the flow rate in Rep-Host.</p>]]></content>
			<author>
				<name><![CDATA[jesse]]></name>
				<uri>https://www.soliforum.com/user/1984/</uri>
			</author>
			<updated>2014-05-08T20:48:48Z</updated>
			<id>https://www.soliforum.com/post/55986/#p55986</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filament Measuring Device]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/55812/#p55812" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>jesse wrote:</cite><blockquote><p>Thanks Tim.&nbsp; Actually one thing was wrong.&nbsp; The GND on the digital gauge needed to be connected to GND on the arduino.</p><p>The system is up and running, it does about 1-2 measurements per second.</p><br /><br /><p>Here&#039;s a test program for checking the wiring to the arduino.</p><div class="codebox"><pre><code>int pin;

void setup(){
  pin = 22;
  Serial.begin(9600); 
  pinMode(pin, INPUT);
}

void loop(){
  Serial.print(&quot;PIN &quot;);
  Serial.print(pin);
  Serial.print(&quot; is &quot;);

  if (digitalRead(pin) == LOW)
    Serial.write(&quot;LOW&quot;);
  else
    Serial.write(&quot;HIGH&quot;);
  Serial.write(&quot;\n&quot;);   
  delay(1000);
}</code></pre></div><br /><p>This is the sketch to read the digital thickness gauge (or a digital caliper)<br /></p><div class="codebox"><pre><code>int i;
int sign;
long value;
float result;
int clockpin = 22;  
int datapin = 23;
unsigned long tempmicros;

void setup() {
  Serial.begin(9600);
  pinMode(clockpin, INPUT);
  pinMode(datapin, INPUT);
}

void loop () {
  while (digitalRead(clockpin)==HIGH) {} //if clock is LOW wait until it turns to HIGH
  tempmicros=micros();
  while (digitalRead(clockpin)==LOW) {} //wait for the end of the HIGH pulse
  if ((micros()-tempmicros)&gt;500) { //if the HIGH pulse was longer than 500 micros we are at the start of a new bit sequence
    decode(); //decode the bit sequence
  }
}

void decode() {
  sign=1;
  value=0;

  for (i=0;i&lt;23;i++) {
    while (digitalRead(clockpin)==HIGH) { } //wait until clock returns to HIGH- the first bit is not needed
    while (digitalRead(clockpin)==LOW) {} //wait until clock returns to LOW

    if (digitalRead(datapin)==LOW) {

      if (i&lt;20) {
        value|= 1&lt;&lt;i;
      }

      if (i==20) {
        sign=-1;
      }

    }
    
  }

  result=(value*sign)/100.00;    
  Serial.println(result,2); //print result with 2 decimals
  delay(1000);
}</code></pre></div></blockquote></div><p>Is this implemented in any 3D printer FirmWare? like Sprinter or Marlin so it can be used to adjust the extruder feedrate/extrusion multiplier on the fly when printing?</p>]]></content>
			<author>
				<name><![CDATA[RoTorIT]]></name>
				<uri>https://www.soliforum.com/user/5802/</uri>
			</author>
			<updated>2014-05-07T00:17:10Z</updated>
			<id>https://www.soliforum.com/post/55812/#p55812</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filament Measuring Device]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/37753/#p37753" />
			<content type="html"><![CDATA[<p>Now dubbsd, what is the source of your roller?</p><p>I have a inexpensive digital dial indicator if I had a couple of those rollers, I assume they would be non resistive (ball bearing), I could make up a digital reader rather easily.</p><p>Ralph</p>]]></content>
			<author>
				<name><![CDATA[Ralphxyz]]></name>
				<uri>https://www.soliforum.com/user/1424/</uri>
			</author>
			<updated>2013-09-30T23:45:03Z</updated>
			<id>https://www.soliforum.com/post/37753/#p37753</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filament Measuring Device]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/37750/#p37750" />
			<content type="html"><![CDATA[<p>$250?!</p><p>I&#039;m in the wrong business.</p>]]></content>
			<author>
				<name><![CDATA[elmoret]]></name>
				<uri>https://www.soliforum.com/user/221/</uri>
			</author>
			<updated>2013-09-30T23:07:01Z</updated>
			<id>https://www.soliforum.com/post/37750/#p37750</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filament Measuring Device]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/37747/#p37747" />
			<content type="html"><![CDATA[<p>Ian<br />that roller is from starret and is $40<br />but this is what gave me the idea. to bad it isn&#039;t digital.<br /><span class="postimg"><img src="http://shop.mapra.co.uk/ekmps/shops/mapratechnik/images/kafer-dial-thickness-gauge-j-50-r-with-roller-contact-points-reading-0.01-mm-116-p[ekm]300x289[ekm].jpg" alt="http://shop.mapra.co.uk/ekmps/shops/mapratechnik/images/kafer-dial-thickness-gauge-j-50-r-with-roller-contact-points-reading-0.01-mm-116-p[ekm]300x289[ekm].jpg" /></span></p><p><a href="http://shop.mapra.co.uk/kafer-dial-thickness-gauge-j-50-r-with-roller-contact-points---reading-001-mm-116-p.asp">http://shop.mapra.co.uk/kafer-dial-thic … -116-p.asp</a></p>]]></content>
			<author>
				<name><![CDATA[dubbsd]]></name>
				<uri>https://www.soliforum.com/user/187/</uri>
			</author>
			<updated>2013-09-30T22:59:37Z</updated>
			<id>https://www.soliforum.com/post/37747/#p37747</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filament Measuring Device]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/37746/#p37746" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>dubbsd wrote:</cite><blockquote><p>instead of the filament dragging on the contact I wonder if you could use bearing on one side and this Dial indicator roller on the other to contact the filament.</p><p><span class="postimg"><img src="http://imageserver.grainger.com/is/image/Grainger/4CER8_AS01?$productdetail$" alt="http://imageserver.grainger.com/is/image/Grainger/4CER8_AS01?$productdetail$" /></span></p></blockquote></div><p>Yeah that seems like a much simpler solution.&nbsp; You could probably get away with just a ball or half circle tip if the filament is running through a v-groove, although that makes zeroing more interesting (might want a 1.75mm gage pin).&nbsp; Indicators put out the same output and have a natural pressure from gravity.&nbsp; </p><p>There is already some existing software that takes that output through a com port although your solution might be cheaper in the end.</p>]]></content>
			<author>
				<name><![CDATA[autoxer]]></name>
				<uri>https://www.soliforum.com/user/2296/</uri>
			</author>
			<updated>2013-09-30T22:52:22Z</updated>
			<id>https://www.soliforum.com/post/37746/#p37746</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filament Measuring Device]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/37743/#p37743" />
			<content type="html"><![CDATA[<p>Playing around with the gauge, I&#039;ve noticed the edge of the plunger can scrape the filament.&nbsp; It might be a good idea to file it a little bit.&nbsp; &nbsp;What does the kit consist of?</p>]]></content>
			<author>
				<name><![CDATA[IanJohnson]]></name>
				<uri>https://www.soliforum.com/user/14/</uri>
			</author>
			<updated>2013-09-30T21:40:15Z</updated>
			<id>https://www.soliforum.com/post/37743/#p37743</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filament Measuring Device]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/37742/#p37742" />
			<content type="html"><![CDATA[<p>instead of the filament dragging on the contact I wonder if you could use bearing on one side and this Dial indicator roller on the other to contact the filament.</p><p><span class="postimg"><img src="http://imageserver.grainger.com/is/image/Grainger/4CER8_AS01?$productdetail$" alt="http://imageserver.grainger.com/is/image/Grainger/4CER8_AS01?$productdetail$" /></span></p>]]></content>
			<author>
				<name><![CDATA[dubbsd]]></name>
				<uri>https://www.soliforum.com/user/187/</uri>
			</author>
			<updated>2013-09-30T21:28:44Z</updated>
			<id>https://www.soliforum.com/post/37742/#p37742</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filament Measuring Device]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/37741/#p37741" />
			<content type="html"><![CDATA[<p>I&#039;ll be producing a couple of these devices in an upgraded version that measures x &amp; y at the same time.</p><p>For those anyone interested, the price is $100 for an assembled version and $70 for a DIY kit.</p>]]></content>
			<author>
				<name><![CDATA[jesse]]></name>
				<uri>https://www.soliforum.com/user/1984/</uri>
			</author>
			<updated>2013-09-30T21:01:59Z</updated>
			<id>https://www.soliforum.com/post/37741/#p37741</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Filament Measuring Device]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/37242/#p37242" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>elmoret wrote:</cite><blockquote><p><a href="http://forums.reprap.org/read.php?267,209755">http://forums.reprap.org/read.php?267,209755</a></p><p>What filament has 2.00mm diameter?!</p></blockquote></div><p>A PLA seller gave me some scrap filament for free that&#039;s way off from the spec.</p><p>I guess I could use another arduino to check the filament size and use a macro to pause the job in rep-host.</p>]]></content>
			<author>
				<name><![CDATA[jesse]]></name>
				<uri>https://www.soliforum.com/user/1984/</uri>
			</author>
			<updated>2013-09-25T00:14:16Z</updated>
			<id>https://www.soliforum.com/post/37242/#p37242</id>
		</entry>
</feed>
