[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4693: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4695: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4696: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4697: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Printrbot Talk Forum • View topic - Online Calculator for 3d printing

Online Calculator for 3d printing

Discuss and document interesting online resources like projects, blogs, articles, data sheets, product info, shops, etc. an online repository of Printrbot related of interest info

Online Calculator for 3d printing

Postby New Passion » 2017-Jul-Sun-19-Jul

I came across this calculator tonight, and it looked like it might be a good resource.

https://nathan7.eu/stuff/RepRapCalculat ... lator.html

Mark
  • 0

New Passion
Waiting for printbed temp...
 
Posts: 102
Joined: 2014-Nov-Sun-17-Nov
Reputation: 1

Online Calculator for 3d printing

Sponsor

Sponsor
 

Re: Online Calculator for 3d printing

Postby Mooselake » 2017-Jul-Mon-14-Jul

Looks good!

It doesn't include (or allow) my T8-8 (aka TR8-8) leadscrew which is (iirc) 80 steps/mm, guess Prusa doesn't sell one with that screw, but no big deal.

Kirk
  • 0

Modified KickStarter Classic Plus 7/2012
KS Thingybot Delta Pro 10/31/16
Creality Ender 3 Pro 12/2019
User avatar
Mooselake
My next printer is...
 
Posts: 3625
Joined: 2011-Dec-Tue-23-Dec
Location: Moose Swamp, Upper Michigan, USA
Reputation: 177

Re: Online Calculator for 3d printing

Postby New Passion » 2017-Jul-Tue-09-Jul

Sorry Moose:( ... The Calculator didn't have your lead screws. I was searching for info for setting the current in my stepper motors, When I found the Calculator.
  • 0

Last edited by New Passion on 2017-Jul-Fri-10-Jul, edited 3 times in total.
New Passion
Waiting for printbed temp...
 
Posts: 102
Joined: 2014-Nov-Sun-17-Nov
Reputation: 1

Re: Online Calculator for 3d printing

Postby RetireeJay » 2017-Jul-Tue-11-Jul

I don't think Moose was talking about setting the current in the steppers; he was talking about the steps per millimeter using a screw that's not listed in Prusa's table. That's not hard to calculate anyway. The steppers have a native "pitch" of 200 steps per revolution and we have 16X "microstepping" enabled on the Printrboard, so we have 3200 (micro)steps per revolution. Given that information and the "pitch" of the screw in millimeters per revolution, it's easy enough to calculate the steps per millimeter.

Just FYI, the stepper controller data sheet is available online (and attached here), and it tells how the calculation of motor current works.
  • 0

You do not have the required permissions to view the files attached to this post.
Printrbot Plus operational January 2013
Brass threaded rods (5/16" X 18) & nuts for Z axis
GT2 belts & pulleys
Cable chain to reduce probability of fatigue failure in wires
E3D V5 Hot End, 0.4mm nozzle, also 0.8 and 0.25 in use occasionally
PB fan mount + 40mm fan -- using printed mount adapter, not the E3D supplied fan
Injection molded extruder gears
Optical Z "endstop" (custom designed and built)
Have used many pounds of T-Glase filament. Now also doing some work with Ninjaflex SemiFlex
Print on glass with Scotch Craft Stick or other glue stick
"My next printer is..." Prusa i3 MK3, upgraded to MK3S
User avatar
RetireeJay
My next printer is...
 
Posts: 5014
Joined: 2013-Jan-Wed-13-Jan
Location: Greenville, SC
Reputation: 498

Re: Online Calculator for 3d printing

Postby New Passion » 2017-Jul-Tue-15-Jul

I wasn't referring to Moose lead screws. I was just saying sorry that the calculator doesn't support his lead screws. I came across the calculator, while searching for the stepper motor formula for myself, and thought the calculator might be handy for other users on the forum. What I was asking if anyone might know what the constant number 8 represents in the formula I found for VREF.
VREF = Current(A) x 8 * Sense_Resistor (.1ohm RS) * 0.90 This is the calculation for a 90% workload which is what we are shooting for. My stepper motors are an assortment you must check the model numbers and verify to attempt Stepper Tuning. You must verify the resistor used on your board. Mine is a R100 which is .1ohm your Vref calculation will be different if it's not .1ohm.

Mark
  • 0

Last edited by New Passion on 2017-Jul-Fri-10-Jul, edited 1 time in total.
New Passion
Waiting for printbed temp...
 
Posts: 102
Joined: 2014-Nov-Sun-17-Nov
Reputation: 1

Re: Online Calculator for 3d printing

Postby RetireeJay » 2017-Jul-Tue-16-Jul

If you look at the document that I attached to a previous post, you will see a schematic on page 3 where it shows the current that goes through the motor passing through a sense resistor Rs. Current X Resistance = Voltage, so the motor current flowing through Rs generates a Sense Voltage proportional to the current. (That is, the current at that moment through that winding of the motor; there are two coils and two sense resistors.)

The schematic shows the Sense Voltage being compared to a reference voltage, which is created by a DAC (Digital to Analog Converter) that uses Vref as its analog reference input and a digital word as its digital input. So the DAC in this case is able to create voltages for the comparator in steps equal to 1/8 of the reference voltage. (We get the 16 microsteps by including both forward and reverse directions of the current). I think that's where the factor of 8 shows up on page 7.

But all of that has absolutely nothing to do with steps per millimeter. It has to do with how much current you send to the motor. Note that a stepper motor has just about the same total current flowing through it (the two coils combined) all the time, even when stationary. If the current is too low, the stepper will not have enough power and it will miss steps. If the current is too high, the stepper motor will run too hot. Since Vref is difficult to access on the Printrboard, most users don't try to actually measure it, but instead empirically adjust the motor current to a happy medium where the motor isn't overheating and yet has enough power to execute the moves without missing steps.

EDIT: Just re-read your post. I doubt any practical stepper motor is going to work with a sense resistor of 100 ohms; that's far too high.
  • 0

Printrbot Plus operational January 2013
Brass threaded rods (5/16" X 18) & nuts for Z axis
GT2 belts & pulleys
Cable chain to reduce probability of fatigue failure in wires
E3D V5 Hot End, 0.4mm nozzle, also 0.8 and 0.25 in use occasionally
PB fan mount + 40mm fan -- using printed mount adapter, not the E3D supplied fan
Injection molded extruder gears
Optical Z "endstop" (custom designed and built)
Have used many pounds of T-Glase filament. Now also doing some work with Ninjaflex SemiFlex
Print on glass with Scotch Craft Stick or other glue stick
"My next printer is..." Prusa i3 MK3, upgraded to MK3S
User avatar
RetireeJay
My next printer is...
 
Posts: 5014
Joined: 2013-Jan-Wed-13-Jan
Location: Greenville, SC
Reputation: 498

Re: Online Calculator for 3d printing

Postby New Passion » 2017-Jul-Tue-17-Jul

Now I know where the 8 comes from in the formula Thank You. Sorry for causing any confusion for posting an online calculator.

Mark
  • 0

Last edited by New Passion on 2017-Jul-Fri-10-Jul, edited 1 time in total.
New Passion
Waiting for printbed temp...
 
Posts: 102
Joined: 2014-Nov-Sun-17-Nov
Reputation: 1

Re: Online Calculator for 3d printing

Postby RetireeJay » 2017-Jul-Tue-20-Jul

I think you're reading the codes on the resistors wrong. See If the resistor is marked "100" it actually is a 10 ohm resistor.

The larger the resistor, the SMALLER the current that will flow through the motor. 100 ohm resistors would deliver an impossibly small current, and even 10 ohm resistors will deliver extremely small currents. The resistors on the Printrboard are 0.11 ohms, so if you have 10 ohm resistors you'll be trying to run your motors on about 1% of the current delivered by the Printrboard motor controllers. It does look like your board has potentiometers for setting the motor current (but of course within limits).

HOWEVER I just looked at the for your Melzi board and it seems they do use 0.11 ohm resistors just like the Printrboard. I can't read the writing on your resistors well enough to be sure of their value. The controller chips are not identical, but similar (A4988 vs A4982).
  • 0

Printrbot Plus operational January 2013
Brass threaded rods (5/16" X 18) & nuts for Z axis
GT2 belts & pulleys
Cable chain to reduce probability of fatigue failure in wires
E3D V5 Hot End, 0.4mm nozzle, also 0.8 and 0.25 in use occasionally
PB fan mount + 40mm fan -- using printed mount adapter, not the E3D supplied fan
Injection molded extruder gears
Optical Z "endstop" (custom designed and built)
Have used many pounds of T-Glase filament. Now also doing some work with Ninjaflex SemiFlex
Print on glass with Scotch Craft Stick or other glue stick
"My next printer is..." Prusa i3 MK3, upgraded to MK3S
User avatar
RetireeJay
My next printer is...
 
Posts: 5014
Joined: 2013-Jan-Wed-13-Jan
Location: Greenville, SC
Reputation: 498


Return to Online resources

Who is online

Users browsing this forum: No registered users and 1 guest